WORM_SDBOT.BIH

Malware type: Worm

Aliases: W32/Sdbot.worm.gen.w (McAfee), W32.Randex (Symantec), Worm/SdBot.97280.57 (Avira), W32/Sdbot-Fam (Sophos),

In the wild: Yes

Destructive: No

Language: English

Platform: Windows NT, 2000, XP

Encrypted: No

Overall risk rating:

Reported infections:

Damage potential:

High

Distribution potential:

High

Description: 

Upon execution, This memory-resident worm drops a copy of itself in the Windows system folder as the file DLLPT.EXE.

It also drops and executes the file SYSTEM.EXE in the system root folder. This file is detected by Trend Micro as BKDR_HACDEF.AF. It then creates registry entries to ensure its automatic execution at every system startup.

This worm propagates across networks by dropping a copy of itself into accessible network shares. It logs on to a system using a very long list of user names and weak passwords.

It has backdoor capabilities. It connects to an Internet Relay Chat (IRC) server and joins a specific channel where it listens for commands from a remote malicious user.

This worm drops the file B.BAT in the system root folder, which is capable of modifying the Windows HOSTS file. This file is detected by Trend Micro as BAT_SDBOT.G. The said dropped file modifies the HOSTS file of the affected system so that a user is redirected to a specific site when he or she accesses any of the certain Web sites.

It steals CD keys and product codes of certain game applications.

This worm also has keylogging capabilities. It logs the user's keystrokes and running processes. It creates the file LPTDLL.DLL, where it saves all logged information, in the Windows system folder.

For additional information about this threat, see:

Description created: Jun. 16, 2005 4:39:32 AM GMT -0800
Description updated: Jun. 16, 2005 4:39:51 AM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  Yes

Size of malware: 97,280 Bytes (compressed)

Ports used: Random

Initial samples received on: Jun 16, 2005

Compression type: Upolyx

Related toBKDR_HACDEF.AF, BAT_SDBOT.G

Payload 1: Compromises system security

Trigger condition 1: upon execution

Payload 2: Steals Critical Information Steals CD Keys and keystrokes

Trigger condition 1: upon execution

Payload 3: Modifies HOSTS file

Trigger condition 1: upon execution

Details:

Installation and Autostart Techniques

Upon execution, This memory-resident worm drops a copy of itself in the Windows system folder as the file DLLPT.EXE.

It also drops and executes the file SYSTEM.EXE in the system root folder. This file is detected by Trend Micro as BKDR_HACDEF.AF.

It then creates the following registry entries to ensure its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\RunServices
Microsoft Dll Printer Manager = "dllpt.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\Run
Microsoft Dll Printer Manager = "dllpt.exe"

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Run
Microsoft Dll Printer Manager = "dllpt.exe"

Network Propagation

This worm spreads via network shares. It locates and lists down available network shares, where it drops a copy of itself. It also generates IP addresses and attempts to drop a copy of itself in the default shares of the target address, such as the following:

  • ADMIN$\system32
  • C$
  • C$\Documents and Settings\All Users\Documents
  • C$\Shared
  • C$\Windows\system32
  • C$\WINNT\system32
  • IPC$
  • PRINT$

If these shares are password-protected, it uses a very long list of login names and weak passwords.

Backdoor Capabilities

This worm acts as a server program controlled by an Internet Relay Chat (IRC) bot. It opens random ports and connects to an IRC server. It then joins an IRC channel.

Once connected, this server program receives commands from the IRC bot. These commands are used to control the target system and the behavior of the server program. These commands are as follows:

  • Display system information such as CPU, memory size, free memory, Windows OS and platform ID, user name and uptime
  • Search for files
  • List running processes
  • Generate random nickname
  • Uninstall itself
  • Change nick name
  • Join an IRC channel
  • Leave an IRC channel
  • Open a file
  • Change the IRC server
  • Disconnect from IRC server
  • Resolve IP/hostname by DNS
  • Delete files
  • Perform a mode change in IRC
  • Download, update, and execute files from FTP
  • Download, update, and execute files from a Web site
  • Execute a file
  • Perform port redirections
  • Visit a Web site
  • Get list of CD keys
  • Delete/disable network shares

Information Theft

This worm steals CD keys of popular game applications installed on the system, such as the following:

  • Battlefield 1942
  • Battlefield 1942 Road To Rome
  • Command & Conquer Generals
  • Counter-Strike
  • FIFA 2003
  • Half-Life
  • Need For Speed Hot Pursuit 2
  • Neverwinter Nights
  • Project IGI 2
  • Rainbow Six III RavenShield
  • Soldier of Fortune II - Double Helix
  • Unreal Tournament 2003

It also has keylogging capabilities. It logs the user's keystrokes and running processes. It creates the file LPTDLL.DLL, where it saves all logged information, in the Windows system folder.

HOSTS File Modification

This worm drops the file B.BAT in the system root folder, which is capable of modifying the Windows HOSTS file. This file is detected by Trend Micro as BAT_SDBOT.G.

The said dropped file modifies the system's HOSTS, which contains host name to IP address mappings. It is usually located in the following folders:

  • %System%\drivers\etc
  • %Windows%

(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, and C:\Windows\System32 on Windows XP. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

This action prevents the user from accessing the following Web sites, which are mostly related to antivirus applications:

  • avp.com
  • ca.com
  • customer.symantec.com
  • dispatch.mcafee.com
  • download.mcafee.com
  • downloads1.kaspersky-labs.com
  • downloads2.kaspersky-labs.com
  • downloads3.kaspersky-labs.com
  • downloads-us1.kaspersky-labs.com
  • f-secure.com
  • ftp.downloads1.kaspersky-labs.com
  • ftp.downloads2.kaspersky-labs.com
  • ftp.downloads3.kaspersky-labs.com
  • kaspersky.com
  • kaspersky-labs.com
  • liveupdate.symantec.com
  • liveupdate.symantecliveupdate.com
  • mast.mcafee.com
  • mcafee.com
  • my-etrust.com
  • nai.com
  • networkassociates.com
  • rads.mcafee.com
  • secure.nai.com
  • securityresponse.symantec.com
  • sophos.com
  • symantec.com
  • trendmicro.com
  • update.symantec.com
  • updates.symantec.com
  • updates1.kaspersky-labs.com
  • updates2.kaspersky-labs.com
  • updates3.kaspersky-labs.com
  • us.mcafee.com
  • viruslist.com
  • virustotal.com
  • www.avp.com
  • www.ca.com
  • www.f-secure.com
  • www.grisoft.com
  • www.kaspersky.com
  • www.mcafee.com
  • www.my-etrust.com
  • www.nai.com
  • www.networkassociates.com
  • www.sophos.com
  • www.symantec.com
  • www.trendmicro.com
  • www.viruslist.com
  • www.virustotal.com

Analysis By: Jonathan N. San Jose


SOLUTION


Minimum scan engine version needed: 6.810

Pattern file needed: 2.692.02

Pattern release date: Jun 16, 2005


Important note: The "Minimum scan engine" refers to the earliest Trend Micro scan engine version guaranteed to detect this threat. However, Trend Micro strongly recommends that you update to the latest version in order to get comprehensive protection. Download the latest scan engine here.

Solution:

Note: To fully remove all associated malware, perform the clean solution for BAT_SDBOT.G and BKDR_HACDEF.AF.

AUTOMATIC REMOVAL INSTRUCTIONS

MANUAL REMOVAL INSTRUCTIONS

Disabling Malware Service

This stops the running malware service on systems running Windows NT, 2000 and XP.

  1. Open a command prompt window. Click Start>Run, type CMD, and then press the Enter.
  2. At the command prompt, type the following:
    NET STOP " GencTurK RootKit "
  3. Press Enter. A message should indicate that the service has been stopped successfully.
  4. Close the command prompt window.

Identifying the Malware Program

To remove this malware, first identify the malware program.

  1. Scan your system with your Trend Micro antivirus product.
  2. NOTE all files detected as WORM_SDBOT.BIH.

Trend Micro customers need to download the latest pattern file before scanning their system. Other users can use Housecall, Trend Micro's online virus scanner.

Terminating the Malware Program

This procedure terminates the running malware process. You will need the name(s) of the file(s) detected earlier.

  1. Open Windows Task Manager.
    � On Windows NT, 2000, and XP, press
    CTRL%20SHIFT%20ESC, then click the Processes tab.
  2. In the list of running programs*, locate the malware file(s) detected earlier.
  3. Select one of the detected files, then press either the End Task or the End Process button, depending on the version of Windows on your system.
  4. Do the same for all detected malware files in the list of running processes.
  5. To check if the malware process has been terminated, close Task Manager, and then open it again.
  6. Close Task Manager.

*NOTE: If you were not able to terminate the malware process as described in the previous procedure, restart your system.

Editing the Registry

This malware modifies the system's registry. Users affected by this malware may need to modify or delete specific registry keys or entries. For detailed information regarding registry editing, please refer to the following articles from Microsoft:

  1. HOW TO: Backup, Edit, and Restore the Registry in Windows 95, Windows 98, and Windows ME
  2. HOW TO: Backup, Edit, and Restore the Registry in Windows NT 4.0
  3. HOW TO: Back Up, Edit, and Restore the Registry in Windows XP
  4. HOW TO: Backup, Edit, and Restore the Registry in Windows 2000

Removing Autostart Entries from the Registry

Removing autostart entries from the registry prevents the malware from executing at startup.

If the registry entries below are not found, the malware may not have executed as of detection. If so, proceed to the succeeding solution set.

  1. Open Registry Editor. Click Start>Run, type REGEDIT, then press Enter.
  2. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>Software>Microsoft>
    Windows>CurrentVersion>Run
  3. In the right panel, locate and delete the entry:
    Microsoft Dll Printer Manager = "dllpt.exe"
  4. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>Software>Microsoft>
    Windows>CurrentVersion>RunServices
  5. In the right panel, locate and delete the entry:
    Microsoft Dll Printer Manager = "dllpt.exe"
  6. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>
    Windows>CurrentVersion>Run
  7. In the right panel, locate and delete the entry:
    Microsoft Dll Printer Manager = "dllpt.exe"
  8. Close Registry Editor.

Deleting Malware File

  1. Right-click Start then click Search� or Find�, depending on the version of Windows you are running.
  2. In the Named input box, type:
    lptdll.dll
  3. In the Look In drop-down list, select the drive that contains Windows, then press Enter.
  4. Once located, select the file then press Delete.

Removing Malware Entries from the HOSTS File

Deleting malware entries from the HOSTS file removes all malware-made changes on host name association.

  1. Open the following file using a text editor (such as NOTEPAD):
    %System%\drivers\etc\HOSTS
    %Windows%
    (Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 95, 98, and ME, C:\WINNT\System32 on Windows NT and 2000, and C:\Windows\System32 on Windows XP. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)
  2. Delete the following entries:
    • 127.0.0.1 avp.com
    • 127.0.0.1 ca.com
    • 127.0.0.1 customer.symantec.com
    • 127.0.0.1 dispatch.mcafee.com
    • 127.0.0.1 download.mcafee.com
    • 127.0.0.1 downloads1.kaspersky-labs.com
    • 127.0.0.1 downloads2.kaspersky-labs.com
    • 127.0.0.1 downloads3.kaspersky-labs.com
    • 127.0.0.1 downloads-us1.kaspersky-labs.com
    • 127.0.0.1 f-secure.com
    • 127.0.0.1 ftp.downloads1.kaspersky-labs.com
    • 127.0.0.1 ftp.downloads2.kaspersky-labs.com
    • 127.0.0.1 ftp.downloads3.kaspersky-labs.com
    • 127.0.0.1 kaspersky.com
    • 127.0.0.1 kaspersky-labs.com
    • 127.0.0.1 liveupdate.symantec.com
    • 127.0.0.1 liveupdate.symantecliveupdate.com
    • 127.0.0.1 mast.mcafee.com
    • 127.0.0.1 mcafee.com
    • 127.0.0.1 my-etrust.com
    • 127.0.0.1 nai.com
    • 127.0.0.1 networkassociates.com
    • 127.0.0.1 rads.mcafee.com
    • 127.0.0.1 secure.nai.com
    • 127.0.0.1 securityresponse.symantec.com
    • 127.0.0.1 sophos.com
    • 127.0.0.1 symantec.com
    • 127.0.0.1 trendmicro.com
    • 127.0.0.1 update.symantec.com
    • 127.0.0.1 updates.symantec.com
    • 127.0.0.1 updates1.kaspersky-labs.com
    • 127.0.0.1 updates2.kaspersky-labs.com
    • 127.0.0.1 updates3.kaspersky-labs.com
    • 127.0.0.1 us.mcafee.com
    • 127.0.0.1 viruslist.com
    • 127.0.0.1 virustotal.com
    • 127.0.0.1 www.avp.com
    • 127.0.0.1 www.ca.com
    • 127.0.0.1 www.f-secure.com
    • 127.0.0.1 www.grisoft.com
    • 127.0.0.1 www.kaspersky.com
    • 127.0.0.1 www.mcafee.com
    • 127.0.0.1 www.my-etrust.com
    • 127.0.0.1 www.nai.com
    • 127.0.0.1 www.networkassociates.com
    • 127.0.0.1 www.sophos.com
    • 127.0.0.1 www.symantec.com
    • 127.0.0.1 www.trendmicro.com
    • 127.0.0.1 www.viruslist.com 127.0.0.1 www.virustotal.com
  3. Save the file and close the text editor.

Additional Windows XP Cleaning Instructions

Users running Windows XP must disable System Restore to allow full scanning of infected systems.

Users running other Windows versions can proceed with the succeeding procedure set(s).

Running Trend Micro Antivirus

Scan your system with Trend Micro antivirus and delete files detected as WORM_SDBOT.BIH. To do this, Trend Micro customers must download the latest pattern file and scan their system. Other Internet users can use HouseCall, Trend Micro's online virus scanner.




Trend Micro offers best-of-breed antivirus and content-security solutions for your corporate network, small and medium business, mobile device or home PC.