Analysis by: Denisse Camille Layco

ALIASES:

HEUR:Trojan-Banker.Win32.IcedID.gen(KASPERSKY); a variant of Win32/Kryptik.HGXD trojan(NOD32)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted:

  • 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 then deletes itself afterward.

  TECHNICAL DETAILS

File Size: 402,432 bytes
Memory Resident: Yes
Initial Samples Received Date: 21 Oct 2020
Payload: Drops files, Deletes files, Connects to URLs/IPs

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:

  • %User Temp%\Cab{random}.tmp
  • %User Temp%\Tar{random}.tmp
  • %AppDataLocal%\{GUID}\izsiac.png
  • %Application Data%\{5-7 Random Characters}\{Random}.dll → modified copy

(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).. %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local 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).)

It adds the following processes:

  • %System%\msiexec.exe /i {Random 6 characters}.msi → injects malicious code

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

It creates the following folders:

  • %AppDataLocal%\{GUID}
  • %Application Data%\{5-7 Random Characters}

(Note: %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local 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).)

It executes then deletes itself afterward.

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • Global\{GUID}

Other System Modifications

This Trojan Spy deletes the following files:

  • %User Temp%\Cab{random}.tmp
  • %User Temp%\Tar{random}.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).)

Backdoor Routine

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

  • https://{BLOCKED}osuede.club/audio/?z={Base64 Encoded Information}
    • When decoded, the sent information is in the following format:
      {String 1}{String 2}{String 3}
    • Where:
      • String 1 - Data that is present in all requests:
        • a={Downloader ID}&b={Bot ID}&c={ICEDID main module version}&d={The integer value that the main module obtains from the downloader}&e={Request type, 1: registration, 0: a regular request}&u={Time Stamp}
      • String 2 - Data that only has to be present on the first connection:
        • &j={Mac Address}&m={Computer Name}&p={Domain}&k={integer value}&n={An integer value that contains information about the launch on a virtual machine}&o={OS Information}&l={Username}&w={integer value obtained from SID}
      • String 3 - Optional data and only included when a value is found:
        • &q={Downloader Version}&r={Sys config checksum}&s={Main config checksum}&t={C&C list checksum}&h={The string value obtained from the downloader and marks as pgid}&i={The string value obtained from the downloader and marks as gid}&v={GetLastError vallue when opening the downloader file}

Download Routine

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

  • {BLOCKED}osuede.club/image/?id={015AF478E393B679CC010000FC000340000010}
  • {BLOCKED}ueded.top/image/?id={015AF478E393B679CC010000FC000340000010}

It saves the files it downloads using the following names:

  • %AppDataLocal%\{Random}\izsiac.png

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

Information Theft

This Trojan Spy gathers the following data:

  • Username
  • Computer Name
  • Domain
  • OS Information
  • MAC Address

Other Details

This Trojan Spy adds the following scheduled tasks:

  • Task Name: {GUID}
    • Task Trigger: At every logon
    • Task Action: Start a program
    • Details:regsvr32.exe /s "%Application Data%\{5-7 Random Characters}\{Random}.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).)

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 16.302.04
FIRST VSAPI PATTERN DATE: 22 Oct 2020
VSAPI OPR PATTERN File: 16.303.00
VSAPI OPR PATTERN Date: 23 Oct 2020

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:

    TSPY.Win32.TRX.XXPE50FFF037E0002

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

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 4

Identify and terminate files detected as TrojanSpy.Win32.ICEDID.BP

[ 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 5

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.
  • %User Temp%\Cab{random}.tmp
  • %User Temp%\Tar{random}.tmp
  • %AppDataLocal%\{GUID}\izsiac.png
  • %Application Data%\{5-7 Random Characters}\{Random}.dll

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.
  • %AppDataLocal%\{GUID}
  • %Application Data%\{5-7 Random Characters}

Step 7

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.ICEDID.BP. 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.