Pcornel
Security · IDS / IPS

Intrusion Prevention System

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

Back to the Topic

Answer

An intrusion prevention system (IPS) inspects traffic inline and blocks detected attacks automatically, often as part of a next-generation firewall, using signatures and protocol analysis.

Remember

  • An IPS sits inline and blocks.
  • It is often part of a next-generation firewall.
  • Tune before blocking.

First checks

  • suricata -c /etc/suricata/suricata.yaml --af-packet -D (inline/IPS mode) — engine mode
  • IPS block logs — prevented attacks
  • Fail-open/fail-closed setting — availability

Verify in this order

traffic → IPS inline → drop/allow

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=4609

Confirmation

Confirm action

Continue?