Question/Issue:
You suspect that you have a virus, worm or Trojan horse program loading every time Windows starts, but you cannot determine from where it is loading. You would like some tips for tracking down the loading point of the virus, worm, or Trojan horse.
Solution:
For information about specific viruses, Trojans and worms, read the Symantec Security Response Virus Encyclopedia.
Many viruses, worms, and Trojans load at startup and a few actually write back to these startup points during shut down, such as BUDDYLIST.EXE. The following items are the most common loading points for viruses, worms, and Trojans.
System files
You can open system files using the System Editor. To start the System Editor, click Start, and then click Run. Type sysedit then click OK.
Autoexec.bat
Programs can load from anywhere in this file. Be especially suspicious of files that name themselves similar to legitimate DOS or Windows file names. For example, Command.bat and Explore.exe. The Autoexec.bat file is not commonly used to load viruses, worms, and Trojans.
Win.ini
[windows]
load=
run=
Programs loading from the WIN.INI file will generally be loaded from the LOAD= or RUN= lines in the [WINDOWS] section. Beware of files that load from here but are off at the end of the line. The line may be very long and can scroll off the right edge of the screen. Be on the lookout for scroll bars at the bottom of the window. This indicates that there is something off the edge of the field of view. Scroll to the right and make sure there is nothing there.
System.ini
[boot]
shell=explorer.exe
On the shell= line in the [boot] section of the System.ini file there can be up to two entries. Therefore, it is possible to throw a second executable file on this line and have it load up with the shell. Other things to look for here are a scroll bar on the bottom (implying that there is more text off to the right that you are not able to see) and a second executable name, such as Trojan.exe.
Winstart.bat
Programs can be loaded at any location in this file. On startup, the system will look through the entire path for the Winstart.bat file. If it exists, it will be run just like any other batch file.
References:
For information on common loading points with Windows NT, Windows 2000 or Windows XP, read Symantec Knowledge Base article, Common loading points for viruses, worms, and Trojan horse programs on Windows NT/2000/XP.
Available Translations:
Document ID: 1999052415383948
Last Modified: 09/20/2007
Date Created: 05/24/1999
Operating System(s): Windows 95, Windows 98, Windows Me, DOS/Windows 3.1x
Product(s): Symantec AntiVirus Corporate Edition 8.0, Symantec AntiVirus Corporate Edition 9.0, Symantec AntiVirus for Handhelds - Corporate Edition, Symantec AntiVirus for Handhelds - Corporate Edition for wireless devices, Symantec Client Firewall 8.0, Symantec Client Firewall 8.7, Symantec Client Security 3.0, Symantec Client Security 3.1, Symantec Client Security for Nokia Communicator - Corporate Edition, Symantec Desktop Firewall 2.0, Symantec Event Manager for Antivirus 2.0, Symantec Mobile Security 4.0 for Symbian - Enterprise
Release(s): SAV 8.0 [All Releases], SAV 9.0 [All Releases], Symantec AntiVirus for Handhelds - Corporate Edition 3.0, Symantec AntiVirus for Handhelds - Corporate Edition 3.3, Symantec AntiVirus for Handhelds - Corporate Edition 3.5, Symantec AntiVirus for Handhelds - Corporate Edition for wireless devices 3.2, Symantec AntiVirus for Handhelds - Corporate Edition with Event and Configuration Manager 3.0, Symantec AntiVirus for Handhelds [All Releases], Symantec Client Firewall 8.7 [All Releases], Symantec Client Firewall 8.x [All versions], Symantec Client Security 3.0 for Nokia Communicator - Corporate Edition, Symantec Client Security 3.1 [All Releases], Symantec Client Security 3.x [All versions], Symantec Desktop Firewall 2.0 [All Releases], Symantec Event Manager for Antivirus 2.0 [All Releases], Symantec Mobile Security 4.0 for Symbian [All Versions]