Use this when detecting known threats by pattern.
Signature Detection · Detection Engineering
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.
1. Signature detection matches known patterns.
2. Precise for known threats.
3. Misses new variants.
4. Keep updated.
5. Combine with behaviour.
data → signature match → alert
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Relying only on hash and IP indicators.
- No expiry for indicators, so lists grow stale.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Signatures are precise for known threats.
- They miss new variants.
- They need frequent updates.
yara -r rules.yar <dir>— file signaturessuricata -r cap.pcap -S local.rules— network signatures- Signature update cadence — freshness
ReferenceWhy it matters1 section · depth on demand
How it works
In detection engineering, signature (indicator-based) rules match known artefacts: hashes, domains, command lines, file names. They are cheap to run and precise, but attackers change indicators easily (Pyramid of Pain). Behaviour-based detections on TTPs last longer.
ReferenceImportant terms & boundaries1 section · depth on demand
Pyramid of Pain
| Indicator | Cost for attacker to change |
|---|---|
| Hash | Trivial |
| IP address | Easy |
| Domain | Simple |
| Network/host artefacts | Annoying |
| Tools | Challenging |
| TTPs | Tough |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Detection Engineering → Signature Detection. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://sigmahq.io/docs/basics/rules.html · confidence 94%