Post-exploitation and Lateral Movement

A tester on a Linux pivot with no Nmap must check which TCP ports are open on an internal server and read their banners. Which tool does this?

Show the answer

Correct answerC. Netcat

AWhy not this: Proxychains forces other tools' traffic through proxies and does not test ports or read banners itself.

BWhy not this: Netstat lists the local host's sockets and connections, so it cannot probe a remote server's ports.

CWhy this is right: Netcat connects to remote ports to test whether they are open and displays service banners.

DWhy not this: Impacket offers protocol scripts for tasks like remote execution and is not a port-checking utility.

Netcat can open TCP connections to a range of ports on a remote host and show whatever banner each service returns. Netstat is tempting, but it only lists the local host's own sockets and connections, not the remote server's open ports.