WORM_RBOT.APZ

Malware type: Worm

Aliases: No Alias Found

In the wild: Yes

Language: English

Platform: Windows 2000, XP

Overall risk rating:

Reported infections:

Damage potential:

High

Distribution potential:

High

Description: 

This worm arrives as KAV.EXE on target machines.

It generates IP addresses and spreads by attempting to drop a copy of itself in target addresses' default shares. If the said shares are inaccessible, it uses gathered available lists of user names and passwords. It also uses a hardcoded list of user names and passwords to gain access:

It may also spread by taking advantage of systems vulnerable to the following Windows exploits:

  • Buffer Overflow in SQL Server 2000, which is a vulnerability that allows a low-level user to run, delete, insert or update Web tasks. In turn, an attacker who is able to authenticate to a SQL server may do the same actions, and run already created Web tasks in the context of the creator of that task. More information on this vulnerability is found in Microsoft Security Bulletin MS02-061.

  • The RPC/DCOM vulnerability, which allows an attacker to gain full access and execute any code on a target machine by sending a malformed packet to the DCOM service. It uses the RPC TCP port 135. More information on this vulnerability is found in Microsoft Security Bulletin MS03-026.

  • The Windows LSASS vulnerability, which is a buffer overrun that allows remote code execution and enables a malicious user to gain full control of the affected system. This vulnerability is discussed in detail in Microsoft Bulletin MS04-011 and Trend Micro's Vulnerability Description for MS04-011.

This worm operates as an IRC bot that connects to an IRC server, where it listens for commands from a remote malicious user. The said commands, are executed locally on affected machines. It also performs a distributed denial of service attack against target sites using different flood methods. Furthermore, it steals CD keys, serial numbers as well as application product IDs of popular software applications installed on the said machines.

For additional information about this threat, see:

Description created: Feb. 22, 2005 7:29:37 AM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  Yes

Size of malware: 69,570 Bytes (Compressed)

Initial samples received on: Feb 22, 2005

Details:

Installation and Autostart

Upon execution, this worm drops a copy of itself as KAV.EXE in the Windows system folder. It eventually deletes itself after execution.

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

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Run
Protocol Settings = "kav.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\Run
Protocol Settings = "kav.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\RunServices
Protocol Settings = "kav.exe"

It also disables the DCOM protocol and restricts anonymous access to the system by modifying the following registry entries:

From

HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
EnableDCOM = "Y"

To

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

From

HKEY_LOCAL_MACHINE\System\CurrentControlSet
Control\Lsa
restrictanonymous = "dword:00000000"

To

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

Network Propagation and Exploits

This worm generates IP addresses and spreads by attempting to drop a copy of itself in target addresses' default shares. The said shares are as follows:

  • ADMIN$
  • IPC$

If the said shares are inaccessible, it uses NetBEUI functions to gather available lists of user names and passwords. It also uses the following list of user names and passwords hardcoded in its body to gain access:

  • 12345
  • 123456
  • 1234567
  • 12345678
  • 123456789
  • 1234567890
  • access
  • accounting
  • accounts
  • administrador
  • administrat
  • administrateur
  • administrator
  • admins
  • backup
  • bitch
  • blank
  • brian
  • changeme
  • chris
  • cisco
  • compaq
  • computer
  • 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
  • owner
  • pass1234
  • passwd
  • password1
  • peter
  • qwerty
  • siemens
  • sqlpassoainstall
  • staff
  • student
  • susan
  • system
  • teacher
  • technical
  • win2000
  • win2k
  • win98
  • windows
  • winnt
  • winpass
  • winxp
  • wwwadmin

It may also spread by taking advantage of systems vulnerable to the following Windows exploits:

  • Buffer Overflow in SQL Server 2000, which is a vulnerability that allows a low-level user to run, delete, insert or update Web tasks. In turn, an attacker who is able to authenticate to a SQL server may do the same actions, and run already created Web tasks in the context of the creator of that task. More information on this vulnerability is found in Microsoft Security Bulletin MS02-061.

  • The RPC/DCOM vulnerability, which allows an attacker to gain full access and execute any code on a target machine by sending a malformed packet to the DCOM service. It uses the RPC TCP port 135. More information on this vulnerability is found in Microsoft Security Bulletin MS03-026.

  • The Windows LSASS vulnerability, which is a buffer overrun that allows remote code execution and enables a malicious user to gain full control of the affected system. This vulnerability is discussed in detail in Microsoft Bulletin MS04-011 and Trend Micro's Vulnerability Description for MS04-011.

Backdoor Capabilities

This worm operates as an IRC bot that connects to an IRC server, where it listens for commands from a remote malicious user. The said commands, such as the following, are executed locally on affected machines:

  • Add/delete network shares
  • Chat with current IRC users
  • Connect and visit URL
  • Download files from the compromised system
  • Enable and disable DCOM
  • Flush DNS
  • Get data form the clipboard
  • Get system information
  • Join and leave IRC channel
  • List and terminate processes
  • List network shares
  • Log on and log off from system
  • Manipulate files
  • Perform command shell execution of files
  • Perform information theft
  • Perform IP/port scanning
  • Perform packet flooding
  • Perform packet sniffing
  • Restart the system
  • Search for system passwords
  • Send and receive files through IRC
  • Send email messages using SMTP through IRC
  • Start keylogging
  • Update malware copy
  • Upload files

This worm's backdoor routine works with the following mIRC versions:

  • mIRC v6.14 Khaled Mardam-Bey
  • mIRC v6.12 Khaled Mardam-Bey
  • mIRC v6.10 Khaled Mardam-Bey
  • mIRC v6.03 Khaled Mardam-Bey

Denial of Service

