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.
Question
During an Xmas scan what indicates a port is closed?
Options
- ANo return response
- BRST
- CACK
- DSYN
How the community answered
(41 responses)- B93% (38)
- C5% (2)
- D2% (1)
Why each option
In an Xmas scan, a RST packet returned by the target definitively indicates that the scanned port is closed.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.