WORM_SDBOT.BHJ

Malware type: Worm

Aliases: W32/Sdbot.worm (McAfee), W32.IRCBot (Symantec), Mal/Generic-A (Sophos),

In the wild: Yes

Destructive: No

Language: English

Platform: Windows 2000 and XP

Encrypted: No

Overall risk rating:

Reported infections:

Damage potential:

Medium

Distribution potential:

High

Description: 

Upon execution, this memory-resident worm drops a copy of itself in the Windows system folder. It takes advantage of the following Windows vulnerabilities to propagate:

  • Buffer Overflow in SQL Server 2000
  • Windows LSASS vulnerability

For more information about the said Windows vulnerabilities, please refer to the following Microsoft Web pages:

It then modifies the system registry to ensure its automatic execution on every system startup.

It propagates by scanning the network for weak passwords. It then attempts to drop a copy of itself to accessed machines within the network.

It also acts as a server program controlled by an Internet Relay Chat (IRC) bot, thus capable of certain backdoor activities.

This worm also terminates several processes, which include processes that are related to antivirus applications, system files, and other malware programs as well.

For additional information about this threat, see:

Description created: Jun. 15, 2005 4:05:52 AM GMT -0800
Description updated: Jun. 16, 2005 8:12:52 PM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  Yes

Size of malware: 52,224 Bytes

Ports used: Random

Initial samples received on: Jun 15, 2005

Vulnerability used:  (MS04-011) Security Update for Microsoft Windows (835732), (MS02-061) Elevation of Privilege in SQL Server Web Tasks (Q316333)

Details:

Installation and Autostart Technique

Upon execution, this worm drops a copy of itself as KYSVCCD.EXE in the Windows system folder.

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

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\Run
KY Control Settings="KYSVCCD.EXE"

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\RunServices
KY Control Settings = "KYSVCCD.EXE"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
KY Control Settings = "KYSVCCD.EXE"

Network Propagation and Exploits

This worm spreads through network shares. It lists down the available network shares then attempts to drop a copy of itself in the found shares.

It also takes advantage of the following Windows vulnerabilities to propagate:

  • Buffer Overflow in SQL Server 2000
  • Windows LSASS vulnerability

For more information about the said Windows vulnerabilities, please refer to the following Microsoft Web pages:

Backdoor Capabilities

This worm also has backdoor capabilities. It connects to a remote IRC server and joins a specific IRC channel where it receives the following commands from a remote malicious user:

  • Change IRC nickname
  • Change the IRC server and channel where it connects to
  • Cloning
  • Download, execute and send files using UDP
  • Flush the DNS cache
  • List logs
  • List processes
  • Logs keystrokes
  • Perform denial of service (DoS) attacks against certain Web sites using the SYN, PING, ICMP, UDP and TCP floods
  • Terminate processes

Process Termination

This worm also terminates the following processes, most of which are related to security and antivirus applications:

  • bbeagle.exe
  • d3dupdate.exe
  • i11r54n4.exe
  • irun4.exe
  • MSBLAST.exe
  • msblast.exe
  • msconfig.exe
  • mscvb32.exe
  • navapw32.exe
  • navw32.exe
  • netstat.exe
  • PandaAVEngine.exe
  • Penis32.exe
  • rate.exe
  • regedit.exe
  • ssate.exe
  • sysinfo.exe
  • SysMonXP.exe
  • teekids.exe
  • wincfg32.exetaskmon.exe
  • winsys.exe
  • winupd.exe
  • zapro.exe
  • zonealarm.exe

Analysis By: Marianne Margaret Layador

Revision History:

First pattern file version: 5.168.06
First pattern file release date: Mar 17, 2008

SOLUTION


Minimum scan engine version needed: 6.810

Pattern file needed: 6.623.00

Pattern release date: Nov 12, 2009


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:

AUTOMATIC REMOVAL INSTRUCTIONS

MANUAL REMOVAL INSTRUCTIONS

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.BHJ.

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 95, 98, and ME, press
    CTRL%20ALT%20DELETE
    � 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: On systems running Windows 95, 98, and ME, Windows Task Manager may not show certain processes. You can use a third party process viewer such as Process Explorer to terminate the malware process. Otherwise, continue with the next procedure, noting additional instructions. 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:
    KY Control Settings = "KYSVCCD.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:
    KY Control Settings = "KYSVCCD.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:
    KY Control Settings="KYSVCCD.EXE"
  8. Close Registry Editor.

Additional Windows ME/XP Cleaning Instructions

Users running Windows ME and 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.BHJ. 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.

Applying Patches

This malware exploits known vulnerabilities in Windows. Download and install the following fix patches supplied by Microsoft:

Refrain from using this product until the appropriate patch has been installed. Trend Micro advises users to download critical patches upon release by vendors.




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