← all cheat sheets
FUNDAMENTALS · MECHANISM WALKTHROUGH

Vulnerability Scanner Flags a Host
How It Actually Got There

a scan finding isn't a guess or an AI hunch — it's a chain of discovery, fingerprinting, and version matching against a known, citable CVE. and it's not the same claim as "this host was actually exploited."
HOST DISCOVERY PORT SCAN SERVICE FINGERPRINT CREDENTIALED ENUM (IF AVAILABLE) PLUGIN MATCH CVE CORRELATION CVSS SCORE REPORT
01 The Full Sequence — Worked Example
1

Host Discovery

The scanner starts with a target range, e.g. 10.20.5.0/24, and first determines which IPs are actually live hosts — via ICMP ping sweep, ARP (if on the local segment), or TCP SYN probes to common ports if ICMP is blocked. Only confirmed-live hosts proceed to the next phase, avoiding wasted time on dead IPs.

Discovery
2

Port Scan

For each live host — including our target, 10.20.5.10 — the scanner runs a TCP SYN (half-open) scan, and often a UDP scan too, across a configured port range, discovering which ports are open, closed, or filtered: 445 (SMB), 443 (HTTPS), 3389 (RDP) all come back open.

Port Scan
3

Service / Banner Fingerprinting

For each open port, the scanner sends protocol-specific probes and grabs service banners, matching the responses against a fingerprint database — identifying not just "something is on port 445" but the specific software and version: Windows Server 2016, SMB signing not required.

Fingerprint
4

Checkpoint — Two Fundamentally Different Scan Depths

Unauthenticated (network-only) scanning can only infer what's exposed from banners and protocol responses — useful, but limited and prone to both false positives and false negatives. Credentialed scanning, if valid credentials were supplied, lets the scanner actually log in and directly enumerate installed software and patch levels — a real inventory instead of an inference. This is exactly why credentialed scanning is considered best practice for internal vulnerability management, not just a nice-to-have.

Checkpoint
5

Credentialed Enumeration (If Configured)

Using a service account with appropriate rights, the scanner authenticates (via WMI, SSH, or registry access) and queries the OS directly: installed patches from Windows Update history, running services and their exact versions, installed applications — a direct inventory rather than an inference from network responses.

Credentialed
6

Plugin / Signature Matching

The scanner runs its library of vulnerability "plugins" against everything discovered. Each plugin encodes a specific, testable check — "is this exact SMB version vulnerable to CVE-2020-0796?" — comparing version numbers and configuration state, and sometimes safely, non-destructively confirming an exposed condition without actually exploiting it.

Plugin Match
7

CVE Correlation

A plugin match ties the finding to one or more CVE identifiers, pulling in the public description, affected version ranges, and reference links — the finding is now a citable, documented weakness, not just an internal "looks bad" flag.

CVE
8

Severity Scoring — CVSS

Each matched vulnerability is scored, typically via CVSS, factoring exploitability (network vs. local access required, attack complexity, privileges needed) and impact (confidentiality, integrity, availability) into a single 0-10 score and a Critical/High/Medium/Low bucket.

CVSS
9

False-Positive Reduction

Good scanners cross-check findings against confirmed data — if a credentialed check shows the actual patch is present despite an outdated-looking banner, or a compensating configuration mitigates the exposure, the finding is suppressed or downgraded rather than reported at face value.

Reduction
10

Report Generated

The scan compiles findings into a report: affected host, the vulnerability and its CVE, the CVSS score, and specific remediation guidance — e.g. the exact KB/patch to apply — usually with a recommended re-scan to confirm remediation once applied.

Report
11

What the Scanner Did NOT Do

Critically, none of this actually exploited the vulnerability to prove real-world impact — that's the job of a penetration test. A flagged CVE means "this version/configuration is known to be vulnerable based on version and signature matching," not "we confirmed an attacker could actually compromise this host." Conflating the two overstates what a routine vulnerability scan actually establishes.

Scope Limit
02 How to Explain This in an Interview
03 Follow-Up / Gotcha Questions
Q What's the practical difference between credentialed and uncredentialed scanning?
A Uncredentialed scanning infers software and versions purely from network-visible banners and responses — limited to what's externally observable, and prone to both false positives (outdated-looking banner, actually patched) and false negatives (patched-looking banner, actually vulnerable underneath). Credentialed scanning logs into the host directly and reads real patch/inventory data, producing far more accurate results at the cost of needing valid, appropriately-scoped credentials.
Q How does the scanner know a specific version is vulnerable — is it querying a live CVE database on every scan?
A The vendor maintains and regularly updates a local plugin/signature library encoding known vulnerabilities and their affected version ranges — the scanner matches discovered versions against this local library rather than making a live lookup per-check. Plugin feeds are updated frequently (often daily) to keep pace with newly disclosed CVEs.
Q What is CVSS actually scoring?
A It combines exploitability metrics (attack vector — network vs. local, attack complexity, privileges required, user interaction needed) with impact metrics (effect on confidentiality, integrity, and availability if exploited) into a single 0-10 score. A high score generally means "easy to exploit remotely and severely damaging if it succeeds," not just "sounds scary."
Q Does a vulnerability scan prove a host can actually be exploited?
A No — it proves the host matches the version/configuration signature known to be vulnerable, based on discovery and matching, not an actual exploitation attempt. Confirming real-world exploitability (bypassing any compensating controls, actually achieving code execution or data access) is the specific job of a penetration test, which is a materially different, more invasive exercise.
Q Why might a scan report a false positive even when a plugin matched?
A A plugin might match purely on an outdated-looking version banner while the actual patch was applied without changing that banner string, or a compensating control (e.g. the vulnerable service is firewalled off from anything that could reach it) neutralizes real-world risk even though the underlying software is technically still vulnerable. Credentialed scanning specifically reduces — though doesn't eliminate — this kind of false positive.
Q Why scan UDP ports too, not just TCP?
A Plenty of meaningful services run over UDP — DNS, SNMP, NTP, and various VPN protocols among them — and each carries its own potential vulnerabilities and misconfigurations. Limiting a scan to TCP only would systematically miss an entire class of exposed services and their associated risks.
04 Quick-Fire Glossary
TermMeaning
Host DiscoveryDetermining which IPs in a target range are actually live before deeper scanning
SYN / Half-Open ScanA TCP port scan technique that doesn't complete the full three-way handshake
Service FingerprintingIdentifying the specific software and version listening on an open port
Credentialed ScanA scan that authenticates to the host directly to enumerate real patch/software inventory
Plugin / SignatureA specific, versioned test encoding how to detect one known vulnerability
CVECommon Vulnerabilities and Exposures — a public, unique identifier for a documented vulnerability
CVSSCommon Vulnerability Scoring System — a standardized 0-10 severity score
False PositiveA reported finding that doesn't actually reflect real risk on the host
Penetration TestAn engagement that attempts to actually exploit findings to prove real-world impact, unlike routine scanning
Remediation VerificationA follow-up re-scan confirming a previously flagged vulnerability was actually fixed