Basic PC Tips

Viruses - what they are, what they do and how to protect your computer

What is a virus?
Worm
Trojan Horse
Types of Virus
File infector viruses
Boot sector viruses
Master boot record viruses
Multi-partite viruses
Macro viruses
Symptoms of virus infections
Protecting yourself from virus infection
Things that are probably not a virus
Virus Hoaxes
Related Documents

What is a virus?

A virus is a program that is designed to change the way a computer works, often causing harm to the computer or files stored on that computer.

All viruses will display both of the following behaviors:

  1. Replication - A virus must be able to replicate itself, either by changing the data within files on the computer or replacing files with copies of itself.
  2. It must run itself - A virus will run (or execute) without the knowledge or intent of anybody using the computer. It might do this by 'attaching' itself to legitimate programs or changing the configuration of the operating system so that it is run automatically.

Some viruses are written specifically to cause damage to files and programs stored on the computer. Less harmful viruses may not be designed to cause damage, but rather just to replicate themselves and announce their presence through text, video or audio messages (although even these can cause problems for the computer user as they use computer resources, which can cause the computer to slow down or crash).

A standard virus will only attempt to infect the computer that it is on, and relies on being spread to other computers through emails and sharing files.

There are two further sub-classes of virus:

Worm

Worms are viruses that are designed to spread to other computers across network connections, without the need for a file to be sent to the other computers.

Trojan Horse

A Trojan Horse is a program that pretends to be legitimate but, in fact, is malicious.

An important difference between a Virus and a Trojan Horse is that while a Virus will attempt to replicate itself and spread it's infection, a Trojan Horse won't. Trojans are malicious programs that, when triggered cause damage to, or theft of, data. However, you must 'invite' them onto your computer - perhaps by opening an email attachment or downloading and running a file from the internet.

The line between a Virus and Spyware becomes very grey here, as Trojans are also considered to be a type of Spyware. I would make the distinction based on the effect of the Trojan. One that causes damage would, in my eyes, be a Virus - whereas a Trojan that installs a program to steal data I would class to be a form of Spyware.

I will use the term Virus to refer to Viruses, Worms and Trojans for the rest of this document.
Top

Types of Virus

Viruses fall into one of five types.

File infector viruses

This type of virus infects program files - these are the files that contain the instructions to run applications (as opposed to data files, which store the information you create).

Many of this type of virus stay in your computer's memory while the computer is on. This way they can infect other program files that are run, and so spread throughout your computer.

Examples of this type of virus are: Jerusalem and Cascade

Boot sector viruses

The boot area of a disk is a part of the disk containing a small program that tells the computer what to do when it is turned on.

A boot sector virus will infect this area of the disk and run whenever the computer is booted from the infected disk (which is nearly always your C: disk).

A boot sector virus always remains in memory and will then infect any floppy disk that is inserted into the computer.

Examples of this type of virus include: Form, Disk Killer, Michelangelo and Stoned

Top

Master boot record viruses

These viruses are very similar to boot sector viruses, differing only in where the actual virus file is located.

If a Windows NT or XP computer is infected with a master boot record virus it will not start.

Examples of this type of virus include: NYB, AntiExe and Unashamed

Multi-partite viruses

Also known as polypartite viruses, these infect both program files and boot sectors. However, they are relatively easy to remove. They must be removed from both program files and the boot sector at the same time. If removed from just program files, the boot sector version will reinfect the program files, and vice versa.

Examples of this type of virus include: Emporor, Anthrax and Tequilla

Macro viruses

These are the most common type of virus and infect data files on your hard disk.

Many large programs know come with their own internal programming language to allow users to automate processes (for example the Microsoft Office applications). A macro virus is written to exploit this language and cause damage.

Due to the fact that they are easy to create, there are many thousands of this type of virus in circulation.

Examples of this type of virus include: W97M.Melissa, WM.NiceDay and W97M.Groov

Top

Symptoms of virus infections

If your computer has been infected with a virus, the following symptoms are just a few examples of the behavior you might experience:

Other symptoms that you may experience, but which could also be caused by problems other than viruses include:

Many of these symptoms can also signify infection by Spyware.
Top

Protecting yourself from virus infection

Since virus protection can only be developed for a specific virus after is has been discovered 'in the wild', it is impossible to have 100% protection from virus infection.

With all the noise about viruses it is easy to assume that they are everywhere, and that you will get infected from every website. This isn't the case and a few simple steps can minimize your risk of infection. To ensure that you are protected as much as possible you should observe the following points:

Microsoft have ended support for Windows NT Workstation, Windows 95, Windows 98 and Windows ME. This means that there will be no more security updates made available for these operating systems.

If you have a computer running one of these early versions of Windows you should consider upgrading your system (this will probably also involve upgrading your computer)

Top

Things that are probably not a virus

Top

Virus Hoaxes

You may have received emails that warn you about viruses, often these emails are hoaxes. In reality, they are nothing more than an electronic form of chain letters.

Here is a list of some of the common terms that can be found in these hoax emails:

Most hoax emails have one or more of these phrases, or something similar, in them. If you are unsure whether an email is a hoax you can search on Google for key phrases in the email.

You shouldn't forward these emails - it just adds to the hoax and helps create extra email traffic.

Top

Related Documents: