Discovered: October 06, 2005
Updated: February 13, 2007 12:45:13 PM
Also Known As: W32/Bagle.df@MM [McAfee], W32/Bagle-AN [Sophos]
Type: Worm
Systems Affected: Windows


W32.Beagle.CK@mm is a mass-mailing worm that uses its own SMTP engine to email copies of itself to addresses gathered from the compromised computer.
The worm also opens a back door on TCP Port 9035 on the compromised computer.

Antivirus Protection Dates

  • Initial Rapid Release version October 07, 2005
  • Latest Rapid Release version August 08, 2016 revision 023
  • Initial Daily Certified version October 07, 2005
  • Latest Daily Certified version August 09, 2016 revision 001
  • Initial Weekly Certified release date October 07, 2005

Click here for a more detailed description of Rapid Release and Daily Certified virus definitions.

Writeup By: Hyun Choi

Discovered: October 06, 2005
Updated: February 13, 2007 12:45:13 PM
Also Known As: W32/Bagle.df@MM [McAfee], W32/Bagle-AN [Sophos]
Type: Worm
Systems Affected: Windows


When W32.Beagle.CK@mm is executed, it performs the following actions:

  1. Copies itself as %System%\winhost.exe.

    Note: %System% is a variable that refers to the System folder. By default this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).

  2. Adds the value:

    "winhost.exe" = "%System%\winhost.exe"

    to the registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

    so that it runs every time Windows starts.

  3. Adds the values:

    "pid" = 0x36C
    "port" = 0x234B
    "uid" = "58356621"

    to the registry subkey:

    HKEY_CURRENT_USER\Software\Timeout

  4. Opens a back door on TCP port 9035.

  5. Attempts to download [http://]cardgoods.com/[REMOVED]/ip.txt every three hourse and save it as the following file:

    %Windir%\ip.txt

    Note: %Windir% is a variable that refers to the Windows installation folder. By default, this is C:\Windows or C:\Winnt.

  6. Attempts to download [http://]www.cardgoods.com/[REMOVED]/3.exe every three hours, save it as the following file and then execute it:

    %Windir%\test.exe

  7. Creates the following registry value, if the worm successfully downloads %Windir%\test.exe:

    HKEY_CURRENT_USER\Software\Timeout\"test.exe"

  8. Sends an HTTP notification to the following URLs every three hours:

    • [http://]thehiphops.com/[REMOVED]
    • [http://]68.24.54.122/[REMOVED]/in.php
    • [http://]paromy.ru/[REMOVED]/in.php
    • [http://]www.ladywears.com/[REMOVED]/in.php
    • [http://]64.12.212.12/[REMOVED]/in.php
    • [http://]nine-one-one.ca/[REMOVED]/in.php
    • [http://]www.evocreations.com/[REMOVED]/in.php
    • [http://]sexyforum.ru/[REMOVED]/init.php
    • [http://]rescan.com/[REMOVED]/init.php
    • [http://]www.cardgoods.com/[REMOVED]/init.php
    • [http://]blockism.net/[REMOVED]/ini.php
    • [http://]talent2k.com/[REMOVED]/ini.php
    • [http://]64.246.44.10/[REMOVED]/init.php
    • [http://]motivethree.com/[REMOVED]/in.php
    • [http://]zalala.net/[REMOVED]/init.php
    • [http://]biiig.org/[REMOVED]/init.php
    • [http://]tovarisi.net/[REMOVED]/init.php

  9. Attempts to end the following processes every tenth second:

    • AGENTSVR.EXE
    • ANTI-TROJAN.EXE
    • ANTIVIRUS.EXE
    • ANTS.EXE
    • APIMONITOR.EXE
    • APLICA32.EXE
    • APVXDWIN.EXE
    • ATCON.EXE
    • ATGUARD.EXE
    • ATRO55EN.EXE
    • ATUPDATER.EXE
    • ATWATCH.EXE
    • AUPDATE.EXE
    • AUTODOWN.EXE
    • AUTOTRACE.EXE
    • AUTOUPDATE.EXE
    • AVCONSOL.EXE
    • AVGSERV9.EXE
    • AVLTMAIN.EXE
    • AVprotect9x.exe
    • AVPUPD.EXE
    • AVSYNMGR.EXE
    • AVWUPD32.EXE
    • AVXQUAR.EXE
    • BD_PROFESSIONAL.EXE
    • BIDEF.EXE
    • BIDSERVER.EXE
    • BIPCP.EXE
    • BIPCPEVALSETUP.EXE
    • BISP.EXE
    • BLACKD.EXE
    • BLACKICE.EXE
    • BOOTWARN.EXE
    • BORG2.EXE
    • BS120.EXE
    • ccApp.exe
    • ccEvtMgr.exe
    • CDP.EXE
    • CFGWIZ.EXE
    • CFIADMIN.EXE
    • CFIAUDIT.EXE
    • CFINET.EXE
    • CFINET32.EXE
    • CLEAN.EXE
    • CLEANER.EXE
    • CLEANER3.EXE
    • CLEANPC.EXE
    • CMGRDIAN.EXE
    • CMON016.EXE
    • CPD.EXE
    • CPF9X206.EXE
    • CPFNT206.EXE
    • CV.EXE
    • CWNB181.EXE
    • CWNTDWMO.EXE
    • DEFWATCH.EXE
    • DEPUTY.EXE
    • DPF.EXE
    • DPFSETUP.EXE
    • DRWATSON.EXE
    • DRWEBUPW.EXE
    • ENT.EXE
    • ESCANH95.EXE
    • ESCANHNT.EXE
    • ESCANV95.EXE
    • EXANTIVIRUS-CNET.EXE
    • FAST.EXE
    • FIREWALL.EXE
    • FLOWPROTECTOR.EXE
    • FP-WIN_TRIAL.EXE
    • FRW.EXE
    • FSAV.EXE
    • FSAV530STBYB.EXE
    • FSAV530WTBYB.EXE
    • FSAV95.EXE
    • GBMENU.EXE
    • GBPOLL.EXE
    • GUARD.EXE
    • GUARDDOG.EXE
    • HACKTRACERSETUP.EXE
    • HTLOG.EXE
    • HWPE.EXE
    • IAMAPP.EXE
    • IAMSERV.EXE
    • ICLOAD95.EXE
    • ICLOADNT.EXE
    • ICMON.EXE
    • ICSSUPPNT.EXE
    • ICSUPP95.EXE
    • ICSUPPNT.EXE
    • IFW2000.EXE
    • IPARMOR.EXE
    • IRIS.EXE
    • JAMMER.EXE
    • KAVLITE40ENG.EXE
    • KAVPERS40ENG.EXE
    • KERIO-PF-213-EN-WIN.EXE
    • KERIO-WRL-421-EN-WIN.EXE
    • KERIO-WRP-421-EN-WIN.EXE
    • KILLPROCESSSETUP161.EXE
    • LDPRO.EXE
    • LOCALNET.EXE
    • LOCKDOWN.EXE
    • LOCKDOWN2000.EXE
    • LSETUP.EXE
    • LUALL.EXE
    • LUCOMSERVER.EXE
    • LUINIT.EXE
    • MCAGENT.EXE
    • MCUPDATE.EXE
    • MCUPDATE.EXE
    • MFW2EN.EXE
    • MFWENG3.02D30.EXE
    • MGUI.EXE
    • MINILOG.EXE
    • MOOLIVE.EXE
    • MRFLUX.EXE
    • MSCONFIG.EXE
    • MSINFO32.EXE
    • MSSMMC32.EXE
    • MU0311AD.EXE
    • NAV80TRY.EXE
    • navapsvc.exe
    • NAVAPW32.EXE
    • NAVDX.EXE
    • NavShExt.dll
    • NAVSTUB.EXE
    • NAVW32.EXE
    • NC2000.EXE
    • NCINST4.EXE
    • NDD32.EXE
    • NEOMONITOR.EXE
    • NETARMOR.EXE
    • NETINFO.EXE
    • NETMON.EXE
    • NETSCANPRO.EXE
    • NETSPYHUNTER-1.2.EXE
    • NETSTAT.EXE
    • NISSERV.EXE
    • NMAIN.EXE
    • NORTON_INTERNET_SECU_3.0_407.EXE
    • NPF40_TW_98_NT_ME_2K.EXE
    • NPFMESSENGER.EXE
    • NPROTECT.EXE
    • NPROTECT.EXE
    • NSCHED32.EXE
    • NTVDM.EXE
    • NUPGRADE.EXE
    • NVARCH16.EXE
    • NWINST4.EXE
    • NWTOOL16.EXE
    • OSTRONET.EXE
    • OUTPOST.EXE
    • OUTPOSTINSTALL.EXE
    • OUTPOSTPROINSTALL.EXE
    • PADMIN.EXE
    • PANIXK.EXE
    • PAVPROXY.EXE
    • PCC2002S902.EXE
    • PCC2K_76_1436.EXE
    • PCCIOMON.EXE
    • PCDSETUP.EXE
    • PCFWALLICON.EXE
    • PCIP10117_0.EXE
    • PDSETUP.EXE
    • PERISCOPE.EXE
    • PERSFW.EXE
    • PF2.EXE
    • PFWADMIN.EXE
    • PINGSCAN.EXE
    • PLATIN.EXE
    • POPROXY.EXE
    • POPSCAN.EXE
    • PORTDETECTIVE.EXE
    • PPINUPDT.EXE
    • PPTBC.EXE
    • PPVSTOP.EXE
    • PROCEXPLORERV1.0.EXE
    • PROPORT.EXE
    • PROTECTX.EXE
    • PSPF.EXE
    • QCONSOLE.EXE
    • QSERVER.EXE
    • REGEDIT.EXE
    • REGEDT32.EXE
    • RESCUE.EXE
    • RESCUE32.EXE
    • RRGUARD.EXE
    • RSHELL.EXE
    • RULAUNCH.EXE
    • SAFEWEB.EXE
    • SAVSCAN.EXE
    • SBSERV.EXE
    • SD.EXE
    • SETUP_FLOWPROTECTOR_US.EXE
    • SETUPVAMEEVAL.EXE
    • SFC.EXE
    • SGSSFW32.EXE
    • SH.EXE
    • SHELLSPYINSTALL.EXE
    • SymWSC.exe
    • SYSEDIT.EXE
    • TAUMON.EXE
    • TAUSCAN.EXE
    • TRACERT.EXE
    • TRJSCAN.EXE
    • TRJSETUP.EXE
    • TROJANTRAP3.EXE
    • UNDOBOOT.EXE
    • UPDATE.EXE
    • VBCMSERV.EXE
    • VBCONS.EXE
    • VBUST.EXE
    • VIRUSMDPERSONALFIREWALL.EXE
    • W32DSM89.EXE
    • WATCHDOG.EXE
    • WEBSCANX.EXE
    • WHOSWATCHINGME.EXE
    • WINRECON.EXE
    • WNT.EXE
    • WRADMIN.EXE
    • WRCTRL.EXE
    • WSBGATE.EXE
    • WYVERNWORKSFIREWALL.EXE
    • XPF202EN.EXE
    • ZONALM2601.EXE
    • ZONEALARM.EXE

  10. Scans all hard drives, and if the names of folders the worm finds contain the string "shar", it copies itself to that folder as the following file names:

    • Microsoft Office 2003 Crack, Working!.exe
    • Microsoft Windows XP, WinXP Crack, working Keygen.exe
    • Norton Antivirus, working Keygen.exe
    • Microsoft Office XP working Crack, Keygen.exe
    • Porno, sex, oral, anal cool, awesome!!.exe
    • Porno Screensaver.scr
    • Serials.txt.exe
    • KAV 5.0
    • Kaspersky Antivirus 5.0
    • Porno pics arhive, xxx.exe
    • Windows Sourcecode update.doc.exe
    • Ahead Nero 7.exe
    • Windown Longhorn Beta Leak.exe
    • Opera 8 New!.exe
    • XXX hardcore images.exe
    • WinAmp 6 New!.exe
    • WinAmp 5 Pro Keygen Crack Update.exe
    • Adobe Photoshop 9 full.exe
    • Matrix 3 Revolution English Subtitles.exe
    • Lolita porn.avi[39 BLANK SPACES].exe
    • nude lolita.jpg[37 BLANK SPACES].exe
    • Doom3_nocd.exe
    • HalfLife2_noCD.exe
    • 12 year old Katia sucks and fucks me in lots of positions. (teen preteen anal cumshot sex young whore school lolita.avi[11 BLANK SPACES].exe

  11. Searches for email addresses from files that contain any of the following extensions:

    • .wab
    • .txt
    • .msg
    • .htm
    • .shtm
    • .stm
    • .xml
    • .dbx
    • .mbx
    • .mdx
    • .eml
    • .nch
    • .mmf
    • .ods
    • .cfg
    • .asp
    • .php
    • .html
    • .wsh
    • .adb
    • .tbb
    • .sht
    • .xls
    • .oft
    • .uin
    • .shtml
    • .mht
    • .dhtm
    • .jsp

  12. Attempts to send a copy of itself to the email addresses it gathered. The email has the following characteristics:

    From: Spoofed.

    Subject:
    One of the following:

    • Re: Msg reply
    • Re: Hello
    • Re:
    • Re:
    • Re: Yahoo!
    • Re: Thank you!
    • Re: Thanks :)
    • RE: Text message
    • Re: Document
    • Incoming message
    • Re: Incoming Message
    • RE: Incoming Msg
    • RE: Message Notify
    • Notification
    • Changes..
    • Update
    • Fax Message
    • Protected message
    • RE: Protected message
    • Forum notify
    • Site changes
    • Re: Hi
    • Encrypted document

      Message:
      One of the following:

    • Read the attach.
    • Your file is attached.
    • Try this.
    • More info is in attach
    • See attach.
    • Please, have a look at the attached file.
    • Your document is attached.
    • Please, read the document.
    • Attach tells everything.
    • Attached file tells everything.
    • Check attached file for details.
    • Check attached file.
    • Pay attention at the attach.
    • See the attached file for details.
    • Message is in attach
    • Here is the file.

      Appended with one of the following:

    • For security reasons attached file is password protected. The password is [IMAGE OF PASSWORD]
    • For security purposes the attached file is password protected. Password -- [IMAGE OF PASSWORD]
    • Note: Use password <img src="[cid:]%s.%s"> to open archive.<br>
    • Attached file is protected with the password for security reasons. Password is [IMAGE OF PASSWORD]
    • In order to read the attach you have to use the following password: [IMAGE OF PASSWORD]
    • Archive password: [IMAGE OF PASSWORD]
    • Password - [IMAGE OF PASSWORD]
    • Password: [IMAGE OF PASSWORD]

      Attachment:
      One of the following in a password protected zipped file:

    • Information.exe
    • Details.exe
    • text_document.exe
    • Updates.exe
    • Readme.exe
    • Document.exe
    • Info.exe
    • Details.exe
    • MoreInfo.exe
    • Message.exe
    • Sources.exe

  13. Avoids sending itself to addresses containing the following strings:

    • f-secur
    • news
    • update
    • anyone@
    • bugs@
    • @hotmail.com
    • @msn.com
    • @microsoft
    • rating@
    • contract@
    • feste
    • gold-certs@
    • help@
    • info@
    • nobody@
    • noone@
    • kasp
    • admin
    • icrosoft
    • support
    • ntivi
    • unix
    • bsd
    • linux
    • listserv
    • certific
    • sopho
    • @foo
    • @iana
    • free-av
    • @messagelab
    • winzip
    • google
    • winrar
    • samples
    • abuse
    • panda
    • cafee
    • spam
    • pgp
    • @avp.
    • noreply
    • local
    • root@
    • postmaster@
    • shar


Recommendations

Symantec Security Response encourages all users and administrators to adhere to the following basic security "best practices":

  • Use a firewall to block all incoming connections from the Internet to services that should not be publicly available. By default, you should deny all incoming connections and only allow services you explicitly want to offer to the outside world.
  • Enforce a password policy. Complex passwords make it difficult to crack password files on compromised computers. This helps to prevent or limit damage when a computer is compromised.
  • Ensure that programs and users of the computer use the lowest level of privileges necessary to complete a task. When prompted for a root or UAC password, ensure that the program asking for administration-level access is a legitimate application.
  • Disable AutoPlay to prevent the automatic launching of executable files on network and removable drives, and disconnect the drives when not required. If write access is not required, enable read-only mode if the option is available.
  • Turn off file sharing if not needed. If file sharing is required, use ACLs and password protection to limit access. Disable anonymous access to shared folders. Grant access only to user accounts with strong passwords to folders that must be shared.
  • Turn off and remove unnecessary services. By default, many operating systems install auxiliary services that are not critical. These services are avenues of attack. If they are removed, threats have less avenues of attack.
  • If a threat exploits one or more network services, disable, or block access to, those services until a patch is applied.
  • Always keep your patch levels up-to-date, especially on computers that host public services and are accessible through the firewall, such as HTTP, FTP, mail, and DNS services.
  • Configure your email server to block or remove email that contains file attachments that are commonly used to spread threats, such as .vbs, .bat, .exe, .pif and .scr files.
  • Isolate compromised computers quickly to prevent threats from spreading further. Perform a forensic analysis and restore the computers using trusted media.
  • Train employees not to open attachments unless they are expecting them. Also, do not execute software that is downloaded from the Internet unless it has been scanned for viruses. Simply visiting a compromised Web site can cause infection if certain browser vulnerabilities are not patched.
  • If Bluetooth is not required for mobile devices, it should be turned off. If you require its use, ensure that the device's visibility is set to "Hidden" so that it cannot be scanned by other Bluetooth devices. If device pairing must be used, ensure that all devices are set to "Unauthorized", requiring authorization for each connection request. Do not accept applications that are unsigned or sent from unknown sources.
  • For further information on the terms used in this document, please refer to the Security Response glossary.

Writeup By: Hyun Choi

Discovered: October 06, 2005
Updated: February 13, 2007 12:45:13 PM
Also Known As: W32/Bagle.df@MM [McAfee], W32/Bagle-AN [Sophos]
Type: Worm
Systems Affected: Windows



Removal using the W32.Beagle@mm Removal Tool
Symantec Security Response has developed a removal tool to clean the infections of W32.Beagle.CK@mm. Use this removal tool first, as it is the easiest way to remove this threat.

The following instructions pertain to all current and recent Symantec antivirus products, including the Symantec AntiVirus and Norton AntiVirus product lines.

  1. Disable System Restore (Windows Me/XP).
  2. Update the virus definitions.
  3. Run a full system scan and delete all the files detected.
  4. Delete any values added to the registry.
For specific details on each of these steps, read the following instructions.

1. To disable System Restore (Windows Me/XP)
If you are running Windows Me or Windows XP, we recommend that you temporarily turn off System Restore. Windows Me/XP uses this feature, which is enabled by default, to restore the files on your computer in case they become damaged. If a virus, worm, or Trojan infects a computer, System Restore may back up the virus, worm, or Trojan on the computer.

Windows prevents outside programs, including antivirus programs, from modifying System Restore. Therefore, antivirus programs or tools cannot remove threats in the System Restore folder. As a result, System Restore has the potential of restoring an infected file on your computer, even after you have cleaned the infected files from all the other locations.

Also, a virus scan may detect a threat in the System Restore folder even though you have removed the threat.

For instructions on how to turn off System Restore, read your Windows documentation, or one of the following articles:
Note:
When you are completely finished with the removal procedure and are satisfied that the threat has been removed, reenable System Restore by following the instructions in the aforementioned documents.

For additional information, and an alternative to disabling Windows Me System Restore, see the Microsoft Knowledge Base article: Antivirus Tools Cannot Clean Infected Files in the _Restore Folder (Article ID: Q263455).

2. To update the virus definitions
Symantec Security Response fully tests all the virus definitions for quality assurance before they are posted to our servers. There are two ways to obtain the most recent virus definitions:
  • Running LiveUpdate, which is the easiest way to obtain virus definitions: These virus definitions are posted to the LiveUpdate servers once each week (usually on Wednesdays), unless there is a major virus outbreak. To determine whether definitions for this threat are available by LiveUpdate, refer to Virus Definitions (LiveUpdate).
  • Downloading the definitions using the Intelligent Updater: The Intelligent Updater virus definitions are posted daily. You should download the definitions from the Symantec Security Response Web site and manually install them. To determine whether definitions for this threat are available by the Intelligent Updater, refer to Virus Definitions (Intelligent Updater).

    The latest Intelligent Updater virus definitions can be obtained here: Intelligent Updater virus definitions. For detailed instructions read the document: How to update virus definition files using the Intelligent Updater.


3. To scan for and delete the infected files
  1. Start your Symantec antivirus program and make sure that it is configured to scan all the files.
  2. Run a full system scan.
  3. If any files are detected, click Delete.

Important: If you are unable to start your Symantec antivirus product or the product reports that it cannot delete a detected file, you may need to stop the risk from running in order to remove it. To do this, run the scan in Safe mode. For instructions, read the document, How to start the computer in Safe Mode . Once you have restarted in Safe mode, run the scan again.

After the files are deleted, restart the computer in Normal mode and proceed with the next section.

Warning messages may be displayed when the computer is restarted, since the threat may not be fully removed at this point. You can ignore these messages and click OK. These messages will not appear when the computer is restarted after the removal instructions have been fully completed. The messages displayed may be similar to the following:

Title: [FILE PATH]
Message body: Windows cannot find [FILE NAME]. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.


4. To delete the value from the registry
Important: Symantec strongly recommends that you back up the registry before making any changes to it. Incorrect changes to the registry can result in permanent data loss or corrupted files. Modify the specified subkeys only. For instructions refer to the document: How to make a backup of the Windows registry.
  1. Click Start > Run.
  2. Type regedit
  3. Click OK.

    Note: If the registry editor fails to open the threat may have modified the registry to prevent access to the registry editor. Security Response has developed a tool to resolve this problem. Download and run this tool, and then continue with the removal.

  4. Navigate to the subkey:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

  5. In the right pane, delete the value:

    "winhost.exe" = "%System%\winhost.exe"

  6. Navigate to and delete the subkey:

    HKEY_CURRENT_USER\SOFTWARE\Timeout

  7. Exit the Registry Editor.


Writeup By: Hyun Choi