Bitzu

312-50 ยท Evading IDS, firewalls and honeypots

IDS, IPS and firewall concepts

NIDS vs HIDS, signature vs anomaly detection, firewall types (packet filter, stateful, proxy, WAF, NGFW), and DMZ placement.

Key points

  • IDS: watches traffic (NIDS) or host activity (HIDS), raises alerts. IPS: inline, can also block.
  • Signature: known patterns. Anomaly: deviations from a baseline.
  • Firewalls: packet filter (L3/L4 headers), stateful (connection tracking), proxy (application gateway), WAF (HTTP-aware), NGFW (stateful plus application awareness and IPS).
  • Public-facing servers belong in a DMZ.

Practice questions

Single choice

Which detection method is best at spotting a brand-new attack that has no known pattern?

  1. Signature-based detection
  2. Anomaly-based detection
  3. Static packet filtering
  4. Port-based access lists
Show answer

Answer: B. Anomaly-based detection

Anomaly-based detection compares activity with a learned baseline, so it can flag novel behaviour. Signature detection only matches patterns it already knows.

Select all that apply

Which statements about an IPS compared with an IDS are correct?

  1. It sits inline and can drop malicious packets
  2. It can only alert and never block
  3. A false positive can interrupt legitimate traffic
  4. It is always passive on a SPAN port
  5. It needs no tuning
Show answer

Answer: A. It sits inline and can drop malicious packets, C. A false positive can interrupt legitimate traffic

An IPS is placed inline and can drop traffic, which also means a fault can disrupt the link. An IDS is usually passive via a tap or SPAN port and only alerts.

True or false

A stateful firewall inspects each packet in isolation, exactly like a simple packet filter.

Show answer

Answer: False

False. A stateful firewall tracks connection state, so it can accept replies that belong to an established session. A simple packet filter judges every packet alone.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module