Computer Virus

What is a Computer Virus ?

A computer virus is a type of malicious software program that is designed to replicate itself and spread from one computer to another. It is typically created by hackers and cybercriminals who use it to cause harm to computer systems, steal sensitive information, or disrupt the normal functioning of a computer network.

Types of Computer Virus:

There are many different types of computer viruses, and new ones are continually being developed. Some common types of computer viruses include:

1. Boot Sector Virus

A boot sector virus is a type of virus that infects the boot sector of a computer's hard drive, which allows them to activate each time the computer is turned on. The boot record program responsible for the booting of the operating system. The virus either copies the master boot program to another part of the hard disk or overwrites it.

2. Direct Action Virus

A direct Action virus is a type of virus that attaches itself to an executable file like .exe or .com file. The direct action virus is considered to be "non-resident" and functions by selecting one or more files to infect each time the code is executed.

3. Macro Virus

A macro virus is a type of computer virus that infects files that contain macros, such as Microsoft Word documents, Excel spreadsheets, or PowerPoint presentations. Macros are small programs that automate repetitive tasks and are commonly used in these types of files.

4. Multipartite Virus

A multipartite virus is a type of computer virus that can infect multiple parts of a computer system, including the boot sector, executable files, and other areas of the hard drive. This makes multipartite viruses more difficult to detect and remove than other types of viruses.

5. Polymorphic Virus

A polymorphic virus is a type of computer virus that can change its code or signature in order to evade detection by antivirus software. Polymorphic viruses use encryption or obfuscation techniques to make each instance of the virus look different, even though they perform the same function.

6. Resident Virus

A resident virus is a type of computer virus that resides in the computer's memory and remains active even after the infected program has been closed. This type of virus can infect other programs or files as they are opened, and it can remain on a computer system even after a reboot.


To protect against computer viruses, it is important to use antivirus software and keep it up-to-date. This software can scan for and remove viruses from a computer system, as well as provide real-time protection against new viruses. It is also important to practice safe browsing habits, such as avoiding suspicious websites and not opening email attachments from unknown senders.

Like this Article? Please Share & Help Others: