Security · Detection Engineering
Signature Detection
Cheat sheet · https://pcornel.dk/topic.php?topic=4883
Answer
Signature detection matches known patterns of malicious code or traffic, such as byte sequences or hashes. It is precise for known threats but misses new or modified ones.
Remember
- Signatures are precise for known threats.
- They miss new variants.
- They need frequent updates.
First checks
yara -r rules.yar <dir>— file signaturessuricata -r cap.pcap -S local.rules— network signatures- Signature update cadence — freshness
Verify in this order
data → signature match → alert
Where it usually breaks
First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4883