Sophos

Online support

Product maintenance

Contact support

Support services

Removing Trojans

1. Using Enterprise Console
2. Sophos Anti-Virus for Windows, version 7
3. Windows 95/98/Me
4. Macintosh OS X computers
5. NetWare
6. Linux
7. UNIX
8. OpenVMS

Trojans infect computers, but do not infect files. They can simply be identified and deleted. However, they often make registry or startup file changes so that they are executed on boot-up. Check the threat analysis for details of such behavior.

1. Using Enterprise Console

You can remove Trojans over a network using Enterprise Console.

2. Sophos Anti-Virus for Windows, version 7

To remove a Trojan:

If Sophos Anti-Virus cannot delete files because they are held open by the operating system, make a note of the names of the files, then do as follows.

  1. Download an emergency copy of SAV32CLI. On an uninfected Windows computer, run this file to extract the contents into a SAV32CLI folder on a medium that can be write-protected. Copy the SAV32CLI folder produced onto a medium that can be write-protected. Add any relevant IDEs to this folder and write-protect the disk (on a CD/R or CD/RW close the session).
  2. Restart the computer in Safe Mode. Go to Start|Shut Down. Select 'Restart' from the dropdown list and click 'OK'. Windows will restart. Press F8 when you see the following text at the bottom of the screen "For troubleshooting and advanced startup options for Windows 2000, press F8". In the Windows 2000 Advanced Options Menu, select the third option 'Safe Mode with Command Prompt'.
  3. At the affected computer, place the CD in the CD drive (D: in this example). At the command prompt type

    D:

    to access the CD drive. Type:

    CD SAV32CLI

    Then type:

    SAV32CLI -REMOVE -P=C:\LOGFILE.TXT

    to remove the file.
  4. Before leaving Safe Mode, edit any registry entries mentioned in the analysis recovery instructions. If problems persist, contact support.

3. Windows 95/98/Me

To remove a Trojan:

If the Trojan cannot be removed because the files are held open by the operating system:

You will need SWEEP for DOS on floppy disk. To do this, make a set of Emergency SAV disks.

4. Macintosh OS X computers

To remove a Trojan:

5. NetWare

Note: This will delete any documents infected with macro viruses. Deal with them first.

6. Linux

7. UNIX

8. OpenVMS

For details on the use of these command line qualifiers and sample batch files using them, see the Sophos Anti-Virus for OpenVMS