Reconnaissance and Enumeration

A UDP scan of port 161 on a target reports open|filtered because no reply came back. Which command BEST determines whether an SNMP service is actually listening?

Show the answer

Correct answerC. nmap -sU -sV -p 161 <target>

AWhy not this: An ACK scan is TCP-only and maps firewall rules; it cannot show whether a UDP service is listening.

BWhy not this: A NULL scan sends TCP packets with no flags; it never touches the UDP port in question.

CWhy this is right: UDP scanning with version detection sends SNMP-specific probes that can elicit a reply and confirm the service.

DWhy not this: A SYN scan probes TCP port 161, but SNMP listens on UDP, so the result says nothing about it.

SNMP on port 161 runs over UDP, so the scan must use -sU. Adding -sV sends protocol-specific probes that can draw a reply from a live service and resolve open|filtered. SYN, ACK and NULL scans only probe TCP, so they say nothing about a UDP port.