W32.Swen.A@mm Removal Tool

Discovered on: September 19, 2003
Last Updated on: September 23, 2003 09:29:38 AM PDT

Symantec Security Response has developed a removal tool to clean W32.Swen.A@mm infections.

What the tool does


The W32.Swen.A@mm Removal Tool does the following:

  1. Terminates the W32.Swen.A@mm viral processes.
  2. Deletes the W32.Swen.A@mm files.
  3. Deletes the dropped files.
  4. Deletes the registry values that the worm added.

Available command-line switches for this tool


Switch

Description

/HELP, /H, /?

Displays the help message.

/NOFIXREG

Disables the registry repair. (We do not recommend using this switch).

/SILENT, /S

Runs the tool in silent mode.

/LOG=<path name>

Creates a log file where <path name> is the location in which the log will be placed. By default, this switch creates the log file, FixSwen.log, within the same folder from which the removal tool was executed.

/MAPPED

Scans the mapped network drives. (We do not recommend using this switch. See the following Note.)

/START

Forces the tool to immediately start scanning.

/EXCLUDE=<path>

Excludes the specified <path> from scanning. (We do not recommend using this switch.)

Note: Using the /MAPPED switch does not ensure the complete removal of the virus on the remote computer, because:
Therefore, you should run the tool on every computer.


Obtaining and running the tool


Note:  You must have administrative rights to run this tool on Windows NT 4.0, Windows 2000, or Windows XP.


WARNING:  For network administrators. If you are running MS Exchange 2000 Server, it is recommended that you exclude the M drive from the scan by running the tool from a command line with the Exclude switch. Regardless of whether you do this, before running the tool, back up all the data on the M drive. For information on why this is necessary, read the Microsoft Knowledge Base article "XADM: Calendar Items Disappear from User's Folders" (Article 299046).


  1. Download the FixSwen.exe file.
  2. Save the file to a convenient location, such as your downloads folder or the Windows desktop (or removable media known to be uninfected).
  3. To check the authenticity of the digital signature, refer to the "Digital signature" section later in this writeup.
  4. If you are running Windows Me or XP, then disable System Restore. Refer to the "System Restore option in Windows Me/XP" section later in this writeup for further details.


    WARNING: If you are running Windows Me/XP, we strongly recommend that you do not skip this step.

  5. Double-click the FixSwen.exe file to start the removal tool.


    Note: If the worm has already executed, and you have deleted or quarantined the worm's files using your Symantec antivirus product, the tool will not run due to the changes made to the registry. If this happens on a Windows NT/200/XP system, follow these additional steps:

    a. Start Windows Explorer.
    b. Click View > Options (Windows NT) or Tools > Folder Options (Windows 2000/XP).
    c. Click the View tab.
    d. Uncheck "Hide file extensions for known file types." Click Yes if you see a warning dialog box.
    e. Click Apply, and then click OK.
    f. Right-click the FixSwen.exe file, and then click Rename. Rename it to FixSwen.cmd. Confirm the renaming, if prompted.
    h. Double-click the FixSwen.cmd file, and then continue with the steps.


  6. Click Start to begin the process, and then allow the tool to run.
  7. Restart the computer.
  8. Run the removal tool again to ensure that the system is clean.
  9. If you are running Windows Me/XP, then re-enable System Restore.
  10. Run LiveUpdate to make sure that you are using the most current virus definitions.

Note: The removal procedure may not be successful if Windows Me/XP System Restore is not disabled as previously directed, because Windows prevents outside programs from modifying System Restore.

When the tool has finished running, you will see a message indicating whether W32.Swen.A@mm infected the computer. In the case of a worm removal, the program displays the following results:

Digital signature

FixSwen.exe is digitally signed. Symantec recommends that you only use copies of FixSwen.exe, which have been directly downloaded from the Symantec Security Response Web site. To check the authenticity of the digital signature, follow these steps:
  1. Go to http://www.wmsoftware.com/free.htm.
  2. Download and save the chktrust.exe file to the same folder in which you saved FixSwen.exe (for example, C:\Downloads).
  3. Depending on your operating system, do one of the following:
  4. Change to the folder in which FixSwen.exe and Chktrust.exe are stored, and then type: chktrust -i FixSwen.exe.

    For example, if you saved the file to the C:\Downloads folder, you would enter the following commands:

    cd\
    cd downloads
    chktrust -i FixSwen.exe


    Press Enter after typing each command. If the digital signature is valid, you will see the following:

    "Do you want to install and run "W32.Swen.A@mm Removal Tool" signed on 9/19/2003 17:32 (UTC) and distributed by Symantec Corporation?"

    Note
  5. Click Yes to close the dialog box.
  6. Type exit, and then press Enter. (This will close the MS-DOS session.)

System Restore option in Windows Me/XP
Users of Windows Me and Windows XP should 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 computer becomes infected with a virus, worm, or Trojan, it is possible that System Restore backed 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 to restore an infected file onto your computer even after you have cleaned the infected files from all the other locations.

Also, in some cases, online scanners may detect a threat in the System Restore folder even though you scanned your computer with an antivirus program and did not find any infected files.

For instructions on how to turn off System Restore, read your Windows documentation, or one of the following articles:


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