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

Best Black Friday 2014 tech deals: Get bargains on smartphones, tablets, laptops and more

IDG UK Sites

What the Internet of Things will look like in 2015: homes will get smarter, people might get fitter

IDG UK Sites

See how Trunk's animated ad helped Ade Edmondson plug The Car Buying Service

IDG UK Sites

Yosemite tips: Complete Guide to OS X Yosemite