nerdexam
EC-Council

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.

Evading IDS, Firewalls, and Honeypots

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)
  • A
    3% (2)
  • B
    7% (4)
  • C
    80% (48)
  • D
    10% (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.

AThere is no firewall in place.

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.

BThis event does not tell you encrypting about the firewall.

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.

CIt is a stateful firewallCorrect

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.

DIt Is a non-stateful firewall.

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

#stateful firewall#ACK scan#firewall detection#TCP RST behavior

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice