Threat Explorer

The Threat Explorer is a comprehensive resource consumers can turn to for daily, accurate, up-to-date information on the latest threats, risks and vulnerabilities.

VBS.Resreg@mm

VBS.Resreg@mm

Discovered:
11 April 2002
Updated:
13 February 2007
Also Known As:
VBS.Resreg

VBS.Resreg@mm is an Internet worm that is written in VBScript. It uses Microsoft Outlook to spread as the attachment Freemp3s.vbs.



Some threats, like this one, use the VBScript computer language to run. You can protect yourself from threats that use this language by enabling Script Blocking (Norton AntiVirus 2001/2002) or by disabling or uninstalling Windows Scripting Host. Because the Windows Scripting Host is an optional part of Windows, you can safely remove it from your computer. (Some programs, however, do need this feature installed to function properly.)
  • If you are using Norton AntiVirus 2002, which includes Script Blocking, make sure that Script Blocking is enabled (the default).
  • If you are using Norton AntiVirus 2001, a free program update that includes Script Blocking is available. Run LiveUpdate to obtain this update.
  • For other versions of Norton AntiVirus, Symantec Security Response offers a tool to disable the Windows Scripting Host.
  • To disable Windows Scripting Host in Microsoft Outlook Express only, see the Microsoft Knowledge Base document OLEXP: How to Disable Active Scripting in Outlook Express, Article ID: Q192846.


Antivirus Protection Dates

  • Initial Rapid Release version 11 April 2002
  • Latest Rapid Release version 28 September 2010 revision 054
  • Initial Daily Certified version 11 April 2002
  • Latest Daily Certified version 28 September 2010 revision 036
  • Initial Weekly Certified release date 12 April 2002
Click here for a more detailed description of Rapid Release and Daily Certified virus definitions.

VBS.Resreg@mm arrives in the following format:

Subject: Free Access To Thousands Of MP3
Message:
-------------- Trend Micro Online Scanner ----------------
The attached file doesn't contain any malicious routines
-------------------------------------------------------------------

Attachment: Freemp3s.vbs

If the attachment is run, it does the following:

It copies itself to the root of drive C as Freemp3s.vbs.

Next it uses Microsoft Outlook to send itself to the first 101 recipients in the address book, in the format shown above.

It then deletes Freemp3s.vbs.

VBS.Resreg@mm has a type of "backup and recovery" mechanism that it can use to reinstall itself. The script writes 4695 bytes, the hex equivalent of Freemp3s.vbs, into a registry key that it creates:

HKEY_LOCAL_MACHINE\Alcopaul

VBS.Resreg@mm creates the VBScript decoder file Excel.vbs. It also modifies the registry so that Excel.vbs is executed if any other .vbs file is executed. It does this by changing the Value Data of the (Default) value from

"%1" /S

to

wscript.exe c:\excel.vbs

in the registry key

HKEY_CLASSES_ROOT\scrfile\shell\open\command\

When Excel.vbs is run, it recreates the mass-mailing script by reading the data from the Alcopaul registry key, writes a script as C:\Registry.vbs, executes the script, and then deletes the Registry.vbs file.

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.

Delete files that are detected as VBS.Resreg@mm, and reverse the changes that the worm made to the registry. Detailed instructions follow.

To delete files that are detected as VBS.Resreg@mm:
  1. Obtain the most recent virus definitions. There are two ways to do this:
    • Run LiveUpdate. LiveUpdate is the easiest way to obtain virus definitions. These virus definitions have undergone full quality assurance testing by Symantec Security Response and are posted to the LiveUpdate servers one time each week (usually Wednesdays) unless there is a major virus outbreak. To determine whether definitions for this threat are available by LiveUpdate, look at the Virus Definitions (LiveUpdate) line at the top of this write-up.
    • Download the definitions using the Intelligent Updater. Intelligent Updater virus definitions have undergone full quality assurance testing by Symantec Security Response. They are posted on U.S. business days (Monday through Friday). They must be downloaded from the Symantec Security Response Web site and installed manually. To determine whether definitions for this threat are available by the Intelligent Updater, look at the Virus Definitions (Intelligent Updater) line at the top of this write-up.

      Intelligent Updater virus definitions are available here. For detailed instructions on how to download and install the Intelligent Updater virus definitions from the Symantec Security Response Web site, click here.
  2. Start Norton AntiVirus (NAV), and make sure that NAV is configured to scan all files. For instructions on how to do this, read the document How to configure Norton AntiVirus to scan all files.
  3. Run a full system scan.
  4. Delete all files that are detected as VBS.Resreg@mm.

To reverse the changes that the worm made to the registry:

CAUTION : We strongly recommend that you back up the registry before you make any changes to it. Incorrect changes to the registry can result in permanent data loss or corrupted files. Modify only the keys that are specified. Read the document How to make a backup of the Windows registry for instructions.
  1. Click Start, and click Run. The Run dialog box appears.
  2. Type regedit and then click OK. The Registry Editor opens.
  3. Navigate to the following key:

    HKEY_LOCAL_MACHINE
  4. In the right pane, delete the following value:

    Alcopaul
  5. Navigate to the following key:

    HKEY_CLASSES_ROOT\scrfile\shell\open\command
  6. In the right pane, change the value of "(Default)" to this (including the quotation marks):

    "%1" /S
  7. Click Registry, and click Exit.


Writeup By: Patrick Nolan