Anti-Malware Software
How anti-malware software finds known malware using signatures, quarantines and removes it, and why its database must stay current.
1What anti-malware does
Anti-malware software (sometimes called antivirus software) protects a device by finding malware that could corrupt, spy on, or destroy the system, then quarantining and removing it. It is a technical control that runs on the device itself, so it works even when the device is off the organization's network.
2Signatures
Malware contains features that make it detectable: specific bytes in the file, a recognizable hash, a distinctive pattern of behavior. These identifying features are called signatures. Security companies study new malware, record its signatures, and add them to a signature database that anti-malware software downloads.
3Scanning, quarantine, removal
The software periodically scans the files on a device and checks whether any of them match a signature in its database. If there is a match, it quarantines the file (moves it to a protected area where it cannot run or be opened) and then removes it.
Scheduled scan started 02:00 signature database: updated today Scanned 48,212 files C:\Users\jlee\Downloads\invoice_0417.exe MATCH Trojan.Invoice.A Action: file moved to quarantine Action: file removed from quarantine after 7 days (policy) Scan complete: 1 threat found, 1 quarantined
4Strengths and limits
| Strength | Limit |
|---|---|
| Finds known malware reliably, with very few false alarms | Cannot recognize brand-new malware with no signature yet |
| Runs automatically on every device | Only as current as its signature database: updates matter |
| Quarantine stops a file from running before it is removed | Fileless malware leaves no file to scan; rootkits can hide from scans |
Because of these limits, anti-malware is one layer among several: keep its database updated, keep the operating system patched, and use other detection for behavior that signatures miss.
Anti-malware matches files against signatures of known malware, then quarantines and removes matches. It is excellent against known threats and blind to unknown ones, so its database must stay current and it should be layered with other defenses.
5Worked examples
What happened to invoice_0417.exe?
Use the scan log above. What did the anti-malware software find and do?
- 1It scanned 48,212 files with a signature database updated that day.
- 2One file in the Downloads folder matched the signature Trojan.Invoice.A.
- 3The file was moved to quarantine, so it could not run, and removed after 7 days by policy.
Out-of-date signatures
A laptop's anti-malware has not updated its signature database in four months. A new piece of malware, discovered two months ago, arrives by email. Will a scan catch it?
- 1The malware's signature was added to the database two months ago.
- 2This laptop's database is four months old, so it does not include that signature.
- 3With no matching signature, the scan will not detect it.
Brand-new malware
An attacker writes completely new malware and sends it to one company. The company's anti-malware database is fully up to date. Will it catch the file?
- 1No one has seen this malware before, so no signature exists.
- 2A signature scan has nothing to match.
- 3Other defenses (behavior monitoring, anomaly detection, patching, user training) are needed for brand-new threats.
Not just deleting
Why does anti-malware usually quarantine a file before removing it?
- 1Quarantine immediately stops the file from running or being opened.
- 2If the match was a mistake (a false positive on a needed file), the file can be restored.
- 3Security staff can also examine quarantined files to understand an attack.
6Common mistakes
It catches known malware with signatures in its database. New, fileless, or well-hidden malware can slip past.
An outdated signature database misses recent malware. Updates are part of what makes anti-malware work.
Quarantine isolates the file so it cannot run; removal deletes it. Software often does one, then the other.
“Anti-malware software periodically scans the device's files and compares them with a database of malware signatures. When invoice_0417.exe matched a known trojan's signature, the software quarantined it so it could not run, then removed it. It would not detect brand-new malware without a signature, so the database must be kept updated.”
Describe signature matching, what happens on a match, and the main limit.