312-50V10 · Question #291
When an alert rule is matched in a network-based IDS like snort, the IDS does which of the following?
The correct answer is B. Continues to evaluate the packet until all rules are checked. In Snort and similar network IDS tools, matching an alert rule does not halt rule processing - the engine continues evaluating all remaining rules against the same packet.
Question
When an alert rule is matched in a network-based IDS like snort, the IDS does which of the following?
Options
- ADrops the packet and moves on to the next one
- BContinues to evaluate the packet until all rules are checked
- CStops checking rules, sends an alert, and lets the packet continue
- DBlocks the connection with the source IP address in the packet
How the community answered
(20 responses)- A10% (2)
- B85% (17)
- C5% (1)
Why each option
In Snort and similar network IDS tools, matching an alert rule does not halt rule processing - the engine continues evaluating all remaining rules against the same packet.
Dropping packets is an IPS (inline mode) function - a passive network IDS like Snort in sensor mode has no capability to drop or modify traffic in transit.
Snort's detection engine evaluates a packet against all configured rules sequentially, not just until the first match. When an alert rule fires, Snort generates the alert and logs the event, but then continues checking remaining rules - this means a single packet can trigger multiple alerts if it matches more than one signature.
While Snort does send an alert and allows the packet to pass in IDS mode, it does NOT stop rule evaluation after the first match - continuing to check all rules is a key behavioral distinction from firewall ACLs.
Blocking connections by source IP is an active response or IPS behavior that a passive IDS cannot perform because it monitors a copy of traffic out-of-band and is not inline with the data path.
Concept tested: Snort IDS alert rule processing behavior
Source: https://docs.snort.org/rules/headers/actions
Topics
Community Discussion
No community discussion yet for this question.