Signature-based detection
Detection that matches observed files, traffic or activity against a database of known attack patterns: few false positives, but blind to attacks it has no signature for.
Signature-based detection identifies malicious activity by matching what it observes against a database of known patterns: byte sequences in a file, strings in a packet payload, or file hashes. It is also called knowledge-based or misuse detection, and it is the traditional engine behind anti-malware products and many rules in an intrusion detection system. NIST SP 800-94, the guide to intrusion detection and prevention systems, describes it alongside anomaly-based detection and stateful protocol analysis.
Its strengths and weaknesses mirror each other. Because an alert fires only on a known pattern, false positives tend to be low. The same property means it recognises only what it has already been taught. An exploit for a zero-day vulnerability, a new malware family, or a repacked known sample can pass unnoticed, and protection is only as current as the last signature update. Anomaly-based detection makes the opposite trade: it builds a baseline of normal behaviour and flags deviations, so it can catch novel attacks at the cost of more false positives.
Exam relevance: a scenario in which a new attack slipped past a fully updated tool is likely to be pointing at the limits of signatures. Candidates are expected to pair “known attacks, low false positives, needs updates” with signature-based detection, and “novel attacks, baseline, more false positives” with anomaly-based detection.