312-50V11 · Question #167
A Security Engineer at a medium-sized accounting firm has been tasked with discovering how much information can be obtained from the firm's public facing web servers. The engineer decides to start…
The correct answer is B. Banner grabbing. Banner grabbing is the technique of connecting to a service and reading the response headers to identify the software, version, and configuration of a target server.
Question
A Security Engineer at a medium-sized accounting firm has been tasked with discovering how much information can be obtained from the firm's public facing web servers. The engineer decides to start by using netcat to port 80. The engineer receives this output:
HTTP/1.1 200 OK Server: Microsoft-IIS/6 Expires: Tue, 17 Jan 2011 01:41:33 GMT Date: Mon, 16 Jan 2011 01:41:33 GMT Content-Type: text/html Accept-Ranges: bytes Last-Modified: Wed, 28 Dec 2010 15:32:21 GMT ETag: "b0aac0542e25c31:89d" Content-Length: 7369 Which of the following is an example of what the engineer performed?
Options
- ACross-site scripting
- BBanner grabbing
- CSQL injection
- DWho is database query
How the community answered
(50 responses)- A4% (2)
- B94% (47)
- C2% (1)
Why each option
Banner grabbing is the technique of connecting to a service and reading the response headers to identify the software, version, and configuration of a target server.
Cross-site scripting involves injecting malicious client-side scripts into web pages viewed by other users, which requires sending crafted input, not simply reading response headers.
The engineer used netcat to connect to port 80 and the server responded with HTTP headers revealing 'Microsoft-IIS/6', the server software and version. This is classic banner grabbing - passively collecting service identification information from response headers without any active exploitation. It is commonly used during reconnaissance to identify attack surfaces.
SQL injection involves inserting malicious SQL statements into input fields to manipulate a backend database, which is an active attack not performed by a basic netcat connection.
A Whois query looks up domain registration metadata from a registry database, not HTTP server response headers from a direct port connection.
Concept tested: Banner grabbing for server reconnaissance
Source: https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/01-Information_Gathering/02-Fingerprint_Web_Server
Topics
Community Discussion
No community discussion yet for this question.