Vulnerability Discovery and Analysis
A tester on a Linux jump box has a non-root account with no sudo rights. Which Nmap scan will find open TCP ports on a target from there?
Show the answer
Correct answerA. nmap -sT
AWhy this is right: The connect scan uses the system's connect() call, so an unprivileged user can run it.
BWhy not this: A SYN scan crafts raw packets, which requires root privileges the account lacks.
CWhy not this: An ACK scan needs raw sockets and maps firewall rules rather than listing open ports.
DWhy not this: A UDP scan is the wrong protocol for TCP ports and also uses raw packets.
A TCP connect scan (-sT) uses the operating system's connect() call and completes the full handshake, so it needs no raw-socket privileges. A SYN scan builds raw packets and needs root.