Analysis by: Cris Nowell Pantanilla

ALIASES:

Trojan:Win32/CoinMiner.AZ!bit (Microsoft)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 REPORTED INFECTION:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • 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.

It executes the dropped file(s). As a result, malicious routines of the dropped files are exhibited on the affected system.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 1,452,036 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 18 May 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.

Installation

This Trojan drops the following files:

  • %Windows%\Fonts\history.txt
  • %Windows%\Fonts\id.txt

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

It drops the following copies of itself into the affected system:

  • %Windows%\Fonts\wuauser.exe

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

Dropping Routine

This Trojan drops the following files:

  • %Windows%\Fonts\msiexev.exe ← Minerd Coin Miner

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

It executes the dropped file. As a result, malicious routines of the dropped file are exhibited on the affected system.

Other Details

This Trojan does the following:

  • It executes the following command lines:
    • cmd.exe /c netsh advfirewall firewall add rule name="Chrome" dir=in program="%PROGRAMFILES%\Google\Chrome\Application\chrome.txt" action=allow
    • cmd.exe /c netsh advfirewall firewall add rule name="Windriver" dir=in program="%PROGRAMFILES%\Hardware Driver Management\windriver.exe" action=allow
    • cmd.exe /c netsh advfirewall firewall delete rule name="Chrome"
    • cmd.exe /c netsh advfirewall firewall delete rule name="Windriver"
    • cmd.exe /c netsh ipsec static add filter filterlist=block any srcmask=32 srcport=0 dstaddr=me dstport=445 protocol=tcp description=445
    • cmd.exe /c netsh ipsec static add filteraction name=block action=block
    • cmd.exe /c netsh ipsec static add filterlist name=block
    • cmd.exe /c netsh ipsec static add policy name=netbc
    • cmd.exe /c netsh ipsec static add rule name=block policy=netbc filterlist=block filteraction=block
    • cmd.exe /c netsh ipsec static set policy name=netbc assign=y
    • cmd.exe /c sc delete WELM
    • cmd.exe /c sc stop WELM
    • cmd.exe /c taskkill /f /im hdmanager.exe
    • cmd.exe /c taskkill /f /im mmc.exe
    • cmd.exe /c taskkill /f /im msiexev.exe

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine: 9.850

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

Search and delete this file

[ Learn More ]
There may be some files 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.  %Windows%\Fonts\history.txt
%Windows%\Fonts\id.txt
%Windows%\Fonts\msiexev.exe

Step 3

Scan your computer with your Trend Micro product to delete files detected as TROJ_HPCOINMINE.SM. 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.