BKDR_DREAMY.R

 Analysis by: jasperm

 ALIASES:

Symantec: Downloader; Microsoft: Backdoor:Win32/Knockex.H; Kaspersky: Backdoor.Win32.Dreamy.r

 PLATFORM:

Windows 2000, XP, Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW


It connects to URLs to send system information and to possibly download other files.

This backdoor may be dropped by other malware. It may be unknowingly downloaded by a user while visiting malicious websites.

It opens a random port to allow a remote user to connect to the affected system. Once a successful connection is established, the remote user executes commands on the affected system.

It also has rootkit capabilities, which enables it to hide its processes and files from the user.

  TECHNICAL DETAILS

Ports:

Random TCP ports

File Size:

20,928 bytes

File Type:

PE

Memory Resident:

Yes

Initial Samples Received Date:

22 Nov 2010

Payload:

Connects to URLs/Ips

Arrival Details

This backdoor may be dropped by other malware.

It may be unknowingly downloaded by a user while visiting malicious websites.

Installation

This backdoor drops and executes the following files:

  • %System%\[random-name].syz - rootkit component detected as TROJ_ROOTKIT.FP

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

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

  • %System%\cssrss.exe

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
WMDM PMSP Service = %System%\cssrss.exe

Other System Modifications

This backdoor creates the following registry entry(ies) to bypass Windows Firewall:

HKEY_LOCAL_MACHINE\SYSTEM\ControlControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
{malware path and name}.exe = {malware path and name}.exe:*:Enabled:{malware name}

HKEY_LOCAL_MACHINE\SYSTEM\ControlControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\DomainProfile\AuthorizedApplications\
List
{malware path and name}.exe = {malware path and name}.exe:*:Enabled:{malware name}

Backdoor Routine

This backdoor opens a random port to allow a remote user to connect to the affected system. Once a successful connection is established, the remote user executes commands on the affected system.

Rootkit Capabilities

This backdoor also has rootkit capabilities, which enables it to hide its processes and files from the user.

Other Details

This backdoor does the following:

  • It connects to the following URLs to send system information and to possibly download other files:
    • http://{BLOCKED}w.info/stat/stata.php?{system information}
    • http://{BLOCKED}r.info/stat/stata.php?{system information}

  SOLUTION

Minimum Scan Engine:

8.900

VSAPI PATTERN File:

under testing

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Remove malware files dropped/downloaded by BKDR_DREAMY.R

    • TROJ_ROOTKIT.FP

Step 3

Identify and delete files detected as BKDR_DREAMY.R using either the Startup Disk or Recovery Console

[ Learn More ]

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_LOCAL_MACHINE\SYSTEM\ControlControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
    • {malware path and name}.exe = {malware path and name}.exe:*:Enabled:{malware name}
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications\List
    • {malware path and name}.exe = {malware path and name}.exe:*:Enabled:{malware name}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • WMDM PMSP Service = %System%\cssrss.exe

Step 5

Scan your computer with your Trend Micro product to delete files detected as


*Note: 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.