WORM_SDBOT.AQO

Malware type: Worm

Aliases: Backdoor.Win32.SdBot.awk (Kaspersky), W32/Sdbot.worm.gen.h (McAfee), Trojan.Packed.NsAnti (Symantec), Worm/SdBot.78055 (Avira), W32/Sdbot-CSE (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: 

This worm propagates via network shares. It searches for certain network shares and attempts to drop copies of itself into these shares. If these shared folders have restricted access rights, this worm uses a hardcoded list of common user names and passwords to gain access.

It also exploits the following Windows vulnerabilities to propagate across networks:

  • Buffer Overflow in SQL Server 2000 vulnerability
  • Remote Procedure Call (RPC) Distributed Component Object Model (DCOM) vulnerability
  • LSASS vulnerability

More information on these vulnerabilities can be found on the following Web pages:

This worm has backdoor capabilities. It connects to a remote IRC server and joins a specific IRC channel, where it listens for commands coming from a remote malicious user. It executes these commands locally on an affected system, proving the remote user virtual control over the system.

For additional information about this threat, see:

Description created: Feb. 22, 2005 8:49:52 PM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  Yes

Size of malware: 60,928 Bytes

Initial samples received on: Feb 22, 2005

Compression type: Morphine, UPX

Vulnerability used:  (MS04-011) Security Update for Microsoft Windows (835732), (MS03-026) Buffer Overrun In RPC Interface Could Allow Code Execution, (MS02-061) Elevation of Privilege in SQL Server Web Tasks (Q316333)

Variant ofWORM_SDBOT.GEN

Payload 1: Compromises system security

Details:

Arrival and Installation

This memory-resident worm may arrive from network shares. Upon execution, it drops a copy of itself in the Windows aystem folder as QPWS32.EXE.

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

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\Run
WDrvr32SSL = "qpws32.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\RunServices
WDrvr32SSL = "qpws32.exe"

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Run
WDrvr32SSL = "qpws32.exe"

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\RunServices
WDrvr32SSL = "qpws32.exe"

It also creates the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\OLE
WDrvr32SSL = "qpws32.exe"

HKEY_CURRENT_USER\SYSTEM\CurrentControlSet\
Control\Lsa
WDrvr32SSL = "qpws32.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole
WDrvr32SSL = "qpws32.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Lsa
WDrvr32SSL = "qpws32.exe"

It also sets the values of the following registry entries to make the system vulnerable to its activities:

HKEY_LOCAL_MACHINE\Software\Microsoft\Ole
EnableDCOM = "N"

HKEY_LOCAL_MACHINE\CurrentControlSet\
Control\Lsa restrictanonymous = "dword:00000001"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess
Start = "dword:00000004"

Network Propagation and Exploits

This worm propagates via network shares. It searches for the following network shares and attempts to drop copies of itself into these shares:

  • ADMIN$\system32
  • C$\Windows\system32
  • C$\WINNT\system32

If these shared folders have restricted access rights, this worm uses the following hardcoded list of common user names and passwords to gain access:

  • 12345
  • 123456
  • 1234567
  • 12345678
  • 123456789
  • 1234567890
  • access
  • accounting
  • accounts
  • admin
  • administrador
  • administrat
  • administrateur
  • administrator
  • admins
  • backup
  • bitch
  • blank
  • brian
  • changeme
  • chris
  • cisco
  • compaq
  • control
  • database
  • databasepass
  • databasepassword
  • db1234
  • dbpass
  • dbpassword
  • default
  • domain
  • domainpass
  • domainpassword
  • exchange
  • george
  • guest
  • hello
  • homeuser
  • internet
  • intranet
  • katie
  • linux
  • login
  • loginpass
  • nokia
  • oeminstall
  • oemuser
  • office
  • oracle
  • orainstall
  • outlook
  • pass1234
  • passwd
  • password
  • password1
  • peter
  • qwerty
  • server
  • siemens
  • sqlpassoainstall
  • staff
  • student
  • susan
  • system
  • teacher
  • technical
  • win2000
  • win2k
  • win98
  • windows
  • winnt
  • winpass
  • winxp

This worm also exploits the following Windows vulnerabilities to propagate across networks:

  • Buffer Overflow in SQL Server 2000 vulnerability
  • Remote Procedure Call (RPC) Distributed Component Object Model (DCOM) vulnerability
  • LSASS vulnerability

More information on these vulnerabilities can be found on the following Web pages:

Backdoor Capabilities

This worm has backdoor capabilities. It connects to a remote IRC server and joins a specific IRC channel, where it listens for commands coming from a remote malicious user, such as the following:

  • Disable and enable DCOM
  • Disable network shares
  • Download and execute files
  • List and terminate threads
  • Obtain pertinent network and system information, such as the following:
    • Connection length
    • CPU speed
    • Local IP address
    • Memory allocation
  • Perform basic IRC commands
  • Redirect TCP
  • Restrict and unrestrict access to IPC$ share
  • Terminate and update itself

It executes these commands locally on an affected system, proving the remote user virtual control over the system.

Other Details

This worm runs on Windows 95, 98, ME, NT, 2000, and XP.

Analysis By: Michael Stephen Tonido


SOLUTION


Minimum scan engine version needed: 6.810

Pattern file needed: 3.831.00

Pattern release date: Oct 10, 2006


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:

Terminating the Malware Program

This procedure terminates the running malware process.

  1. Open Windows Task Manager. Press CTRL%20SHIFT%20ESC, then click the Processes tab.
  2. In the list of running programs*, locate the process:
    QPWS32.EXE
  3. Select the malware process, then press either the End Task or the End Process button, depending on the version of Windows on your system.
  4. To check if the malware process has been terminated, close Task Manager, and then open it again.
  5. Close Task Manager.

Removing Autostart Entries from the Registry

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

  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:
    WDrvr32SSL = "qpws32.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:
    WDrvr32SSL = "qpws32.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:
    WDrvr32SSL = "qpws32.exe"
  8. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>
    Windows>CurrentVersion>RunServices
  9. In the right panel, locate and delete the entry:
    WDrvr32SSL = "qpws32.exe"

Removing Other Entries from the Registry

  1. Still in the Registry Editor, in the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>Software>Microsoft>
    Ole
  2. In the right panel, locate and delete the entry:
    WDrvr32SSL = "qpws32.exe"
  3. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>
    Control>Lsa
  4. In the right panel, locate and delete the entry:
    WDrvr32SSL = "qpws32.exe"
  5. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>
    Ole
  6. In the right panel, locate and delete the entry:
    WDrvr32SSL = "qpws32.exe"
  7. In the left panel, double-click the following:
    HKEY_CURRENT_USER>SYSTEM>CurrentControlSet>
    Control>Lsa
  8. In the right panel, locate and delete the entry:
    WDrvr32SSL = "qpws32.exe"
  9. Close Registry Editor.

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

Enabling Show All Files

This procedure allows you to access hidden malware files using Windows Explorer.

� On Windows NT

  1. Open Windows Explorer. Right-click Start then click Explore.
  2. On the View menu, click Options or Folders Options.
  3. Click the View tab.
  4. Select Show all files, then click OK.

� On Windows 2000 and XP

  1. Open Windows Explorer. Right-click Start then click Explore.
  2. On the Tools menu, click Folder Options.
  3. Click the View tab.
  4. Select Show hidden files and folders, then click OK.

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 all files detected as WORM_SDBOT.AQO. 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 fix patches from the following Microsoft Web pages:

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.