Phase 03.01 · The Open-Source Scanner

Vulnerability Scanning with OpenVAS

By now you have an inventory: which hosts are alive, which ports are open, and which service and version sits behind each one. A vulnerability scanner takes that inventory and asks a single relentless question of every entry — is this version known to be broken? — checking each service against a database of tens of thousands of known weaknesses and handing back a ranked list of probable findings. This lesson covers the leading free scanner, OpenVAS, end to end: what it does, how the Greenbone stack is built, how to run a scan, how to read what comes back, and the one setting that separates a shallow scan from a deep one.

00

What a vulnerability scanner does

A vulnerability scanner is, at heart, a comparison engine. It takes the service-and-version inventory produced in the previous phase — Apache 2.4.49 on port 80, OpenSSH 7.2 on port 22, an aging database listener on 3306 — and matches each of those facts against a huge, continuously updated database of known vulnerability tests. Where a service's version lines up with a published flaw, the scanner records a finding and assigns it a severity. The output is a prioritized list of probable weaknesses: the places an attacker is most likely to find a way in.

The word that matters there is probable. A scanner is fast and exhaustive in a way no human can be — it will test thousands of conditions across hundreds of hosts in the time it takes you to read this paragraph. That is its entire value: it automates breadth. It is not, however, a verdict. A scanner reports that a version appears vulnerable; it rarely proves that the flaw is actually exploitable in this specific environment. Confirming a finding, ruling out a false positive, and deciding what is worth attacking are still your job. The scanner narrows the field; it does not replace judgment.

Breadth, then depth. Think of scanning as the wide pass and your own analysis as the focused one. The scanner tells you where to look; the rest of this phase is about deciding which of its findings are real, which are exploitable, and which are noise.
Lesson
03.01
Phase
Vuln Analysis
Builds on
Service & Version ID
01

OpenVAS and the Greenbone stack

OpenVAS — the Open Vulnerability Assessment Scanner — is the leading free, open-source vulnerability scanner, and for many testers it is the default first choice precisely because it costs nothing and ships in most security distributions. What started as a single program has grown into a small ecosystem now maintained as the Greenbone Vulnerability Management (GVM) stack. When people say "OpenVAS" today, they usually mean GVM as a whole.

It helps to know the pieces, because the names show up in logs and documentation:

Keep the feed fresh. A scanner that has not synced its NVT feed in months will quietly miss this season's vulnerabilities while reporting confidently on last year's. Before any serious scan, confirm the feed is current — an out-of-date scanner produces an out-of-date picture.
02

The workflow: target, task, report

Running a scan in Greenbone follows the same shape every time. Once you internalize the three nouns — Target, Task, Report — the interface stops feeling cluttered. Here is the concrete path from a fresh console to a finished report:

The same Task can be re-run later to see what changed, which is exactly how you confirm that a remediation actually closed a hole. Define once, run repeatedly.

03

Reading the results

A finished report can list hundreds of findings, and they are not all equal. Greenbone gives you several columns of metadata for exactly this reason — to help you sort signal from noise before you spend time chasing anything. Learn what each one means and the flood becomes navigable.

FieldWhat it isHow to read it
SeverityHigh / Med / Low / LogThe scanner's headline rating. High findings are likely serious and exploitable; Medium matters but is often conditional; Low is minor or hardening-level. Log is purely informational — a fact the scanner noticed, not a flaw — and is safe to skim past once you have skimmed it.
CVSS score0.0 – 10.0The numeric score behind the severity label, on the industry-standard Common Vulnerability Scoring System. It is what drives the High/Medium/Low bucketing — a 9.8 is a five-alarm fire, a 4.0 is a shrug. Use it to rank within a tier, not just across tiers.
CVE referencesIdentifiersOne or more CVE-YYYY-NNNNN IDs naming the specific public vulnerability behind the finding. Following the CVE links you to the official write-up, affected versions, and often a proof-of-concept — the starting point for confirming whether the flaw really applies here.
QoD0 – 100%Quality of Detection — the scanner's own confidence that the finding is real. A high QoD means the scanner directly observed the vulnerable condition; a low QoD means it inferred the flaw from weaker evidence, such as a version banner alone. Treat a low QoD as a flag to validate before you trust it.

QoD is the field newcomers overlook and veterans read first. A High-severity finding at 99% QoD is something you act on; the same finding at 30% QoD is something you investigate — it may be a false positive born of a misread version string. Severity tells you how much a finding would matter if it is real; QoD tells you how sure the scanner is that it is real. You need both numbers to triage honestly, and ignoring QoD is the fastest way to waste an afternoon chasing a vulnerability that was never there.

04

Credentialed scanning — the biggest quality lever

Everything above describes a scanner working from the outside, and there is a ceiling to how much an outsider can learn. An unauthenticated scan only sees what the target exposes on the network: the open ports, the banners, the versions a service is willing to announce. From that vantage it can only ever guess at what is actually installed — which is exactly why so many of its findings come back at a low QoD.

A credentialed scan changes the game completely. You hand the scanner valid credentials — SSH for Linux and network gear, SMB for Windows — and it logs in to inspect the host from the inside. Now it reads the actual installed package versions and patch levels directly from the system rather than inferring them from a banner. The result is a scan that finds far more — including local vulnerabilities never visible from the network — and reports it all at far higher confidence. Credentialed scanning is the single biggest lever you have on scan quality, and on any engagement where you can get credentials, you use them.

Outside guesses; inside knows. An unauthenticated scan asks "what version does this service claim to be?" A credentialed scan asks the host directly "what is installed and what is patched?" The second question gets a real answer — which is why credentialed results are both broader and far more trustworthy.

Two cautions ride along with all of this, and neither is optional:

A clean credentialed scan can still hand you a report with hundreds of entries across dozens of hosts — far more than you can chase one by one. Turning that flood into a short list of findings worth your time is its own discipline, and it is where this phase goes next.