312-50V10 · Question #879
if you send a TCP ACK segment to a known closed port on a firewall but it does not respond with an RST. what do you know about the firewall you are scanning?
The correct answer is C. It is a stateful firewall. A stateful firewall silently drops TCP ACK packets with no matching connection table entry, distinguishing it from stateless devices that would generate an RST for a closed port.
Question
if you send a TCP ACK segment to a known closed port on a firewall but it does not respond with an RST. what do you know about the firewall you are scanning?
Options
- AThere is no firewall in place.
- BThis event does not tell you encrypting about the firewall.
- CIt is a stateful firewall
- DIt Is a non-stateful firewall.
How the community answered
(60 responses)- A3% (2)
- B7% (4)
- C80% (48)
- D10% (6)
Why each option
A stateful firewall silently drops TCP ACK packets with no matching connection table entry, distinguishing it from stateless devices that would generate an RST for a closed port.
If no firewall were present, the target host's TCP stack would send an RST in response to an unexpected ACK on a closed port - the silence indicates active filtering, not the absence of one.
The absence of an RST to a targeted ACK probe is a recognized behavioral signature of stateful inspection firewalls and constitutes meaningful diagnostic information about the device architecture.
A stateful firewall maintains a connection tracking table and only permits packets that correspond to an established or related session. An unsolicited ACK sent to a closed port has no matching SYN-ACK entry in the state table, so the stateful firewall drops the packet silently without generating an RST. If the endpoint were unfiltered or behind a stateless device, the host TCP stack would reply with an RST to the unexpected ACK on a closed port.
A stateless firewall processes each packet independently without connection tracking, so it would not suppress the RST that a closed port would otherwise generate.
Concept tested: Stateful firewall detection via TCP ACK probe behavior
Source: https://csrc.nist.gov/glossary/term/stateful_inspection_firewall
Topics
Community Discussion
No community discussion yet for this question.