I. Self-Starting project:
Start --- program --- start, which adds some applications or shortcuts.
This is the most common in windows and the simplest startup Method for applications. If you want to start a file during startup, you can also drag it in or create a shortcut to it. currently, this method is not applicable to common viruses. there are also some meetings.
II. The second self-starting project:This is obviously ignored by people. The usage is exactly the same as that of the first self-starting directory. If you find this directory, drag and Drop the file to be started to start the file.
Path:
C:/Documents and Settings/user/Start Menu/Program/start
3. Start the system configuration file:
Many people may be unfamiliar with the system configuration file. Many viruses are started in this way.
1) Start Windows. ini:
Startup location (xxx.exe is the name of the file to be started ):
?? [Windows]
?? Load=xxx.exe [this method will run in the background]
Run=xxx.exe [This method file will be run by default]
2) Start system. ini:
Startup location (xxx.exe is the name of the file to be started ):
?? Default Value:
?? [Boot]
?? Shelljavaser.exe is a Windows program manager or Windows Resource Manager, which is normal]
?? After the file can be started:
?? [Boot]
?? Shell = assumer.exe xxx.exe [many viruses use this startup method now. It is well concealed when explorer is started]
Note: Because the system.iniand win.ini files are different, system.inican only start a specified file, but do not replace shell‑policer.exe xxx.exewith shell‑xxx.exe, which will paralyze windows!
3) Start wininit. ini:
Wininit is the Windows setup initialization utility.
Before windows is loaded, the system executes commands, including copying, deleting, and renaming, to update files.
File Format:
?? [Rename]
?? XXX1 = xxx2
?? Copy xxx2 to a file named XXX1, which overwrites the XXX1 file.
To delete an object, run the following command:
[Rename]
?? Nul = xxx2
The above file names must contain the complete path.
4) Start winstart. BAT:
This is the batch processing file started by the system. It is mainly used to copy and delete files. For example, some software may leave some residue in the system after it is detached, so its function is coming.
For example:
?? "@ If exist C:/Windows/tempxxxx. Bat call C:/Windows/tempxxxx. bat"
Here is the meaning of executing the XXXX. BAT file
5) Start USERINIT. ini [2/2 supplement]:
This startup method will also be started by some viruses, which is the same as system. ini.
6) Start autoexec. BAT:
This is a common startup method. The virus uses it for some actions. The autoexec. BAT file contains malicious code. For example, format C:/y.
4. Start the registry:Using the Registry to start Windows is the most frequently used one.
Bytes -----------------------------------------------------------------------------------------------------------------
HKEY_LOCAL_MACHINE/software/Microsoft/Windows NT/CurrentVersion/winlogonhkey_local_machine/system/CurrentControlSet/serviceshkey_local_machine/system/controlset001/Session Manager/bootexecute
HKEY_LOCAL_MACHINE/system/controlset001/control/Session Manager/bootexecute
HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/Group Policy objects/Local User/software/Microsoft/Windows/CurrentVersion/policies/Explorer/run
HKLM/software/Microsoft/Windows/CurrentVersion/Explorer/Browser Helper objectshklm/software/Microsoft/Windows NT/CurrentVersion/Windows/appinit_dlls
HKEY_LOCAL_MACHINE/software/Microsoft/Windows NT/CurrentVersion/Winlogon/notify
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/runonceex
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/runservicesoncehkey_local_machine/software/Microsoft/Windows/CurrentVersion/runserviceshkey_current_user/software/Microsoft/Windows/CurrentVersion/runonce/setuphkey_users /. default/software/Microsoft/Windows/CurrentVersion/runhkey_users /. default/software/Microsoft/Windows/CurrentVersion/runoncehkey_local_machine/software/Microsoft/Active Setup/installed componentshkey_local_machine/system/CurrentControlSet/services/vxdhkey_current_user/control panel/desktop
HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/Session Manager
HKEY_LOCAL_MACHINE/system/CurrentControlSet/serviceshkey_local_machine/software/Microsoft/Windows NT/CurrentVersion/Winlogon/userinit
HKEY_CURRENT_USER/software/Microsoft/Windows NT/CurrentVersion/Windows/run
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/shellserviceobjectdelayloadhkey_current_user/software/Microsoft/Windows NT/CurrentVersion/Windows/load
HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/policies/Explorer/runhkey_local_machine/software/Microsoft/Windows/CurrentVersion/policies/Explorer/runhklm/software/classes/protocols/Filter
HKLM/software/classes/protocols/Handler
HKLM/software/Microsoft/Active Setup/Installed Components
HKLM/software/Microsoft/Windows/CurrentVersion/Explorer/sharedtasksched.pdf
HKLM/software/Microsoft/Windows/CurrentVersion/shellserviceobjectdelayload
HKLM/software/Microsoft/Windows/CurrentVersion/Explorer/shellexecutehooks
HKLM/software/Microsoft/Windows/CurrentVersion/Shell extensions/Approved
HKLM/software/classes/folder/shellex/columnhandlers
Hkcu/software/Microsoft/Internet Explorer/urlsearchhooks
HKLM/software/Microsoft/Internet Explorer/Toolbar
HKLM/software/Microsoft/Internet Explorer/extensions
HKLM/system/CurrentControlSet/control/Session Manager/bootexecute
HKLM/software/Microsoft/Windows NT/CurrentVersion/Image File Execution options
HKLM/system/CurrentControlSet/control/Session Manager/knowndlls
HKLM/software/Microsoft/Windows NT/CurrentVersion/Winlogon/uihost
HKLM/software/Microsoft/Windows NT/CurrentVersion/Winlogon/notify
Hkcu/control panel/desktop/scrnsave.exe
HKLM/system/CurrentControlSet/services/Winsock/parameters/protocol_catalog9
HKLM/system/CurrentControlSet/control/print/monitors
HKLM/system/CurrentControlSet/control/LSA/Authentication Packages
HKLM/system/CurrentControlSet/control/LSA/Notification Packages
HKLM/system/CurrentControlSet/control/LSA/security packages
V. Other startup methods:
(1). C:/assumer.exe startup method:
This method is rarely known.
Hosts file.
The search order is as follows:
?? (1 ).?? Search for the current directory.
?? (2 ).?? The system will obtain
?? Obtain the relative path for the information of [HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/Session Manager/Executive/path.
?? (3 ).?? If no file system exists, the system obtains the information of [HKEY_CURRENT_USER/environment/path] to obtain the relative path.
The key value of the relative path stored in [HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/Session Manager/Executive/path] and [HKEY_CURRENT_USER/environment/path] is "% SystemRoot % system32; % SystemRoot % "and null.
Therefore, when the system starts, the "current directory" must be % systemdrive % (System Drive). In this way, the system searches for EXPLORER. EXE in the following order:
?? (1 ).?? % Systemdrive % (for example, C :/)
?? (2 ).?? % SystemRoot % system32 (for example, C:/winnt/system32)
?? (3 ).?? % SystemRoot % (for example, C:/WINNT)
Expired.
?? In the WINNT series, WindowsNT/windows2000add the file name of assumer.exeand set the name of the external shell file (assumer.exe):
[HKEY_LOCAL_MACHINE/software/Microsoft/WindowsNT/CurrentVersion/Winlogon/Shell] and Microsoft has changed this method in Windows 2000 sp2.
(2) Screen Protection Startup Mode:
Windows Screen Saver is *. the scr file is an executable PE file, if you put the screen saver *. SCR is renamed *. *. *. the scr file can still be started normally.
The file path is saved in the SCRNSAVE. EXE = file in system. ini. For example, scansave. EXE =/% system32 % XXXX. scr
This startup method is dangerous.
(3). scheduled task startup method:
In Windows, the scheduled task function means that a program is started at a specific time. This startup method is quite concealed.
[Start] --- [Program] --- [Attachment] --- [System Tools] --- [Schedule Tasks] and perform operations step by step.
(4). autorun. inf startup method:
The autorun. inf file appears when the disc is loaded. When the disc is attached, the optical drive determines whether to open the content of the disc based on the file content.
The content of autorun. inf is usually:
?? [Autorun]
?? Opentracing file name: .exe
?? Icon = icon (icon file). ICO
1.if a trojan is xxx.exe. Then autorun. inf can be as follows:
Open = Windows/xxx.exe
Iconw.xxx.exe
In this case, you can run Trojan xxx.exe every time you double-hit the C drive.
2. If you put autorun. inf in the C root directory, the content is:
Open = D:/xxx.exe
Iconw.xxx.exe
In this case, you can run xxx.exe on the d drive by double-hitting the C drive.
(5). Change the extension startup method:
Change the extension: (*. EXE)
For example, the *. EXE file can be changed to *. bat, *. Scr and other extensions to start.
6. VxD Virtual Device Driver Startup Mode:The application uses the VxD Virtual Device Driver that is dynamically loaded, while the VxD virtual device driver is only applicable to Windows 95/98/ME ).
It can be used to manage 32-bit executable programs for system resources such as hardware devices or installed software, so that several applications can use these resources at the same time.
VII. Service [Service] startup method:
[Start] --- [run] --- enter "services. msc" without quotation marks --- to operate the service project.
Under the "Service Startup Mode" option, you can set the system startup mode: automatically run when the program starts, manually run, or permanently stop the startup, or pause (it will still start after restart ).
Registry location: HKEY_LOCAL_MACHINE/system/CurrentControlSet/services
All programs started through services are run in the background. For example, the Chinese Trojan "gray pigeon" is used to start the background and steal user information.
8. Driver startup method:Some viruses may pretend to be hardware drivers for startup purposes.
1. built-in drivers [start with the standard program provided by the operating system]
2. Drivers provided by the hardware. [start with the standard program provided by the hardware]
3. The driver disguised by the virus itself. [It refers to the standard program disguised by the virus itself to start]
06/3/11 supplement [from peter_yu]:
WINDIR/Start Menu/programs/startupuser/startupall users/startupwindir/system/iosubsyswindir/system/vmm32windir/tasks
C:/assumer.exe
C:/autoexec. bat
C:/config. sys
WINDIR/wininit. ini
WINDIR/winstart. bat
WINDIR/win. ini-[windows] "LOAD"
WINDIR/win. ini-[windows] "run"
WINDIR/system. ini-[boot] "shell"
WINDIR/system. ini-[boot] "scrnsave.exe"
WINDIR/dosstart. bat
WINDIR/system/autoexec. NT
WINDIR/system/config. NT