TROJ_COINMINE.WIOO


 ALIASES:

Trojan:Win32/Adylkuzz.B [non_writable_container] (Microsoft); [007069dc.EXE]:RDN/Generic.grp (McAfee); Trojan.Sakurel (Symantec); Trojan.Win32.Snojan.rhw (Kaspersky); Troj/Miner-BU (Sophos); Trojan.Win32.Generic!BT (Sunbelt); Trojan horse Generic38.BKID (AVG)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size:

1,000,960 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

12 Jun 2017

Arrival Details

This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Autostart Technique

This Trojan registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\WMSA\Parameters

Other System Modifications

This Trojan deletes the following files:

  • %Windows%\security\msiexev.exe

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA
Description = "{random characters}"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA\Parameters
ServiceDll = "%Windows%\Wmsa.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA\Parameters
ServiceMain = "BitServ"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA
InstallModule = "%Windows%\wmsa.exe"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA
ConnectGroup = "×Ô¶¯É¨Ãè"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\WMSA
Type = "12"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SvcHost
netsvcs = "{random characters}"

(Note: The default value data of the said registry entry is {random values}.)

Dropping Routine

This Trojan drops the following files:

  • %System Root%\os.ipsec
  • %Windows%\wmsa.exe
  • %Windows%\winfix.exe
  • %Windows%\Wmsa.dll

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}3.132.162
  • {BLOCKED}210.191

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.8

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

Delete this registry key

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WMSA
    • Parameters

Step 4

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA
    • Description = "{random characters}"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA\Parameters
    • ServiceDll = "%Windows%\Wmsa.dll"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA\Parameters
    • ServiceMain = "BitServ"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA
    • InstallModule = "%Windows%\wmsa.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA
    • ConnectGroup = "×Ô¶¯É¨Ãè"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\WMSA
    • Type = "12"

Step 5

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost
    • From: netsvcs = "{random characters}"
      To: netsvcs = ""{random values}""

Step 6

Search and delete these components

[ Learn More ]
There may be some components that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %System Root%\os.ipsec
  • %Windows%\wmsa.exe
  • %Windows%\winfix.exe
  • %Windows%\Wmsa.dll

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_COINMINE.WIOO. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.

Step 8

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %Windows%\security\msiexev.exe


Did this description help? Tell us how we did.