Pcornel
Networking · Network Devices

IPS

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

Back to the Topic

Answer

An intrusion prevention system inspects traffic inline and blocks attacks, using signatures for known attacks and behaviour or anomaly detection for unusual traffic. An IDS only alerts; an IPS can drop.

Remember

An IPS only blocks when it is inline and its policy is set to drop; in detection mode it just logs. Signatures must be current. A false positive is fixed for that one signature. Know what happens if the IPS engine fails: fail-open lets traffic through uninspected.

First checks

  • The intrusion events — signature, source, destination, action (alert or drop).
  • The intrusion policy — inline or detection only; the action per rule.
  • The update status — when signatures were last updated.
  • The bypass setting — fail-open or fail-closed.
  • show asp drop (ASA / FTD) — drops by reason, for comparison.

Verify in this order

sensor inline → policy in prevention mode → signatures current → traffic visible (not encrypted) → match → drop → event logged

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

IPS · operational reference

LayerEvidence
VisibilityTraffic reached sensor
DetectionRule/behavior matched
PreventionAction applied
ServiceResulting application path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=543

Confirmation

Confirm action

Continue?