The scanner report
The vulnerability scanner produced a report with six findings on an application server, but the report is more than a year old and relies on what services declare about themselves. Check live which findings are still true and open a ticket only for that one.
Lab 10 of 10 in the Recon & Scanning path. If you get stuck you have 3 hints, from the vaguest to the most precise: they cost 0, 50 and 150 XP.
What you learn
Objectives complete themselves while you work in the terminal; each one is worth experience points:
- Read the scanner report (40 XP)
- Single out the most serious findings (60 XP)
- Check the services’ versions live (100 XP)
- Check by hand the banner of the flagged FTP service (150 XP)
- Open the ticket for the finding that is still true (200 XP)
Topics: recon, scanner, vulnerabilità, triage.
Commands you will use
The terminal is simulated and understands about forty Linux commands. In this lab you will mostly need these:
cat: prints the contents of a file: the most direct way to read configurations, notes and logs.grep: finds the lines that contain a word, even across whole folders with -r. It is the main tool for analysing text and logs.nmap: discovers the live hosts of a network and the open ports of a machine, with services and versions. Defenders use it to compare the real network with the inventory.nc: netcat opens a raw connection to a port and shows what the service answers, including its greeting message (banner).curl: makes HTTP requests from the terminal and shows the server’s raw answer, headers included.
The simulated environment
The target is an invented host on a simulated private network: you can only reach it from the game terminal.
The target exposes these services:
- FTP: the old file transfer protocol that sends credentials and data in clear text; today it is replaced by SFTP.
- SSH: encrypted remote command-line access; it is protected with keys instead of passwords and without direct root login.
- SMTP: the mail server, whose greeting message can reveal internal names.
- Web (HTTP): a web server with pages, APIs or admin panels: the most exposed part of almost every organisation.
- Database: a database (MySQL, MariaDB or PostgreSQL), which should answer only the services that use it and never the whole network.
The defensive lesson
Once the lab is solved, the write-up explains what went wrong and how to protect yourself:
A scanner report is an old photograph, based on what services say about themselves: after a few months almost every finding is no longer true (false positives), but one is, and it gets lost if you open a ticket for everything or for nothing. The method is to sort by severity, verify each entry live (real version, banner, configuration) and close with evidence whatever is no longer valid. Defense: authenticated scans repeated often, not only banner-based; an inventory of components with their installed versions (SBOM); updates planned before a product reaches end of support; tickets that always carry the verified version.
Before and after this lab
To unlock it you must have solved:
- Headers tell tales (Recon & Scanning, medium)
- What changed since the last scan? (Recon & Scanning, medium)
It is one of the final labs: no other lab requires it.
The Recon & Scanning path
Recon & Scanning is reconnaissance: before defending a network, or testing it with permission, you need to know what is in it. You learn to discover live hosts, list ports and services, read the banners services greet you with, and query DNS and HTTP headers. Every lab also shows the defender’s point of view: an up-to-date asset inventory, minimal banners, internal DNS kept apart from public DNS and nothing forgotten left running.