W32.Mugly.C@mm

Printer Friendly Page

Discovered: December 17, 2004
Updated: February 13, 2007 12:31:08 PM
Also Known As: Email-Worm.Win32.Wurmark.b [Ka, W32/Mugly.c@MM [McAfee], W32/Wurmark-C [Sophos], WORM_MUGLY.C [Trend Micro]
Type: Worm
Systems Affected: Windows



W32.Mugly.C@mm is a worm that uses its own SMTP engine to spread by sending itself as an email attachment to addresses gathered from the compromised computer. The worm also drops and runs a W32.Spybot.Worm variant.



Removing entries from the Hosts file
If this threat has modified the Windows Hosts file, there are two ways to remove these entries:

  • Install and run the current version of LiveUpdate. This will remove only the entries that refer to Symantec domains.
  • Manually edit the Hosts file and remove all the entries that the worm added.

To run the current version of LiveUpdate
  1. Click download LiveUpdate.

    Note:
    If you are not reading this Web page on the computer that is getting the error notice, the address for downloading the file is:

    ftp://ftp.symantec.com/public/english_us_canada/liveupdate/lusetup.exe

    If necessary, you can type this address into the address bar of the problem computer. Changes to the Hosts file will not stop you from getting to this site.

  2. Save the file to the Windows desktop.
  3. Double-click the lusetup.exe icon on the desktop to install LiveUpdate.
  4. Run LiveUpdate.
  5. Did you see the message "LU1860: LiveUpdate has detected a potential security compromise on your computer"?
    • If you did, let LiveUpdate "Remove these entries from the hosts files" (Recommended).
      This should allow LiveUpdate to run.
    • If you did not, that was not the cause of the problem. Return to the Removal section.


To manually edit the Hosts file and remove all the entries that the worm added

Note: The location of the Hosts file may vary and some computers may not have this file. For example, if the file exists in Windows 98, it will usually be in C:\Windows; and it is located in the C:\WINNT\system32\drivers\etc folder in Windows 2000. There may also be multiple copies of this file in different locations.


Follow the instructions for your operating system:
  • Windows 95/98/Me/NT/2000
    1. Click Start, point to Find or Search, and then click Files or Folders.
    2. Make sure that "Look in" is set to (C:) and that "Include subfolders" is checked.
    3. In the "Named" or "Search for..." box, type:

      hosts

    4. Click Find Now or Search Now.
    5. For each Hosts file that you find, right-click the file, and then click Open With.
    6. Deselect the "Always use this program to open this program" check box.
    7. Scroll through the list of programs and double-click Notepad.
    8. When the file opens, delete all the entries in Step number 7 of the "Technical Details" section.
    9. Close Notepad and save your changes when prompted.

  • Windows XP
    1. Click Start > Search.
    2. Click All files and folders.
    3. In the "All or part of the file name" box, type:

      hosts

    4. Verify that "Look in" is set to "Local Hard Drives" or to (C:).
    5. Click More advanced options.
    6. Check Search system folders.
    7. Check Search subfolders.
    8. Click Search.
    9. Click Find Now or Search Now.
    10. For each Hosts file that you find, right-click the file, and then click Open With.
    11. Deselect the Always use this program to open this program check box.
    12. Scroll through the list of programs and double-click Notepad.
    13. When the file opens, delete all the entries in Step number 7 of the "Technical Details" section.
    14. Close Notepad and save your changes when prompted.


Antivirus Protection Dates

  • Initial Rapid Release version December 17, 2004
  • Latest Rapid Release version August 08, 2016 revision 023
  • Initial Daily Certified version December 17, 2004
  • Latest Daily Certified version August 09, 2016 revision 001
  • Initial Weekly Certified release date December 22, 2004

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

Writeup By: Fergal Ladley

Discovered: December 17, 2004
Updated: February 13, 2007 12:31:08 PM
Also Known As: Email-Worm.Win32.Wurmark.b [Ka, W32/Mugly.c@MM [McAfee], W32/Wurmark-C [Sophos], WORM_MUGLY.C [Trend Micro]
Type: Worm
Systems Affected: Windows


When W32.Mugly.C@mm is executed, it performs the following actions:

  1. Copies itself as %System%\xxz.tmp.

    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. Creates the following files:
    • %System%\attached.zip
    • %System%\ANSMTP.DLL (an SMTP engine)
    • %System%\bszip.dll
    • %System%\uglym.jpg
    • %System%\winprotect.exe (a W32.Spybot.Worm variant)
    • %System%\SVKP.sys
    • \bt32.exe

  3. Opens a browser window to display the file %System%\uglym.jpg.



  4. Gathers email addresses from files with the following extensions:
    • .wab
    • .adb
    • .tbb
    • .dbx
    • .asp
    • .php
    • .htm
    • .html
    • .sht
    • .txt
    • .doc

      The worm avoids email addresses that contain the following strings:
    • adaware
    • nod32
    • trendmicro
    • avguk
    • grisoft
    • pandasoftware
    • sophos
    • .gov
    • symantec
    • lavasoft
    • mcafee
    • kaspersky

  5. Registers its own SMTP engine by creating the following registry entries:

    HKEY_CLASSES_ROOT\ANSMTP.MassSender
    HKEY_CLASSES_ROOT\ANSMTP.MassSender.1
    HKEY_CLASSES_ROOT\ANSMTP.OBJ
    HKEY_CLASSES_ROOT\ANSMTP.OBJ.1
    HKEY_CLASSES_ROOT\CLSID\{253664FB-EDFC-4AC6-BD69-B322F466AEED}
    HKEY_CLASSES_ROOT\CLSID\{887A577B-406B-48FF-80CB-70752BFCD7B4}
    HKEY_CLASSES_ROOT\TypeLib\{DE6317F7-6EF0-45C2-88D1-8E09415817F1}
    HKEY_CLASSES_ROOT\Interface\{68B8DCDB-EFA4-420A-BB8A-71B9892A2063}
    HKEY_CLASSES_ROOT\Interface\{1E98666F-6260-42C9-B846-32B20FDEFE7B}
    HKEY_CLASSES_ROOT\Interface\{A5F6C90C-ABE4-4C57-A421-8C5A202AA9F8}
    HKEY_CLASSES_ROOT\Interface\{B13281CF-8778-4C98-AE23ABBA4637A33D}

  6. Adds the value:

    "virtual" = "winprotect.exe"

    to the registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
    RunServices
    HKEY_CURRENT_USER\Software\Microsoft\OLE\

    so that it is executed every time Windows starts.

  7. Registers and starts a new Service called SVKP.

  8. Uses its own SMTP engine (%System%\ANSMTP.DLL) to send itself to email addresses gathered from the infected computer. The email has the following characteristics:

    From:
    The worm attempts to query the registry key, HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts\00000001\SMTP Email Address, to obtain a From address.

    The worm will use one of the following addresses as the From address if it is unsuccessful in the above query:
    • mery@msn.com
    • romeorichard@google.com
    • George@cnet.com
    • michael88@hotmail.com
    • administrator@hotmail.com
    • monika666@gmail.com
    • hunky78@norton.com
    • Ales56@mcafee.com
    • tit_fuck_909@gmail.com
    • micheangelo@yahoo.com
    • angy@hotmail.com
    • britny@paltalk.com
    • goonish88@aol.com
    • george88@download.com

      Subject: (One of the following)
    • Hhahahah lol!!!!
    • Your Pic On A Website!!
    • You have an Admirer
    • Rate My Pic.......

      Message: (One of the following)
    • i found this on my computer from ages ago
      download it and see if you can remember it
      lol i was lauging like mad when i saw it! :D
      email me back haha...
    • I was looking at a website and came across
      this pic they look just like you! infact im sure
      it is lol , did you send this pic into them ? or
      is it someonce else :S ? Ive Added the pic in
      a zip so download it and check & email me back!
    • Hi ive sent 5 emails now and nobody will rate
      my pic!! :( please download and tell me what you
      think out of 10 , dont worry if you dont like it
      just say i wont be offended p.s i was drunk when
      it was taken :P
    • Someone has asked us on there behalf to send
      you this email and tell you they think you are
      wonderfull!!! All the The mystery persons details
      you need are enclosed in the attachment :)
      please download and respond telling us if you
      would like to make further contact with this
      person.

      Regards Hallmark Admirer Mail Admin.

      Attachment: attached.zip

      The attachment is a zipped copy of the worm. It contains one of the following files:
    • Pic_001.exe
    • Mary-Christmas.scr
    • Hapy-new-year.scr
    • Photo_01.pif
    • admire_001.exe
    • is_this_you.scr
    • love_04.scr
    • for_you.pif

  9. Overwrites the %System%\drivers\etc\hosts file with the following entries, in an attempt to disable access to several security-related Web sites:

    127.0.0.1       localhost
    127.0.0.1       rads.mcafee.com
    127.0.0.1       liveupdate.symantecliveupdate.com
    127.0.0.1       update.symantec.com
    127.0.0.1       downloads-us2.kaspersky-labs.com
    127.0.0.1       downloads-us3.kaspersky-labs.com
    127.0.0.1       downloads-us4.kaspersky-labs.com
    127.0.0.1       updates3.kaspersky-labs.com
    127.0.0.1       symantecliveupdate.com
    127.0.0.1       symatec.com
    127.0.0.1       downloads3.kaspersky-labs.com
    127.0.0.1       ftp.downloads1.kaspersky-labs.com
    127.0.0.1       liveupdate.symantecliveupdate.com
    127.0.0.1       liveupdate.symantec.com
    127.0.0.1       updates1.kaspersky-labs.com
    127.0.0.1       downloads-us1.kaspersky-labs.com
    127.0.0.1       updates1.kaspersky-labs.com
    127.0.0.1       updates2.kaspersky-labs.com
    127.0.0.1       updates3.kaspersky-labs.com
    127.0.0.1       downloads1.kaspersky-labs.com
    127.0.0.1       downloads2.kaspersky-labs.com
    127.0.0.1       downloads3.kaspersky-labs.com
    127.0.0.1       ftp.downloads1.kaspersky-labs.com
    127.0.0.1       ftp.downloads2.kaspersky-labs.com
    127.0.0.1       ftp.downloads3.kaspersky-labs.com


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: Fergal Ladley

Discovered: December 17, 2004
Updated: February 13, 2007 12:31:08 PM
Also Known As: Email-Worm.Win32.Wurmark.b [Ka, W32/Mugly.c@MM [McAfee], W32/Wurmark-C [Sophos], WORM_MUGLY.C [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.Mugly.C@mm.
  4. Delete the value that was added to the registry.
  5. Delete files created by the threat.
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.

    Note: If you see an error, such as LU1418, when you try to run LiveUpdate and you cannot get the Web site hosting the Intelligent Updater, it is likely that the worm has modified the Hosts file. You can either download and install LiveUpdate 2.5, which can remove Symantec entries from that file, or you can edit it yourself. See the instructions for both in the "Additional Information" section below.


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.Mugly.C@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. If you are not using ANSMTP, navigate to and delete the following registry entries:

    HKEY_CLASSES_ROOT\ANSMTP.MassSender
    HKEY_CLASSES_ROOT\ANSMTP.MassSender.1
    HKEY_CLASSES_ROOT\ANSMTP.OBJ
    HKEY_CLASSES_ROOT\ANSMTP.OBJ.1
    HKEY_CLASSES_ROOT\CLSID\{253664FB-EDFC-4AC6-BD69-B322F466AEED}
    HKEY_CLASSES_ROOT\CLSID\{887A577B-406B-48FF-80CB-70752BFCD7B4}
    HKEY_CLASSES_ROOT\TypeLib\{DE6317F7-6EF0-45C2-88D1-8E09415817F1}
    HKEY_CLASSES_ROOT\Interface\{68B8DCDB-EFA4-420A-BB8A-71B9892A2063}
    HKEY_CLASSES_ROOT\Interface\{1E98666F-6260-42C9-B846-32B20FDEFE7B}
    HKEY_CLASSES_ROOT\Interface\{A5F6C90C-ABE4-4C57-A421-8C5A202AA9F8}
    HKEY_CLASSES_ROOT\Interface\{B13281CF-8778-4C98-AE23ABBA4637A33D}
  4. Delete the value:

    "virtual" = "winprotect.exe"

    from the registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
    RunServices
    HKEY_CURRENT_USER\Software\Microsoft\OLE\

  5. Delete the registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SVKP

    to remove the SVKP service.
  6. Exit the Registry Editor.

5. To delete the files that the threat created
Navigate to and delete the following files:
    • %System%\uglym.jpg
    • %System%\ANSMTP.DLL (valid ActiveX email engine)
    • %System%\bszip.dll (valid archive engine)
    • %System%\attached.zip
    • %System%\SVKP.sys


Writeup By: Fergal Ladley