Analysis by: Miguel Carlo Ang

ALIASES:

Win32/Dridex.C (ESET);Worm.Win32.Cridex.pwt(Kaspersky);Trojan.Dridex(Malwarebytes)

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

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

This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It may be downloaded from remote sites by other malware.

It connects to certain websites to send and receive information. It is used to load and execute a file. It deletes itself after execution.

  TECHNICAL DETAILS

File Size: 86,528 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 24 Mar 2015
Payload: Connects to URLs/IPs, Downloads files, Steals information

Arrival Details

This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It may be downloaded from remote site(s) by the following malware:

  • W2KM_DLOADR.WYG

Installation

This spyware drops the following copies of itself into the affected system and executes them:

  • %AppDataLocal%\edg{number}.exe
  • %AppDataLocal%\edg{number}.tmp - deleted afterwards

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

It injects codes into the following process(es):

  • explorer.exe

Autostart Technique

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

HKEY_CURRENT_USER\ Software\Microsoft\
Windows\CurrentVersion\Run
wmnotify = "rundll32.exe %Application Data%\{number}.tmp NotifierInit"
This autorun registry is added before the system shuts down

Other System Modifications

This spyware adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CLSID\{GUID}\ShellFolder
{random} = "{encrypted}"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\SharedAccess\Parameters\
FirewallPolicy\FirewallRules
{hex value} = "v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|App=C:\Windows\Explorer.EXE|Name=Core Networking - Multicast Listener Done (ICMPv4-In)|"

Download Routine

This spyware saves the files it downloads using the following names:

  • %AppDataLocal%\{number}.tmp - TSPY_DRIDEX.WW
    This file is moved to %Application Data%\{number}.tmp before the system shuts down

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

Information Theft

This spyware gathers the following data:

  • username
  • computer name
  • installation date

Other Details

This spyware connects to the following website to send and receive information:

  • {BLOCKED}.{BLOCKED}.4.215:443
  • {BLOCKED}.{BLOCKED}.203.165:80
  • {BLOCKED}.{BLOCKED}.38.178:80
  • {BLOCKED}.{BLOCKED}.64.172:443
  • {BLOCKED}.{BLOCKED}.2.23:443
  • {BLOCKED}.{BLOCKED}.18.85:80
  • {BLOCKED}.{BLOCKED}.179.66:8080
  • {BLOCKED}.{BLOCKED}.54.5:8080
  • {BLOCKED}.{BLOCKED}.28.253:80

It is used to load and execute the following file:

  • %AppDataLocal%\{number}.tmp
    executed using the following command:
    rundll32.exe %AppDataLocal%\{number}.tmp,NotifierInit

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

It does the following:

  • httpshots
  • form grabbing
  • clickshots
  • site injections

It deletes itself after execution.

NOTES:

This malware will retrieve configuration file that contains the list of targeted banks. However, as of this writing, servers are inaccessible.

  SOLUTION

Minimum Scan Engine: 9.750
FIRST VSAPI PATTERN FILE: 11.558.06
FIRST VSAPI PATTERN DATE: 24 Mar 2015
VSAPI OPR PATTERN File: 11.559.00
VSAPI OPR PATTERN Date: 25 Mar 2015

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

Scan your computer with your Trend Micro product and note files detected as TSPY_DRIDEX.WW

Step 4

Restart in Safe Mode

[ Learn More ]

Step 5

Remove the malware/grayware file that dropped/downloaded TSPY_DRIDEX.WW. (Note: Please skip this step if the threat(s) listed below have already been removed.)

    • W2KM_DLOADR.WYG

Step 6

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
    • wmnotify = "rundll32.exe %Application Data%\{number}.tmp NotifierInit"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{GUID}\ShellFolder
    • {random} = "{encrypted}"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
    • {hex value} = "v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|App=C:\Windows\Explorer.EXE|Name=Core Networking - Multicast Listener Done (ICMPv4-In)|"

Step 7

Search and delete the file detected as TSPY_DRIDEX.WW

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden files in the search result.

Step 8

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