Reconnaissance and Enumeration

A tester opens a Netcat connection to TCP port 80 on a web server. The connection stays open but prints nothing. What should the tester do to read the server's version banner?

Show the answer

Correct answerC. Type an HTTP HEAD request into the open connection

AWhy not this: HTTP runs over TCP, so a UDP connection would not reach the web service or return its banner.

BWhy not this: CT logs record issued certificates and hostnames; they do not show the software a server runs.

CWhy this is right: HTTP servers answer only after a request, and a HEAD request returns headers such as Server without the page body.

DWhy not this: Traceroute maps router hops on the path and tells the tester nothing about the server software.

Web servers do not send a greeting on connect, so the tester must send a request such as HEAD / HTTP/1.1 and read the Server header in the reply. Certificate transparency logs list certificates and hostnames, not the software version running on a port.