This worm performs a distributed denial of service attack against target sites using any of the following flood methods:

  • ICMP flood
  • Ping flood
  • SYN flood
  • TCP flood
  • UPD flood

Information Theft

This worm steals CD keys, serial numbers, and even application product IDs from the following software products installed on affected machines:

  • Battlefield 1942
  • Battlefield 1942 (Road To Rome)
  • Battlefield 1942 (Secret Weapons of WWII)
  • Battlefield Vietnam
  • Black and White
  • Chrome
  • Command and Conquer: Generals
  • Command and Conquer: Generals (Zero Hour)
  • Command and Conquer: Red Alert
  • Command and Conquer: Red Alert 2
  • Command and Conquer: Tiberian Sun
  • Counter-Strike (Retail)
  • FIFA 2002
  • FIFA 2003
  • Freedom Force
  • Global Operations
  • Gunman Chronicles
  • Half-Life
  • Hidden & Dangerous 2
  • IGI 2: Covert Strike
  • Industry Giant 2
  • James Bond 007: Nightfire
  • Legends of Might and Magic
  • Medal of Honor: Allied Assault
  • Medal of Honor: Allied Assault: Breakthrough
  • Medal of Honor: Allied Assault: Spearhead
  • Microsoft Windows Product ID
  • Nascar Racing 2002
  • Nascar Racing 2003
  • Need For Speed Hot Pursuit 2
  • Need For Speed: Underground
  • Neverwinter Nights
  • Neverwinter Nights (Hordes of the Underdark)
  • Neverwinter Nights (Shadows of Undrentide)
  • NHL 2002
  • NHL 2003
  • Rainbow Six III RavenShield
  • Shogun: Total War: Warlord Edition
  • Soldier of Fortune II - Double Helix
  • Soldiers Of Anarchy
  • The Gladiators
  • Unreal Tournament 2003
  • Unreal Tournament 2004

This worm uses Carnivore network sniffer to retrieve passwords and other sensitive information by checking for the following strings in the network packets:

  • //OPER
  • //Oper
  • //oper
  • /OPER
  • /Oper
  • /oper
  • : auth
  • :!advscan
  • :!asc
  • :!auth
  • :!hashin
  • :!login
  • :!scan.all
  • :!scan.start
  • :!scan.startall
  • :!secure
  • :!secure
  • :!start.scan
  • :!syn
  • :#advscan
  • :#asc
  • :#login
  • :#scan.all
  • :#scan.start
  • :#scan.startall
  • :#secure
  • :#start.scan
  • :$advscan
  • :$asc
  • :$auth
  • :$hashin
  • :$login
  • :$scan.all
  • :$scan.start
  • :$scan.startall
  • :$secure
  • :$start.scan
  • :$syn
  • :%auth
  • :%hashin
  • :%login
  • :%login
  • :%syn
  • :&auth
  • :&login
  • :*auth
  • :*login
  • :*login
  • :,auth
  • :,login
  • :.advscan
  • :.asc
  • :.auth
  • :.hashin
  • :.login
  • :.scan.all
  • :.scan.start
  • :.scan.startall
  • :.secure
  • :.secure
  • :.start.scan
  • :.syn
  • :/auth
  • :/login
  • :?auth
  • :?login
  • :@advscan
  • :@asc
  • :@auth
  • :@login
  • :@scan.all
  • :@scan.startall
  • :@secure
  • :\auth
  • :\login
  • :~auth
  • :~login
  • :%20auth
  • :%20login
  • :=auth
  • :=login
  • :'auth
  • :-auth
  • :login
  • :'login
  • :-login
  • :Oper
  • ADMIN
  • Admin
  • admin
  • CDKey
  • JOIN #
  • LOGIN
  • Login
  • login
  • login
  • login
  • NICK
  • now an IRC Operator
  • OPER
  • oper
  • PASS
  • Pass
  • pass
  • PASSWORD
  • PASSWORD
  • Password
  • Password
  • password
  • password
  • PAYPAL
  • PayPal
  • Paypal
  • paypal
  • PAYPAL.COM
  • PayPal.Com
  • paypal.com
  • Paypal.com
  • USER
  • User
  • user

Platform

This worm Windows 2000 and XP.

Analysis By: Mary Grace C. Gabriel

Revision History:

First pattern file version: 2.437.01
First pattern file release date: Feb 22, 2005

SOLUTION


Minimum scan engine version needed: 6.810

Pattern file needed: 5.164.57

Pattern release date: Mar 16, 2008


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:

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_RBOT.APZ.

Trend Micro customers need to download the latest pattern file before scanning their system. Other users can use Housecall, Trend Micro�s free 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 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.

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:
    Protocol Settings = "kav.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:
    Protocol Settings = "kav.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:
    Protocol Settings = "kav.exe"

Restoring Other Malware Entries

  1. Still in the Registry Editor, in the left panel, double-click the following:
  2. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>Software>Microsoft>Ole
  3. In the right panel, right-click the following entry:
    EnableDCOM = "N"
  4. Select Modify, then replace the data value to the following:
    Y
  5. Close Registry Editor.

Restoring EnableDCOM and RestrictAnonymous Registry Entries

This malware modifies EnableDCOM and RestrictAnonymous registry entries to a certain value. To know more about restoring these registries to their original values, please refer to these articles:

  1. COM security frequently asked questions
  2. How to disable DCOM support in Windows
  3. How to Use the RestrictAnonymous Registry Value in Windows 2000
  4. The "RestrictAnonymous" Registry Value May Break the Trust to a Windows 2000 Domain

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

Running Trend Micro Antivirus

Scan your system with Trend Micro antivirus and delete all files detected as WORM_RBOT.APZ. 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 free online virus scanner.

Applying Patches

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

Refrain from using the affected software until the appropriate patch has been installed.




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