Types of Virus
When talking about viruses, it is important that you have an understanding that not all viruses
are created equal. You should understand that there are different types even if you don’t
memorize all the forms they can take. Knowing the different forms of a virus can be helpful for
troubleshooting and diagnosis later.
With that, let’s get started.
Boot Sector Virus Viruses of this type specifically target the boot sector of a drive or the
location where boot information is stored by several operating systems. This type of viruses
first appeared back in the MS-DOS days, but they still are alive and well and show up from time
to time.
Browser Hijacker This is a relatively newcomer on the scene that propagates by taking
advantage of vulnerabilities or functions contained within a web browser. These viruses are
known to do anything from changing the home page to forcefully downloading other things
onto a victim’s computer.
File Infector Virus This type of virus is one of the most common ones seen in the wild. To be
classified as a file infector virus, the infector must embed itself in a file and then wait for that
file to be executed. The difference between this virus and direct action types is that this type
overwrites or does other damage to the host file.
Macro Virus This type of malware uses the macro languages built into Microsoft Office
applications as well as others. The danger with this virus is that it can be embedded into a
harmless document waiting for that document to load and execute the macro.
Multipartite Virus This type of virus is particularly nasty as it spreads by using multiple
methods at once. The method of infection can vary depending on applications, OS version, and
even how the author intended the virus to operate.
Polymorphic Virus To fit into this category, a virus will need to rewrite itself over again and
again over a period of time. By taking this action, the virus becomes much harder to detect
because it will not look the same if it is caught again. Some of the more advanced derivations of
this type of virus will even employ encryption to hide their activities.
Resident Virus This broad virus definition applies to any virus that runs and then loads itself
into memory, waiting to infect files that match what it is looking for.
Web Scripting Virus Many websites execute complex code in order to provide interesting
content. Of course, this code can sometimes be exploited, making it possible for a virus to
infect a computer or take actions on a computer through a website.
Encrypted Viruses This type of virus consists of a payload which is paired with an
encryption engine which is used to encrypt the whole virus package. The viruses use encrypted
code techniques that make it difficult for antivirus software to detect them.
Email Virus This is a virus spread via email. Such a virus will hide in an email and when the
recipient opens the mail the payload will execute and cause its damage.
Logic Bombs These are not considered viruses because they do not replicate. They are not
even programs in their own right but rather camouflaged segments of other programs. Their
objective is to destroy data on the computer once certain conditions have been met. Logic
bombs go undetected until launched, and the results can be destructive.