Best for · VPN
Antivirus definition: what antivirus software is, how it works, and what it does not do
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Antivirus software is a program that watches your computer or phone for malicious software and stops it, removes it, or locks it away.
Compared here
- 01Microsoft Defender
- 02Bitdefender
- 03Norton
- 04McAfee
- 05Malwarebytes
Short answer
Antivirus software is a program that watches your computer or phone for malicious software and stops it, removes it, or locks it away. The US standards body NIST defines it as "a program that monitors a computer or network to identify all major types of malware and prevent or contain malware incidents."
Despite the name, modern antivirus is not just about viruses. It also deals with ransomware, spyware, trojans, worms and dodgy apps, which is why "antivirus" and "anti-malware" now mean the same thing. It finds threats in four main ways: matching known signatures, heuristics that judge a file's structure, behaviour monitoring that catches a program acting badly, and cloud lookups that spot brand-new threats within moments.
You probably already have one: Microsoft Defender is built into Windows and scored 6 out of 6 for protection in AV-Test's October 2026 test. Definitions from NIST, Microsoft and AV-Test, read 4 December 2026.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Detection method | What it does | Catches | Weakness |
|---|---|---|---|
| Signature matching | Compares files with a list of known malware fingerprints | Known threats, fast and reliable | Misses anything new or altered |
| Heuristics | Judges a program's structure and attributes for malware-like traits | Variants of known families | Can cause false alarms |
| Behaviour monitoring (real-time) | Watches what running programs do, like mass-encrypting files | New and polymorphic malware, ransomware | Acts only once something runs |
| Cloud-delivered protection | Sends suspicious samples or fingerprints for instant analysis | Brand-new threats within moments | Needs an internet connection |
| Machine learning | Models trained on huge malware sets score new files | Unknown files that look malicious | Not perfect; vendors combine it with the above |
"Antivirus" is one of those words everyone uses and few people could define on the spot. Is it the thing that came with your laptop? The thing your bank told you to install? The thing Windows keeps nagging about? A bit of all three.
Here is the plain definition, how it works under the bonnet, what it does not do, and how to tell if you are covered.
How we wrote this: definitions come from the US National Institute of Standards and Technology (NIST), Microsoft's own technical documentation, and a security vendor's glossary, all read on 4 December 2026. Lab results come from AV-Test's October 2026 Windows test. Some vendors named here may pay us through our links; that does not change a definition.
The definition
Antivirus software is a program that protects a device from malicious software (malware). It does three jobs:
- Detect harmful files and programs
- Prevent them from running or spreading
- Contain or remove them, usually by deleting them or putting them in quarantine
NIST, the US government's standards lab, defines it like this: "A program that monitors a computer or network to identify all major types of malware and prevent or contain malware incidents." That comes from NIST's guide to malware incident prevention, SP 800-83.
Note the words "all major types of malware". The name is old. The job is bigger.
Why it is called antivirus when it does more
A computer virus is one specific kind of malware: code that attaches itself to other files and spreads when they are run. In the 1980s and early 1990s, that was most of the threat. Malwarebytes' glossary traces modern viruses back to Elk Cloner, which spread on Apple II computers in 1982, and says rising virus activity in the early 1990s led to the first antivirus programs.
Since then the zoo has grown:
| Type | What it does |
|---|---|
| Virus | Attaches to files and spreads when they run |
| Worm | Spreads by itself across networks |
| Trojan | Pretends to be useful software to get installed |
| Ransomware | Encrypts your files and demands payment |
| Spyware | Secretly watches what you do and sends it off |
| Adware | Floods you with ads, often bundled with free software |
| Potentially unwanted apps | Not quite malware, but junk you did not ask for |
Modern antivirus deals with all of them. That is why Malwarebytes says the terms antivirus and anti-malware "are often used interchangeably". Same product, different label.
How antivirus software works
Early antivirus was simple. In Malwarebytes' words: "Early antivirus programs would compare software file signatures against a list of known viruses." Reactive: it only caught what it already knew.
Malware got smarter. Microsoft's documentation notes that "the majority of modern malware is polymorphic, meaning it constantly mutates to evade detection." So modern antivirus stacks several methods.
1. Signatures
A signature is a fingerprint of a known bad file. The antivirus downloads updated lists of fingerprints regularly and checks files against them. Fast, accurate for known threats, useless against a brand-new one.
2. Heuristics
Heuristics look at a program's structure and attributes and ask: does this look like malware? Malwarebytes describes it as detecting threats "by analyzing the program's structure, its behavior, and other attributes", and calls it "proactive, not reactive". The trade-off is occasional false alarms on legitimate software.
3. Behaviour monitoring (real-time protection)
Instead of judging a file sitting on disk, behaviour monitoring watches what programs do once they run. A program that suddenly starts encrypting hundreds of documents gets stopped, whatever its fingerprint says. Microsoft describes its version as "always-on scanning using file and process behavior monitoring and other heuristics (also known as real-time protection)". This is the layer that matters most against ransomware.
4. Cloud-delivered protection
When the antivirus sees something it is unsure about, it asks the vendor's cloud. Microsoft says its cloud-delivered protection gives "near-instant detection and blocking of new and emerging threats". Your laptop does not need to download every new fingerprint; it asks in real time.
5. Machine learning
Microsoft says Defender Antivirus blocks malware "using local and cloud-based machine learning models, behavior analysis, and heuristics", detecting malware "at the first sign of abnormal behavior". Every major vendor uses some version of this now.
Quarantine and removal
When something is caught, antivirus usually moves it into quarantine, a locked folder where it cannot run, so you can restore it if it was a false alarm. Clearly malicious files are deleted.
What antivirus is not
People bundle a lot under "antivirus". Here is what is actually different:
| Tool | What it does | Same as antivirus? |
|---|---|---|
| Firewall | Controls which network connections are allowed in and out | No. Different job, works alongside |
| VPN | Encrypts your internet traffic and hides your IP address | No. Does not scan files at all |
| Password manager | Stores and fills strong unique passwords | No. Protects accounts, not devices |
| EDR (endpoint detection and response) | Business tool that records device activity and lets security teams investigate and respond | Bigger; includes antivirus-style blocking. See antivirus vs EDR |
| Internet security suite | Antivirus plus extras like firewall, VPN, parental controls | Antivirus is the core of it |
Microsoft's Windows Security app is a good example of the mix: Microsoft says it includes Microsoft Defender Antivirus, Windows Firewall and Smart App Control, three separate tools in one app.
And one more thing antivirus is not: a guarantee. No scanner catches everything, and none can stop you from typing your password into a convincing fake website. That is why backups and two-step login matter as much as the antivirus itself.
Free vs paid antivirus
The core engine is often just as good free. In AV-Test's October 2026 Windows round, 13 of 16 products scored a perfect 6 out of 6 for protection, including Microsoft Defender (built into Windows) and the free versions of Avast and AVG, alongside paid suites like Bitdefender, Norton, McAfee, ESET and Malwarebytes Premium.
What paid plans usually add:
- protection for several devices and platforms on one account
- a VPN, password manager or identity monitoring
- extra ransomware layers and email or scam filters
- parental controls
- support you can call
Our best free antivirus and best antivirus software guides compare options, and is McAfee a good antivirus shows how a big paid suite stacks up against the free default.
Can you run two antivirus programs?
Not really, on Windows. Microsoft's documentation says that when you install a non-Microsoft antivirus on Windows 10 or 11, Defender switches to disabled mode automatically (or passive mode on Windows 11 if Smart App Control is on). If that other product expires or is removed, Defender can switch itself back on. Two real-time scanners fighting over the same files is a recipe for slowdowns and crashes. Pick one, and use a second tool only for on-demand scans.
Do you need antivirus?
You need antivirus protection. Whether you need to install or buy anything depends on your device:
- Windows: Microsoft Defender is built in and, per Microsoft, protects you "from the moment you start it up". Many people need nothing more.
- Mac, iPhone, Android: these have their own built-in protections. Third-party apps add extras, mostly web and scam protection.
- Families and small businesses: a paid suite can simplify things with one account across devices.
We go through this in detail in is antivirus necessary. And if the threat on your mind is ransomware, read antivirus software for ransomware, because backups matter as much as the scanner.
The one-line version
Antivirus software is a program that finds malicious software on your device and stops it, using fingerprints of known threats, judgement about suspicious files, a watchful eye on what programs do, and a fast line to the vendor's cloud. You likely already have a good one; the question is whether you want the extras a paid one adds.
Questions people ask
What is the simple definition of antivirus?
Antivirus is software that protects a device from malicious programs. It scans files and watches running apps, and when it finds something harmful it blocks it, deletes it or puts it in quarantine. NIST's formal version: a program that monitors a computer or network to identify all major types of malware and prevent or contain malware incidents.
What is the difference between antivirus and anti-malware?
Today, none in practice. Malwarebytes, which sells anti-malware, says the terms are often used interchangeably. Historically, antivirus meant tools that matched known viruses by signature, while anti-malware was the broader, newer term for tools that also catch spyware, ransomware and adware. Every big antivirus now covers all of those.
What are three examples of antivirus software?
Microsoft Defender, built into Windows; Bitdefender; and Norton. Others include McAfee, Malwarebytes, ESET, Kaspersky, Avast and AVG. In AV-Test's October 2026 Windows test, all of these scored 6 out of 6 for protection. Microsoft Defender costs nothing extra on Windows; the rest have paid plans, and Avast and AVG also have free versions.
Is a firewall the same as antivirus?
No. A firewall controls network traffic in and out of your device, deciding which connections are allowed. Antivirus inspects files and programs on the device for malware. They complement each other. Windows includes both: Microsoft's Windows Security app bundles Microsoft Defender Antivirus and Windows Firewall.
Do I need antivirus software?
You need antivirus protection, but you may already have it. Windows includes Microsoft Defender, on from first start-up per Microsoft. Macs, iPhones and Android phones have their own built-in defences. A paid suite makes sense if you want extras like a VPN, identity monitoring or one plan for a family's mixed devices.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- NIST CSRC Glossary: antivirus software (from NIST SP 800-83 Rev. 1), checked 4 Dec 2026
- Microsoft Learn: Overview of next-generation protection in Microsoft Defender for Endpoint, checked 4 Dec 2026
- Microsoft Support: Stay protected with the Windows Security app, checked 4 Dec 2026
- Malwarebytes glossary: Antivirus, checked 4 Dec 2026
- AV-Test: Windows home user test, October 2026, checked 4 Dec 2026
- Microsoft Learn: Microsoft Defender Antivirus compatibility with other security products, checked 4 Dec 2026