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
Which detection method is best at spotting a brand-new attack that has no known pattern?
- Signature-based detection
- Anomaly-based detection
- Static packet filtering
- 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.
Which statements about an IPS compared with an IDS are correct?
- It sits inline and can drop malicious packets
- It can only alert and never block
- A false positive can interrupt legitimate traffic
- It is always passive on a SPAN port
- 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.
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.
