TROJ64_WMINE.B
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
Dropped by other malware
This Trojan may arrive bundled with malware packages as a malware component. It 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
164,864 bytes
DLL
Yes
09 May 2018
Connects to URLs/IPs, Drops files
Arrival Details
This Trojan may arrive bundled with malware packages as a malware component.
It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
This malware arrives via the following means:
- Microsoft Windows SMB Server (MS17-010) Vulnerability
Other System Modifications
This Trojan adds the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv\Parameters
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
Type = 16
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
Start = 2
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
ErrorControl = 1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
ImagePath = %SystemRoot%\System32\svchost.exe -k netsvcs
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
DisplayName = Windows Modules Activations Services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
ObjectName = LocalSystem
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv
Description = The Windows Modules Activations Services (WMAS) provides modules activation, resource management and health management services for message-activated applications.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmassrv\Parameters
ServiceDll = %System%\wmassrv.dll
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Svchost
netsvcs = {adds "wmassrv" to its existing data}
Download Routine
This Trojan connects to the following URL(s) to download its component file(s):
- {local network IP address}
It saves the files it downloads using the following names:
- %System%\EnrollCertXaml.dll - encrypted component
(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)
Other Details
This Trojan drops the following file(s)/component(s):
- %System%\wmassrv.dll
(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)
It does the following:
- It may execute the following commands:
- schtasks.exe /create /TN "\Microsoft\Windows\UPnP\{string}" /RU SYSTEM /TR "regsvr32 /s /u {string}" /SC ONSTART
- schtasks.exe /create /TN "\Microsoft\Windows\UPnP\{string}" /RU SYSTEM /TR "rundll32 {string},ServiceCrtMain" /SC ONSTART
- schtasks.exe /run /TN "\Microsoft\Windows\UPnP\%{string}"
- This malware listens on TCP port 52137 to retrieve the components from host.
SOLUTION
9.850
14.270.04
24 May 2018
14.271.00
25 May 2018
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
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Restart in Safe Mode
Step 4
Delete this registry value
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\wmassrv
- Type = 16
- Type = 16
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- Start = 2
- Start = 2
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- ErrorControl = 1
- ErrorControl = 1
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- ImagePath = %SystemRoot%\System32\svchost.exe -k netsvcs
- ImagePath = %SystemRoot%\System32\svchost.exe -k netsvcs
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- DisplayName = Windows Modules Activations Services
- DisplayName = Windows Modules Activations Services
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- ObjectName = LocalSystem
- ObjectName = LocalSystem
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- Description = The Windows Modules Activations Services (WMAS) provides modules activation, resource management and health management services for message-activated applications.
- Description = The Windows Modules Activations Services (WMAS) provides modules activation, resource management and health management services for message-activated applications.
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv\Parameters
- ServiceDll = %System%\wmassrv.dll
- ServiceDll = %System%\wmassrv.dll
Step 5
Delete this registry key
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
- wmassrv
- wmassrv
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmassrv
- Parameters
- Parameters
Step 6
Restore this modified registry value
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\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost
- netsvcs = {added "wmassrv" entres to its data}
- netsvcs = {added "wmassrv" entres to its data}
Step 7
Search and delete these files
- %System%\EnrollCertXaml.dll
- %System%\wmassrv.dll
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ64_WMINE.B. 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.
Did this description help? Tell us how we did.