CPSA ยท Mapping, fingerprinting and host auditing
Banners and unknown services
Banner grabbing, version identification and how to probe a responsive but unrecognised service.
Key points
- Banner grabbing: connect to a port and read the greeting or headers a service volunteers, often naming product and version.
- Banners can be edited or omitted, and patched software may keep an old version string, so confirm by behaviour.
- Unrecognised service: send a few harmless probes (blank line, HTTP request, HELP, TLS handshake) and compare the replies with known protocols.
Practice questions
What is banner grabbing?
- Connecting to a service and reading the greeting or headers it returns
- Guessing passwords against a login form
- Fragmenting packets to evade a firewall
- Downloading the server's source code
Show answer
Answer: A. Connecting to a service and reading the greeting or headers it returns
It means connecting to a service and reading the text it presents, such as a greeting line or HTTP headers. It is not password guessing, packet fragmentation or a file download.
Why might a service banner be misleading?
- An administrator customised or hid it
- A vendor patch was backported but the version string stayed old
- A proxy or load balancer answers with its own banner
- Banners are always encrypted
- Banners list every known CVE for the version
Show answer
Answer: A. An administrator customised or hid it, B. A vendor patch was backported but the version string stayed old, C. A proxy or load balancer answers with its own banner
Administrators can edit banners, patches are often backported without changing the version string, and a proxy or load balancer may present its own banner. Banners are not encrypted by default and do not list known vulnerabilities.
If a banner says 'Apache 2.2', the server is certainly running exactly that unpatched version.
Show answer
Answer: False
False. A banner is self-reported text that may be altered, truncated or left unchanged after a backported patch, so it must be checked against behaviour before it is reported as fact.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
