WORM_AGOBOT.ALK

Malware type: Worm

Aliases: Backdoor.Win32.Agobot.abr (Kaspersky), W32/Sdbot.worm.gen.l (McAfee), W32.HLLW.Gaobot.gen (Symantec), Worm/AgoBot.abr (Avira), Worm:Win32/Gaobot (Microsoft)

In the wild: Yes

Destructive: No

Language: English

Platform: Windows 95, 98, ME, NT, 2000, XP

Encrypted: No

Overall risk rating:

Reported infections:

Damage potential:

High

Distribution potential:

High

Description: 

This memory-resident worm spreads by dropping copies of itself in certain network shares. It uses cached user names and passwords to gain access to these shares. It also uses a long list of user names and passwords, apart from those it gathers.

This worm also exploits the following Windows vulnerabilities to propagate:

  • SQL Server Buffer Overflow vulnerability
  • RPC/DCOM vulnerability

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

This worm has backdoor capabilities, and may execute commands coming from a remote malicious user. It also steals the Windows Product ID, as well as the CD keys of certain applications.

This worm is also capable of terminating several processes, as well as preventing affected users from accessing certain antivirus Web sites by adding entries in the system's HOSTS file.

For additional information about this threat, see:

Description created: Feb. 24, 2005 10:45:57 PM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  No

Size of malware: 239,104 Bytes

Ports used: Varies

Initial samples received on: Feb 24, 2005

Vulnerability used:  (MS03-026) Buffer Overrun In RPC Interface Could Allow Code Execution, (MS02-061) Elevation of Privilege in SQL Server Web Tasks (Q316333)

Family:  WORM_AGOBOT

Variant ofWORM_AGOBOT.GEN

Payload 1: Steals CD keys

Payload 2: Performs backdoor routines

Payload 3: Terminates processes

Payload 4: Modifies HOSTS file

Details:

Installation and Autostart Techniques

This memory-resident worm arrives via network shares. Upon execution, it drops a copy of itself in the Windows system folder as the file ANTISPY.EXE.

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

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\Run
Net CoNN = "Antispy.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\RunServices
Net CoNN = "Antispy.exe"

Network Propagation and Exploits

This worm spreads by dropping copies of itself in the following network shares:

  • Admin$
  • C$
  • D$
  • IPC$

It uses cached user names and passwords to gain access to these shares. It also uses a long list of user names and passwords, apart from those it gathers.

This worm also exploits the following Windows vulnerabilities to propagate:

  • SQL Server Buffer Overflow vulnerability
  • RPC/DCOM vulnerability

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

It is also exploits systems installed with DameWare, as well as those affected by certain malware variants.

Backdoor Capabilities

This worm connects to an Internet Relay Chat (IRC) server and creates a backdoor bot, enabling a remote malicious user to execute the following commands on the affected system:

  • Perform basic IRC commands
  • Perform basic FTP commands
  • Scan ports
  • Perform packet sniffing for specific strings
  • Perform any of the following flood attacks:
    • ICMP flood
    • Ping flood
    • SYN flood
    • TCP flood
    • UDP flood
  • Execute, list, or terminate processes
  • Open a remote command shell
  • Download/Search files
  • Open FTP server
  • Start up proxy server
  • Send email
  • Get system and network information
  • Get Windows logon password
  • List, start, or stop a service
  • Create, list, or delete user accounts
  • Add, delete, or list network shares
  • Enable/Disable DCOM
  • Enable/Disable anonymous login
  • Flush DNS Cache

Information Theft

This worm steals the Microsoft Windows Product ID, as well as the CD keys of the following games:

  • Battlefield 1942 (Road To Rome)
  • Battlefield 1942 (Secret Weapons of WWII)
  • Battlefield Vietnam
  • 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
  • IG2
  • IGI 2: Covert Strike
  • Industry Giant 2
  • James Bond 007: Nightfire
  • Legends of Might and Magic
  • Medal of Honor: Allied Assault: Breakthrough
  • Medal of Honor: Allied Assault: Spearhead
  • 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 Undertide)
  • NHL 2002
  • NHL 2003
  • NOX
  • Rainbow Six III
  • Shogun: Total War: Warlord Edition
  • Soldier of Fortune II - Double Helix
  • Soldiers Of Anarchy
  • The Gladiators
  • The Road to Rome
  • Unreal Tournament 2003

It also has keylogging and webcam capture capabilities.

Antivirus Retaliation

This worm attemtps to terminate the following processes related to antivirus and security applications:

It also adds the following entries in the system's HOSTS file to prevent users from accessing antivirus Web sites:

127.0.0.1 www.symantec.com
127.0.0.1 securityresponse.symantec.com
127.0.0.1 symantec.com
127.0.0.1 www.sophos.com
127.0.0.1 sophos.com
127.0.0.1 www.mcafee.com
127.0.0.1 mcafee.com
127.0.0.1 liveupdate.symantecliveupdate.com
127.0.0.1 www.viruslist.com
127.0.0.1 viruslist.com
127.0.0.1 viruslist.com
127.0.0.1 f-secure.com
127.0.0.1 www.f-secure.com
127.0.0.1 kaspersky.com
127.0.0.1 www.avp.com
127.0.0.1 www.kaspersky.com
127.0.0.1 avp.com
127.0.0.1 www.networkassociates.com
127.0.0.1 networkassociates.com
127.0.0.1 www.ca.com
127.0.0.1 ca.com
127.0.0.1 mast.mcafee.com
127.0.0.1 my-etrust.com
127.0.0.1 www.my-etrust.com
127.0.0.1 download.mcafee.com
127.0.0.1 dispatch.mcafee.com
127.0.0.1 secure.nai.com
127.0.0.1 nai.com
127.0.0.1 www.nai.com
127.0.0.1 update.symantec.com
127.0.0.1 updates.symantec.com
127.0.0.1 us.mcafee.com
127.0.0.1 liveupdate.symantec.com
127.0.0.1 customer.symantec.com
127.0.0.1 rads.mcafee.com
127.0.0.1 trendmicro.com
127.0.0.1 www.trendmicro.com

Other Details

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

Analysis By: Francis Tan Seng


SOLUTION


Minimum scan engine version needed: 6.810

Pattern file needed: 2.447.01

Pattern release date: Feb 25, 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:

Terminating the Malware Program

This procedure terminates the running malware process.

  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 process:
    Antispy.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.

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

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:
    Net CoNN = "Antispy.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:
    Net CoNN = "Antispy.exe"
  6. Close Registry Editor.

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

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 all files detected as WORM_AGOBOT.ALK. 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 patch supplied by Microsoft in the following pages:

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.