nerdexam
EC-Council

312-50V11 · Question #996

While performing an Nmap scan against a host, Paola determines the existence of a firewall. In an attempt to determine whether the firewall is stateful or stateless, which of the following options wou

The correct answer is A. -sA. The Nmap ACK scan (-sA) is used to probe firewall rules and determine whether a firewall is stateful or stateless by analyzing how it handles ACK packets that do not belong to an established connection.

Scanning Networks

Question

While performing an Nmap scan against a host, Paola determines the existence of a firewall. In an attempt to determine whether the firewall is stateful or stateless, which of the following options would be best to use?

Options

  • A-sA
  • B-sX
  • C-sT
  • D-sF

How the community answered

(31 responses)
  • A
    81% (25)
  • B
    3% (1)
  • C
    3% (1)
  • D
    13% (4)

Why each option

The Nmap ACK scan (-sA) is used to probe firewall rules and determine whether a firewall is stateful or stateless by analyzing how it handles ACK packets that do not belong to an established connection.

A-sACorrect

The ACK scan sends TCP packets with only the ACK flag set. A stateful firewall tracks connection state and will drop or block ACK packets that are not part of an established session, returning no response or an ICMP unreachable. A stateless firewall, which filters only by packet header rules, will often return an RST, revealing its nature and allowing the tester to differentiate between the two types.

B-sX

The Xmas scan (-sX) sets FIN, PSH, and URG flags simultaneously and is used for stealth port scanning on certain OS types, not for identifying firewall stateful behavior.

C-sT

The TCP connect scan (-sT) performs a full three-way handshake and is used for standard port discovery, not for probing the state-tracking capability of a firewall.

D-sF

The FIN scan (-sF) sends packets with only the FIN flag and is used to evade simple packet filters during port scanning, not to distinguish stateful from stateless firewalls.

Concept tested: Nmap ACK scan for firewall type detection

Source: https://nmap.org/book/scan-methods-ack-scan.html

Topics

#Nmap ACK scan#firewall detection#stateful firewall#-sA flag

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice