Analysis by: Henry Alarcon Jr.

ALIASES:

Trojan-Banker.Win32.IcedID.hcp (Kaspersky), Trojan:Win32/Casdet!rfn (Microsoft)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

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

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 injects its dropped file/component to specific processes.

  TECHNICAL DETAILS

File Size: 513024 bytes
File Type: EXE
Memory Resident: Yes
Payload: 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 component file(s):

  • %All Users Profile%\{5-7 random character}\{8 random character}.dat ← it names all the component files as

(Note: %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000, XP, and Server 2003, or C:\ProgramData on Windows Vista, 7, and 8. )

It drops the following copies of itself into the affected system:

  • %All Users Profile%\{GUID}\{6-14 random characters}.exe

(Note: %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000, XP, and Server 2003, or C:\ProgramData on Windows Vista, 7, and 8. )

It adds the following processes:

  • %System%\svchost.exe

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

It stays memory-resident by creating remote threads:

  • explorer.exe - {requires reboot}
  • svchost.exe - {requires reboot}
  • winlogon.exe - {requires reboot}

It injects its dropped file/component to the following processes:

  • %System%\svchost.exe

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

Autostart Technique

The scheduled task executes the malware every:

  • Task Name: {GUID}
    • Task Trigger: At every logon
    • Task Action: Start a program
      • Details: %All Users Profile%\{GUID}\{6-14 random characters}.exe

(Note: %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000, XP, and Server 2003, or C:\ProgramData on Windows Vista, 7, and 8. )

Information Theft

This Trojan Spy gathers the following data:

  • Directories
  • Installed Application
  • Connected Devices
  • Machine Name
  • Username
  • Workgroup
  • Network Information
  • OS Version
  • Internet Credentials (Internet Explorer, Microsoft Edge, Google Chrome, Mozilla Firefox) through web injection and traffic tunneling:
    • Usernames and Passwords
    • Internet Cookies
    • Browsing History
    • Autofills
    • HTTP Posts responses
  • CPU Information

Other Details

This Trojan Spy does the following:

  • It propagates across the network via LDAP Queries.
  • It requires reboot to complete its deployment.

Mobile Malware Routine

This Trojan Spy accesses the following website(s) to send and receive information:

  • {BLOCKED}e.net/in.php?f=%50%00%45%0{BLOCKED}=4&j=1
    • Here are the details of the message sent to C&C
      • g - command ID
      • c - Customer ID (Bot ID + Unique ID)
      • a - Member ID
      • f - username
      • h - computer name
      • m - is the administrator or domain controller
      • j - CpuID
        • Possible values:
          • < 0x04 – not VM
          • 0x04 to 0x07 – VMWare
          • 0x08 to 0x0B – XenVM
          • 0x10 to 0x13 – MicroVM
          • 0x20 to 0x23 – KVMK
          • 0x80 to 0x83 – Vbox
      • s - operating system version
  • {BLOCKED}e.net/in.php?g=2&c=42454B2{BLOCKED}l=
  • {BLOCKED}tsearch.com/in.php?g=2&c=4{BLOCKED}3&a=2&l=
  • {BLOCKED}gmc.com/in.php?g=2&c=42454{BLOCKED}2&l=
  • {BLOCKED}nt.com/in.php?g=2&c=42454B{BLOCKED}&l=
  • {BLOCKED}c.biz/in.php?g=2&c=42454B2{BLOCKED}l=
  • {BLOCKED}tsearch.com/in.php?f=%50%0{BLOCKED}.1.32.1
  • {BLOCKED}gmc.com/in.php?f=%50%00%45{BLOCKED}2.1
  • {BLOCKED}nt.com/in.php?f=%50%00%45%{BLOCKED}m=4&j=1
  • {BLOCKED}c.biz/in.php?f=%50%00%45%0{BLOCKED}=4&j=1
  • {BLOCKED}c.biz/in.php?f=%50%00%45%0{BLOCKED}=4&j=1
  • {BLOCKED}e.net/in.php?f=%50%00%45%0{BLOCKED}=4&j=1

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 14.650.02
FIRST VSAPI PATTERN DATE: 26 Nov 2018
VSAPI OPR PATTERN File: 14.651.00
VSAPI OPR PATTERN Date: 27 Nov 2018

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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:

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 this folder

[ 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.
  • %All Users Profile%\{5-7 random character}

Step 6

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.
  • %All Users Profile%\{GUID}\{6-14 random characters}.exe

Step 7

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