nerdexam
EC-Council

312-50V10 · Question #845

During an Xmas scan what indicates a port is closed?

The correct answer is B. RST. In an Xmas scan, a RST packet returned by the target definitively indicates that the scanned port is closed.

Scanning Networks

Question

During an Xmas scan what indicates a port is closed?

Options

  • ANo return response
  • BRST
  • CACK
  • DSYN

How the community answered

(41 responses)
  • B
    93% (38)
  • C
    5% (2)
  • D
    2% (1)

Why each option

In an Xmas scan, a RST packet returned by the target definitively indicates that the scanned port is closed.

ANo return response

No response to an Xmas scan probe indicates the port is open or filtered - an open port on an RFC-compliant TCP stack silently drops the unexpected flagged packet rather than replying.

BRSTCorrect

An Xmas scan sends a TCP packet with the FIN, PSH, and URG flags simultaneously set. Per RFC 793, a closed port must reply with a RST/ACK packet, signaling that no service is listening on that port. This RST response is the definitive closed-port indicator shared by all out-of-state flag scans including NULL, FIN, and Xmas.

CACK

An ACK response is relevant to ACK scans used to identify firewall filtering rules and distinguish filtered from unfiltered ports, not the standard closed-port reply in an Xmas scan.

DSYN

A SYN packet is the outgoing probe used in SYN scans to initiate a half-open handshake and is not a response type that would indicate a closed port during an Xmas scan.

Concept tested: Xmas scan closed port RST response per RFC 793

Source: https://nmap.org/book/scan-methods-null-fin-xmas-scan.html

Topics

#Xmas scan#port scanning#RST response#closed port

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice