Home  >  Article  >  There are two major categories of computer viruses. What are they?

There are two major categories of computer viruses. What are they?

烟雨青岚
烟雨青岚Original
2020-07-10 17:14:118276browse

There are two major categories of computer viruses: file viruses and system boot viruses. File-type viruses mainly infect executable files (.exe) and command files (.com) in the computer; system boot-type viruses refer to computer viruses that parasitize in the boot area or main boot area of ​​the disk.

There are two major categories of computer viruses. What are they?

There are two major categories of computer viruses: file viruses and system boot viruses

File-type virus

File-type virus is a type of computer virus that mainly infects executable files (.exe) and command files (.com) in the computer. File-type viruses modify the source files of the computer to make them new virus-carrying files. Once the computer runs the file, it will be infected and spread.

File-type viruses are divided into two categories: one is to add the virus to the front of the COM, and the other is to add the virus to the end of the file.

The main objects of file virus infection are .COM and .EXE files.

System boot virus

Boot virus refers to a computer virus that lives in the boot sector or main boot sector of a disk.

This kind of virus takes advantage of the shortcoming of not judging whether the contents of the main boot area are correct or not when the system is booted. It invades the system during the boot system, resides in the memory, monitors the system operation, and infects and destroys in standby mode. .

According to the parasitic location of boot viruses on the hard disk, they can be subdivided into main boot record viruses and partition boot record viruses.

Master boot record viruses infect the main boot area of ​​the hard disk, such as marijuana virus, 2708 virus, torch virus, etc.; partition boot record viruses infect the active partition boot record of the hard disk, such as ball virus, Girl virus, etc.

For more related knowledge, please visit PHP Chinese website! !

The above is the detailed content of There are two major categories of computer viruses. What are they?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn