Trojan.Win32.MALXMR.BN


 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:

2,278,912 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

25 Mar 2020

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 adds the following processes:

  • cmd.exe /c ping 114.114.114.114
  • cmd.exe /c ping pool.supportxmr.com
  • "%User Temp%\Process.exe" stop FaxSeviceS
  • "%User Temp%\Process.exe" remove FaxSeviceS confirm
  • "%User Temp%\Process.exe" install FaxSeviceS "%User Temp%\System"
  • "%User Temp%\Process.exe" set FaxSeviceS AppParameters -o stratum+tcp://pool.supportxmr.com:5555 -u 47BoNDRZPB9VZ6fHZvHJUvFGV7J76d6zxPAP9Z5K879EKMLD4cecEnKJsH2FHBwgZwaFahLPKCaBtPcCEt4wmePo2VwXKgy -p xin --donate-level=1
  • "%User Temp%\Process.exe" start FaxSeviceS
  • cmd.exe /c del "{malware file path and name}"
  • %System%\PING.EXE ping 114.114.114.114
  • %System%\PING.EXE ping pool.supportxmr.com
  • %User Temp%\Process.exe
  • %Windows%\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe
  • %System%\svchost.exe -k LocalServiceAndNoImpersonation
  • %Windows%\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe
  • "%User Temp%\System" -o stratum+tcp://pool.supportxmr.com:5555 -u 47BoNDRZPB9VZ6fHZvHJUvFGV7J76d6zxPAP9Z5K879EKMLD4cecEnKJsH2FHBwgZwaFahLPKCaBtPcCEt4wmePo2VwXKgy -p xin --donate-level=1

Autostart Technique

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
ImagePath = "\??\%User Temp%\WinRing0x64.sys"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\FaxSeviceS
ImagePath = "%User Temp%\Process.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\WinRing0_1_2_0
ImagePath = "%User Temp%\WinRing0x64.sys"

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\svchost.exe
  • {malware file path and name}
  • %User Temp%\nssm.exe

(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).)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\eventlog\Application\
NSSM
EventMessageFile = "%User Temp%\Process.exe"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\eventlog\Application\
NSSM
TypesSupported = "7"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\FaxSeviceS\Parameters
Application = "%User Temp%\System"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\FaxSeviceS\Parameters
AppParameters = ""

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\FaxSeviceS\Parameters
AppDirectory = "%User Temp%"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\FaxSeviceS\Parameters\
AppExit
(Default) = "Restart"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\FaxSeviceS\Parameters
AppParameters = "{random characters}"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\FaxSeviceS
FailureActionsOnNonCrashFailures = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
Type = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
Start = "3"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
ErrorControl = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
DisplayName = "WinRing0_1_2_0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
DeleteFlag = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinRing0_1_2_0
Start = "4"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\FaxSeviceS
DisplayName = "FaxSeviceS"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\FaxSeviceS
Start = "SERVICE_AUTO_START"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\WinRing0_1_2_0
DisplayName = "WinRing0_1_2_0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\WinRing0_1_2_0
Start = "SERVICE_DEMAND_START"

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\System
  • %User Temp%\Process.exe
  • %User Temp%\WinRing0x64.sys

(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).)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://pool.{BLOCKED}txmr.com
  • http://donate.{BLOCKED}l.xmrig.com
  • http://donate.{BLOCKED}2.xmrig.com
  • {BLOCKED}4.{BLOCKED}4

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.850

Step 1

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 2

Identify and terminate files detected as Trojan.Win32.MALXMR.BN

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

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\eventlog\Application\NSSM
    • EventMessageFile = "%User Temp%\Process.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\eventlog\Application\NSSM
    • TypesSupported = "7"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FaxSeviceS\Parameters
    • Application = "%User Temp%\System"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FaxSeviceS\Parameters
    • AppParameters = ""
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FaxSeviceS\Parameters
    • AppDirectory = "%User Temp%"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\FaxSeviceS\Parameters\AppExit
    • (Default) = "Restart"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FaxSeviceS\Parameters
    • AppParameters = "{random characters}"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FaxSeviceS
    • FailureActionsOnNonCrashFailures = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • Type = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • ErrorControl = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • DisplayName = "WinRing0_1_2_0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • DeleteFlag = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRing0_1_2_0
    • Start = "4"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FaxSeviceS
    • DisplayName = "FaxSeviceS"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FaxSeviceS
    • Start = "SERVICE_AUTO_START"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinRing0_1_2_0
    • DisplayName = "WinRing0_1_2_0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinRing0_1_2_0
    • Start = "SERVICE_DEMAND_START"

Step 4

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.
  • %User Temp%\System
  • %User Temp%\Process.exe
  • %User Temp%\WinRing0x64.sys

Step 5

Scan your computer with your Trend Micro product to delete files detected as Trojan.Win32.MALXMR.BN. 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:

Step 6

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.

  • %User Temp%\svchost.exe
  • {malware file path and name}
  • %User Temp%\nssm.exe


Did this description help? Tell us how we did.