Pcornel
Security · IDS / IPS

Signature Detection

Cheat sheet · https://pcornel.dk/topic.php?topic=4612

Back to the Topic

Answer

Signature detection in IDS/IPS matches traffic against rules describing known exploits and malware, such as Snort or Suricata rules. It is accurate for known threats but needs frequent rule updates.

Remember

  • Signatures are accurate for known threats.
  • They need frequent updates.
  • They miss new variants.

First checks

  • suricata-update — update rules
  • grep -c '^alert' /var/lib/suricata/rules/suricata.rules — rule count
  • Rule source (ET Open/Pro, Talos) — feeds

Verify in this order

traffic → signature match → alert

Where it usually breaks

First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; 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=4612

Confirmation

Confirm action

Continue?