W32.Beagle.AX@mm

Printer Friendly Page

Discovered: November 15, 2004
Updated: February 13, 2007 12:29:57 PM
Also Known As: Bagle.AW [F-Secure], I-Worm.Bagle.aw [Kaspersky], WORM_BAGLE.AX [Trend Micro]
Type: Worm
Systems Affected: Windows


W32.Beagle.AX@mm is a mass-mailing worm that also spreads through file-sharing networks. The worm will open a backdoor on TCP port 2002.

Antivirus Protection Dates

  • Initial Rapid Release version November 16, 2004
  • Latest Rapid Release version September 28, 2010 revision 054
  • Initial Daily Certified version November 16, 2004
  • Latest Daily Certified version September 28, 2010 revision 036
  • Initial Weekly Certified release date November 17, 2004

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

Writeup By: Yana Liu

Discovered: November 15, 2004
Updated: February 13, 2007 12:29:57 PM
Also Known As: Bagle.AW [F-Secure], I-Worm.Bagle.aw [Kaspersky], WORM_BAGLE.AX [Trend Micro]
Type: Worm
Systems Affected: Windows


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

  1. Displays the following fake error message. Clicking OK will result in more messages appearing, like:

    Error!
    Can't find a viewer associated with the file

  2. Creates the following seven mutexes:
    • MuXxXxTENYKSDesignedAsTheFollowerOfSkynet-D
    • 'D'r'o'p'p'e'd'S'k'y'N'e't'
    • _-oOaxX|-+S+-+k+-+y+-+N+-+e+-+t+-|XxKOo-_
    • [SkyNet.cz]SystemsMutex
    • AdmSkynetJklS003
    • ____--->>>>U<<<<--____
    • _-oO]xX|-S-k-y-N-e-t-|Xx[Oo-_

      Some of these will prevent Netsky variants from being launched.

  3. Deletes the following values:
    • "My AV"
    • "Zone Labs Client Ex"
    • "9XHtProtect"
    • "Antivirus"
    • "Special Firewall Service"
    • "service"
    • "Tiny AV"
    • "ICQNet"
    • "HtProtect"
    • "NetDy"
    • "Jammer2nd"
    • "FirewallSvr"
    • "MsInfo"
    • "SysMonXP"
    • "EasyAV"
    • "PandaAVEngine"
    • "Norton Antivirus AV"
    • "KasperskyAVEng"
    • "SkynetsRevenge"
    • "ICQ Net"

      from the registry keys:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

      to prevent other malware from being launched when Windows starts.

  4. Creates the following files:
    • %System%\sysinit.exe
    • %System%\sysinit.exeopen
    • %System%\sysinit.exeopenopen
    • %System%\sysinit.exeopenopenopen
    • %System%\sysinit.exeopenopenopenopen

  5. Adds the value:

    "Syskey" = "%System%\sysinit.exe"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

  6. May adds the following registry keys:

    HKEY_CURRENT_USER\Software\Microsoft\DownloadManager
    HKEY_LOCAL_MACHINE\Software\Microsoft\DownloadManager

  7. Attempts to terminate the following processes associated with antivirus and security applications:
    • ATUPDATER.EXE
    • AUPDATE.EXE
    • AUTODOWN.EXE
    • AUTOTRACE.EXE
    • AUTOUPDATE.EXE
    • AVPUPD.EXE
    • AVWUPD32.EXE
    • AVXQUAR.EXE
    • AVXQUAR.EXE
    • CFIAUDIT.EXE
    • DRWEBUPW.EXE
    • ESCANH95.EXE
    • ESCANHNT.EXE
    • FIREWALL.EXE
    • ICSSUPPNT.EXE
    • ICSUPP95.EXE
    • LUALL.EXE
    • MCUPDATE.EXE
    • NUPGRADE.EXE
    • OUTPOST.EXE
    • sys_xp.exe
    • sysxp.exe
    • UPDATE.EXE
    • winxp.exe
    • kavsvc.exe

  8. Opens a backdoor on TCP port 2002 allowing the compromised machine to be used as an email relay.

  9. Sends an HTTP GET request via TCP port 80 to the domain, webnomey.net, where it attempts to contact a .php script.

  10. Attempts to download a file from the domain sash.cc and save it as 1.exe. This file is then executed.

  11. Searches the hard disk for folders containing the string "shar" and copies itself to them with one of the following names:
    • Microsoft Office 2003 Crack, Working!.exe
    • Microsoft Windows XP, WinXP Crack, 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
    • ACDSee 9.exe

  12. Searches for email addresses in files with the following extensions:
    • .wab
    • .txt
    • .msg
    • .htm
    • .shtm
    • .stm
    • .xml
    • .dbx
    • .mbx
    • .mdx
    • .eml
    • .nch
    • .mmf
    • .ods
    • .cfg
    • .asp
    • .php
    • .pl
    • .wsh
    • .adb
    • .tbb
    • .sht
    • .xls
    • .oft
    • .uin
    • .cgi
    • .mht
    • .dhtm
    • .jsp

  13. Uses its own SMTP engine to send email messages to any addresses found.

    The email may have the following characteristics:

    From:
    <spoofed>

    Subject: (One of the following)
    • Re: Msg reply
    • Re: Hello
    • 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 body: (One of the following)
    • Read the attach.
    • Your file is attached.
    • 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.

      Followed by one of the following texts if the attachment is a zip file:
    • For security reasons attached file is password protected.
      The password is [image file containing password]
    • For security purposes the attached file is password protected.
      Password - -- [image file containing password]<
    • Note: Use password [image file containing password] to open archive.
    • Attached file is protected with the password for security reasons.
      Password is [image file containing password]
    • In order to read the attach you have to use the following password:
      [image file containing password]
    • Archive password:[image file containing password]

    • Password - [image file containing password]

    • Password: [image file containing password]


      Attachment: (One of the following)
    • Information
    • Details
    • text_document
    • Updates
    • Readme
    • Document
    • Info
    • Details
    • MoreInfo
    • Message

      followed by one of the extensions:
    • .hta
    • .vbs
    • .exe
    • .scr
    • .com
    • .cpl
    • .zip

      In addition, an image file containing the password may also be attached.

  14. Avoids sending email to addresses containing any of the following strings:
    • @hotmail
    • @msn
    • @microsoft
    • rating@
    • f-secur
    • news
    • update
    • anyone@
    • bugs@
    • 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@


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: Yana Liu

Discovered: November 15, 2004
Updated: February 13, 2007 12:29:57 PM
Also Known As: Bagle.AW [F-Secure], I-Worm.Bagle.aw [Kaspersky], WORM_BAGLE.AX [Trend Micro]
Type: Worm
Systems Affected: Windows


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 as W32.Beagle.AX@mm.
  4. Delete the value that was 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, re-enable 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 the 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 the Virus Definitions (Intelligent Updater).

    The Intelligent Updater virus definitions are available: Read "How to update virus definition files using the Intelligent Updater" for detailed instructions.

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 as infected with W32.Beagle.AX@mm, click Delete.


    Note:
    If your Symantec antivirus product reports that it cannot delete an infected file, Windows may be using the file. To fix 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, you can leave the computer in Safe mode and proceed with section 4. When that is done, restart the computer in Normal mode.)

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 keys only. Read the document, "How to make a backup of the Windows registry ," for instructions.
  1. Click Start > Run.
  2. Type regedit

    Then click OK.

  3. Navigate to the key:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

  4. In the right pane, delete the value:

    "Syskey" = "%System%\sysinit.exe"

  5. Navigate to the following keys if they exist and delete them:
    HKEY_CURRENT_USER\Software\Microsoft\DownloadManager
    HKEY_LOCAL_MACHINE\Software\Microsoft\DownloadManager

  6. Exit the Registry Editor.


Writeup By: Yana Liu