Analysis by: Arianne Grace Dela Cruz

ALIASES:

Win64:MalwareX-gen [Trj] (AVAST)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet, Dropped by other malware

This Trojan Spy 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 commands from a remote malicious user, effectively compromising the affected system.

As of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size: 59,904 bytes
File Type: DLL
Memory Resident: Yes
Initial Samples Received Date: 23 Sep 2021
Payload: Drops files, Connects to URLs/IPs, Steals information

Arrival Details

This Trojan Spy 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 Spy drops the following files:

  • %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{Random letters}.dll - Slightly modified version of the sample

(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 creates the following folders:

  • %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}
  • %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}

(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 mutexes to ensure that only one of its copies runs at any one time:

  • {Generated String}

It injects codes into the following process(es):

  • chrome.exe
  • firefox.exe
  • iexplore.exe
  • microsoftedgecp.exe

Backdoor Routine

This Trojan Spy executes the following commands from a remote malicious user:

  • Update config
  • Reboot system
  • Execute arbitrary commands
  • Inject shellcode in spawned cmd.exe process
  • Execute powershell script
  • Execute .exe files from pipe response
  • Enumerates the bot’s code page
  • Steal cookies
  • Steal login information
  • Obtain browser passwords
  • Obtain autofill data (passwords, user number, card information)
  • Obtain Outlook profiles

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • https://{BLOCKED}best.top
  • https://{BLOCKED}lo.website
  • https://{BLOCKED}dlim.top
  • https://{BLOCKED}ipfo.top
  • https://{BLOCKED}ilin.top
  • https://{BLOCKED}ntlim.top

Download Routine

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

  • https://{BLOCKED}best.top/news/
  • https://derrillo.{BLOCKED}e/news/
  • https://{BLOCKED}dlim.top/news/
  • https://{BLOCKED}ipfo.top/news/
  • https://{BLOCKED}tilin.top/news/
  • https://{BLOCKED}ntlim.top/news/

As of this writing, the said sites are inaccessible.

Information Theft

This Trojan Spy gathers the following data:

  • Computer name
  • Account name
  • User Name
  • SID
  • Product information
  • Native system information
  • Network Join information
  • Adapters information
  • Workstation information

Other Details

This Trojan Spy requires the following additional components to properly run:

  • %Application Data%\license.dat - encrypted module, detected as TrojanSpy.Win64.ICEDID.THCBBCDO.enc

(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 does the following:

  • It generates its own SSL Certificates and saves it as:
    • %User Temp%\{random characters}.tmp

(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 scheduled tasks:

  • Task Name:{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}
    Task to be run:rundll32.exe %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{Random letters}.dll, update /i:"license.dat"

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

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 16.984.05
FIRST VSAPI PATTERN DATE: 23 Sep 2021
VSAPI OPR PATTERN File: 16.985.00
VSAPI OPR PATTERN Date: 24 Sep 2021

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

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

[ Learn More ]

Step 4

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:  

  • Task Name:{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}
  • Task to be run:rundll32.exe %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{Random letters}.dll, update /i:"license.dat"

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

Step 5

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.
  • %Application Data%\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{{Random 8 characters}-{Random 4 characters}-{Random 4 characters}-{Random 4 characters}-{Random 8 characters}}\{Random letters}.dll

Step 6

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