TROJ_COINMINE.G

 Modified by: Raymart Christian Yambot

 ALIASES:

Worm:Win32/NeksMiner!pz (MICROSOFT)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware

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.

As of this writing, the said sites are inaccessible.

However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size:

4,672,582 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

08 Feb 2024

Payload:

Drops files, Creates files, Connects to URLs/IPs, Modifies system registry

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 copies of itself into the affected system:

  • D:\images.scr
  • F:\images.scr
  • %System Root%\images.scr

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

It drops the following files:

  • %Application Data%\Images\image.exe
  • %User Temp%\temp.txt
  • %User Temp%\nst726A.tmp\inetc.dll
  • %Application Data%\Images\NsCpuCNMiner32.exe
  • %Application Data%\Images\NsCpuCNMiner64.exe
  • %Application Data%\Images\NsGpuCNMiner.exe
  • %Application Data%\Images\Data.bin
  • %Application Data%\Images\pools.txt
  • %Application Data%\Images\tmp.ini
  • %Application Data%\Images\temp.txt
  • %User Temp%\nst726A.tmp\System.dll

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It adds the following processes:

  • %Application Data%\Images\image.exe SW_HIDE
  • %Application Data%\Images\NsCpuCNMiner{System version}.exe" -dbg -1 -o stratum+tcp://mine.{BLOCKED}pool.com:3333 -u 44puJ9e27jyKc1et48J7SZLQ4pDcos96c6u84vcwHgCCce1TYqXxzpyR3gY793D9mKGEY7WjtC6TKA7eDbtvfrgGHoDNBGx -p x
  • %Application Data%\Images\NsGpuCNMiner.exe" -dbg -1 -o stratum+tcp://mine.{BLOCKED}pool.com:3333 -u 44puJ9e27jyKc1et48J7SZLQ4pDcos96c6u84vcwHgCCce1TYqXxzpyR3gY793D9mKGEY7WjtC6TKA7eDbtvfrgGHoDNBGx -p x

It creates the following folders:

  • %User Temp%

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Autostart Technique

This Trojan drops the following shortcut pointing to its copy in the User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\image.lnk

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows 2003(32-bit), XP and 2000(32-bit), or C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit), 10(64-bit).)

It modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{Malware name} = %Application Data%\Images\image.exe

Download Routine

This Trojan connects to the following URL(s) to download its component file(s):

  • http://{BLOCKED}ork.ru/test{Number}.txt

As of this writing, the said sites are inaccessible.

Information Theft

This Trojan accepts the following parameters:

  • /S
  • /NCRC
  • /D={Directory}

Other Details

This Trojan does the following:

  • It connects to the following mining pool:
    • stratum+tcp://mine.{BLOCKED}poo.com:3333

However, as of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

19.146.02

FIRST VSAPI PATTERN DATE:

08 Feb 2024

VSAPI OPR PATTERN File:

19.147.00

VSAPI OPR PATTERN Date:

09 Feb 2024

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

Step 2

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

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

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 5

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {Malware name} = %Application Data%\Images\image.exe

Step 6

Search and delete these files

[ 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.
  • D:\images.scr
  • F:\images.scr
  • %System Root%\images.scr
  • %Application Data%\Images\image.exe
  • %User Temp%\temp.txt
  • %User Temp%\nst726A.tmp\inetc.dll
  • %Application Data%\Images\NsCpuCNMiner32.exe
  • %Application Data%\Images\NsCpuCNMiner64.exe
  • %Application Data%\Images\NsGpuCNMiner.exe
  • %Application Data%\Images\Data.bin
  • %Application Data%\Images\pools.txt
  • %Application Data%\Images\tmp.ini
  • %Application Data%\Images\temp.txt
  • %User Temp%\nst726A.tmp\System.dll
  • %User Startup%\image.lnk

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_COINMINE.G. 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

Scan your computer with your Trend Micro product to delete files detected as TROJ_COINMINE.G. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.