We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

How do antivirus progams work?

Kate A asks: I would be interested to know how antivirus software actually works. How do they actually kill the viruses? Thank you.

Pete replies: here is a very simplistic explanation. Antivirus software works in two main ways. Firstly, it determines what kind of file it is scanning, then looks for patterns, sometimes called signatures (think of fingerprints) that have been previously identified in known viruses. Secondly, to some extent the antivirus software may apply heuristics (rules of thumb). For instance, if it has webbed feet, feathers and wings and quacks then it's probably a duck, so treat it accordingly.

Removal of an identified virus can be a simple matter of repairing the program file that the virus has infected. In the worst recent cases, removal can be hellishly difficult because the virus is deeply embedded in the bowels of the Windows operating system.

IDG UK Sites

Motorola Moto G2 release date, price and specs: Best budget smartphone gets upgrades

IDG UK Sites

How to join Apple's OS X Beta Seed Program: Get OS X Yosemite on your Mac before public release

IDG UK Sites

Why the BBC iPlayer outage was caused by a DDoS attack: Topsy and Tim isn't *that* popular

IDG UK Sites

How to make an 'Apple iWatch' using an iPod nano and a 3D printer