IDS, IPS and Next-Generation Firewalls

Context: Firewalls and Packet Filtering Β· going beyond header filtering β€” detect and react to attacks, and inspect applications Β· closes the app-layer gap of packet filters

Quick Revision

  • 🎯 Objective: IDS monitors + alerts + logs; IPS adds active blocking; NGFs proxy all traffic (even encrypted) to inspect apps/roles/users βž” detect attacks a packet filter misses.
  • ⚑ Key Constraint: to inspect encrypted traffic an NGF proxies TLS, which breaks end-to-end security and creates a single point of attack holding all decrypted data.

πŸ“ IDS vs IPS

  • IDS (Intrusion Detection System) βž” monitors network/system activity, alerts on potentially malicious activity, logs it. Passive.
  • IPS (Intrusion Prevention System) βž” IDS + active functionality: attempts to block/stop malicious activity.
  • Monitoring examples βž” detect port scans, OS fingerprinting, known-vulnerability exploits (CVE list), known malware, behavioural anomalies.
  • Reactions βž” drop malicious packets + alarm, block IPs, correct fragmentation in packet streams, raise alerts β†’ may trigger a human incident response team.

βš–οΈ Signature vs anomaly detection

MethodStrengthWeakness
Signature-basedFast, few false positives, no learning phaseOnly catches known attacks (needs a signature)
Anomaly-basedCan detect previously unknown attacksMore false positives; needs a learning baseline

🧱 Next-generation firewalls (NGF)

  • Promise βž” integrated security: proxy for all traffic (even encrypted), inspect applications, logical segments, roles, services, users.
  • Problems βž” policy rules get too complex; the TLS proxy breaks end-to-end security β†’ a single point of attack with full access to decrypted data; encapsulated encryption can still hide traffic; privacy concerns; still can’t detect new (disguised) malware.

⚠️ Common Mistakes

  • πŸ’‘ IPS = IDS + action βž” the only difference is that an IPS actively blocks; an IDS merely detects and alerts.
  • πŸ’‘ HTTPS interception is a double-edged sword βž” proxying TLS (a 2017 study showed weakened downgraded cipher suites) lets the NGF inspect content but undermines the very end-to-end guarantee of TLS.

🧠 Active Recall