Bitzu

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

Single choice

What is banner grabbing?

  1. Connecting to a service and reading the greeting or headers it returns
  2. Guessing passwords against a login form
  3. Fragmenting packets to evade a firewall
  4. 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.

Select all that apply

Why might a service banner be misleading?

  1. An administrator customised or hid it
  2. A vendor patch was backported but the version string stayed old
  3. A proxy or load balancer answers with its own banner
  4. Banners are always encrypted
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More CPSA topics in this module