HackBlue

Course · Tools · 05 / 26

Nessus and vulnerability scanners

A vulnerability scanner matches what it can see against a database of known issues. The work is what you do with the matches.

12 min read · practice only with authorization

Diagram

From a match to a ticket with an owner

Follow the path. One example at a time.
See

Authenticated scans see patches. Unauthenticated scans see a hallway.

Illustration: See
# See
# Authenticated scans see patches. Unauthenticated scans
# see a hallway.

The example on the open step is one illustration, or the fix you can paste into an application you own.

A match is not yet a fire

Nessus, OpenVAS, and the scanners built into cloud platforms connect to a host or read its inventory and compare versions, configurations, and sometimes behavior to a catalog of known vulnerabilities. Authenticated scans, where you gave the scanner credentials, see patches and local settings. Unauthenticated scans see only what the network sees, and they miss most of the estate.

A critical match on a package that is installed but not running, or not reachable, is not the same event as a critical match on the service facing the internet. The scanner does not know your architecture. You do.

A workable weekly loop

Scan on a schedule. Diff against the previous scan. For each new high finding, name the asset owner, whether the vulnerable component is exposed, and the change that removes it: a patch, a config, or a decision that the component should not be there. Track that change like any other ticket. Re-scan to confirm the match is gone.

False positives get a note so the next scan does not page the same person. Silencing a whole plugin family because it is noisy hides the one match that mattered. Silence the specific finding, with a reason.

Host 10.10.10.20  authenticated
Plugin: unsupported database version
Severity: high
Evidence: server banner reports a release past the vendor’s support date
Reachable from: application subnet only

Reading the sample

The database is old, and the scanner saw that because it was allowed to log in or because the banner was visible. It is not on the public internet. The owner still needs a plan, because the application tier can reach it and an old database accumulates unfixed issues. The finding is the unsupported release, the exposure is the application subnet, and the fix is an upgrade window, not a screenshot of the plugin.

Credentialed scanning is itself a privileged account. Protect that credential the way you protect any other admin login. A scanner token dumped in a wiki is a standing incident.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

A high match is on a package that is installed and not reachable. What is true?

Go deeper

Specific techniques, exercises, and glossary cards for this topic.

  1. 01Diff a scan against the inventoryA scanner produces observations and severities. Includes the diagram and a defensive fix.
  2. 02Nikto web server scanning: reading the output and separating noise from findingsRunning Nikto against a web server you are authorized to test, what its checks cover (default files, outdated software, risky methods, headers), and how to verify each line before it becomes a finding. Includes the diagram and a defensive fix.

Exercises

  1. 01Vulnerability prioritizationRank eight findings with CVSS, EPSS, known-exploited status, exposure, and asset value, and fill a three-slot patch window with the right fixes.
  2. 02Terminal mission: server-status open to everyoneApache’s server-status page lists every request in flight, query strings included. Find the config that exposes it, what it leaks, and the version banner it gives away.