CompTIA PenTest+ (PT0-003) free question 6 / 10 · Domain 3: Vulnerability Discovery and Analysis
A tester examines how a client's packet filtering treats probes, and an Nmap result classifies some ports as unfiltered. Which scan type does the Nmap Reference Guide say produces that classification?
- The UDP scan, a type whose silent ports are open or filtered
- The FIN scan, a type whose silent ports are open or filtered
- The ACK scan, the type used to map firewall rulesets
- The IP ID idle scan, the type that gives the closed|filtered state
Show the answer and explanation
Answer: C
Why this is correct
The Nmap Reference Guide section on port scanning basics describes the unfiltered state. A port in this state is accessible, but Nmap is unable to determine whether it is open or closed. The guide says only the ACK scan, which is used to map firewall rulesets, classifies ports into this state. Scanning unfiltered ports with other scan types such as the Window scan, the SYN scan, or the FIN scan may help resolve whether the port is open. The other uncertain states come from other scan types: open or filtered is given by the UDP, IP protocol, FIN, NULL, and Xmas scans, and closed or filtered is used only for the IP ID idle scan.
Why the other options are wrong
"The UDP scan, a type whose silent ports are open or filtered" … The guide lists the UDP scan among the types that classify ports as open|filtered. The unfiltered state comes from a different scan type.
"The FIN scan, a type whose silent ports are open or filtered" … The guide lists the FIN scan among the types that classify ports as open|filtered. It also says scanning unfiltered ports with a FIN scan may help resolve whether a port is open.
"The IP ID idle scan, the type that gives the closed|filtered state" … The guide says the closed|filtered state is used only for the IP ID idle scan. That is a different state from unfiltered.
Key points
The guide says an open port is one where an application is actively accepting TCP connections, UDP datagrams, or SCTP associations, and that finding open ports is often the primary goal of port scanning.