01 / 20

Vulnerability
Scanning Tools

Learn how security professionals discover weaknesses in networks and systems before attackers do: using automated scanners to identify, classify, and prioritize vulnerabilities.

Cyber Security

What Is a Vulnerability?

A vulnerability is any weakness in a system's design, configuration, or software that could be exploited by an attacker to gain unauthorized access, steal data, or disrupt services.

Software Bug
Unpatched code flaw that allows remote code execution or privilege escalation.
Misconfiguration
Default passwords, open ports, or overly permissive access controls.
Missing Patch
Known fix exists but hasn't been applied, leaving the system exposed.

What Is Vulnerability Scanning?

Vulnerability scanning is the automated process of probing systems, networks, and applications to identify known security weaknesses. A scanner compares what it finds against a database of known vulnerabilities (like the CVE list) and produces a report.

Why Scanning Matters

Organizations face thousands of new vulnerabilities each year. Without scanning, security teams would be flying blind. Scanners provide the visibility needed to prioritize and fix issues before attackers exploit them.

1
Proactive defense: find weaknesses before attackers do.
2
Regulatory compliance: standards like PCI-DSS and HIPAA require regular scans.
3
Risk prioritization: focus limited resources on the most critical issues first.
4
Continuous monitoring: track whether patches and fixes are actually applied.

How a Scanner Works

1. Discovery Find live hosts 2. Enumeration Identify services 3. Detection Match CVEs 4. Report Prioritize fixes Scanner Engine Server A Server B Router CVE Database 200,000+ entries Report Ranked findings

The CVSS Severity Scale

Scanners rank findings using the Common Vulnerability Scoring System (CVSS): a standardized score from 0.0 to 10.0 that measures how dangerous a vulnerability is.

None 0.0 Low 0.1 : 3.9 Medium 4.0 : 6.9 High 7.0 : 8.9 Critical 9.0 : 10.0 CVE-2021-44228 Log4Shell: 10.0

Scanning vs. Penetration Testing

These two activities are often confused, but they serve different purposes and operate at different levels of depth.

Vulnerability Scan Penetration Test
Goal Identify known weaknesses Exploit weaknesses to prove risk
Approach Automated tool-driven Manual, human-led
Depth Broad and shallow Narrow and deep
Frequency Weekly or monthly Annually or quarterly
Risk Minimal: read-only probes Higher: active exploitation
Output List of vulnerabilities + CVSS Proof-of-concept exploits + narrative

Popular Scanner Tools

Nessus
Industry-standard commercial scanner with a massive plugin library covering 80,000+ vulnerabilities.
OpenVAS
Free, open-source alternative to Nessus. Community-maintained vulnerability tests updated regularly.
Nmap
Network mapper for host discovery and port scanning. Foundation for many other security tools.
Qualys
Cloud-based scanner ideal for large enterprises. Provides continuous monitoring and compliance reporting.

Authenticated vs. Unauthenticated

Authenticated (Credentialed)
Scanner logs in with valid credentials. Sees installed software, patch levels, and local configs. Produces more accurate results with fewer false positives.
Unauthenticated
Scanner probes from outside without credentials: an attacker's perspective. Finds externally visible issues but misses internal vulnerabilities.

Running a Scan: Step by Step

1
Define scope: list the IP ranges, domains, and systems to scan. Get written authorization.
2
Choose scan type: decide between authenticated or unauthenticated, internal or external.
3
Configure the scanner: set targets, select scan policy (e.g., "Basic Network Scan"), and schedule the scan window.
4
Execute the scan: launch and monitor progress. Watch for errors or unreachable hosts.
5
Analyze results: review findings sorted by CVSS severity. Identify false positives.
6
Remediate and rescan: apply patches and configuration fixes, then verify with a follow-up scan.

Example: Reading a Scan Report

Scan Report: 192.168.1.0/24 12 hosts scanned Critical: 2 High: 5 Medium: 12 Low: 8 CVE-2021-44228 Log4Shell : Remote Code Execution CVSS 10.0 192.168.1.14 CRITICAL CVE-2023-23397 Outlook Elevation of Privilege CVSS 9.8 192.168.1.22 CRITICAL CVE-2022-30190 Follina : MSDT Remote Code Execution CVSS 7.8 192.168.1.5 HIGH ... 24 more findings

Example: Nmap Port Scan Output

Terminal $ nmap -sV 192.168.1.14 Starting Nmap 7.94 ... PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 8.9 80/tcp open http Apache 2.4.49 443/tcp open https Apache 2.4.49 3306/tcp open mysql MySQL 5.7.36 8080/tcp open http-proxy Apache Tomcat 9.0.50 Service detection performed. 5 services detected. Nmap done: 1 IP address (1 host up)

Interpreting Results: False Positives

Not every finding is a real threat. A false positive is when the scanner reports a vulnerability that doesn't actually exist. Learning to distinguish real issues from noise is a critical skill.

False Positive
Scanner flags a vulnerability, but the system is actually not affected (e.g., the patch was applied via a backport that didn't change the version number).
False Negative
Scanner misses a real vulnerability. More dangerous because it gives a false sense of security. Often caused by unauthenticated scans.

Internal vs. External Scans

FIREWALL External External Scanner Sees: public IPs, exposed services Internal Internal Scanner Sees: all devices, local services, configs Both perspectives needed for full coverage

Common Mistakes

✕ Scanning Without Authorization
Scanning systems you don't own or have permission to test is illegal. Always get written approval first.
✕ Ignoring False Positives
Blindly trusting all results wastes time and resources. Validate critical findings before acting.
✕ Only Running External Scans
Missing internal vulnerabilities creates blind spots. Insider threats and lateral movement won't be detected.
✕ Scan and Forget
A scan without follow-up remediation is useless. Findings must be tracked, patched, and verified.

Scanner Tools Comparison

Tool Type Cost Best For
Nessus Full vuln scanner Commercial Enterprise compliance
OpenVAS Full vuln scanner Free / Open Source Budget-conscious teams
Nmap Network / port scanner Free / Open Source Discovery and recon
Qualys Cloud vuln scanner Commercial Large-scale cloud infra
Nikto Web app scanner Free / Open Source Web server auditing

Question 1 of 5

What is the primary purpose of a vulnerability scanner?

Question 2 of 5

A scan report shows a finding with a CVSS score of 9.8. How should this be classified?

Question 3 of 5

What is the key advantage of an authenticated scan over an unauthenticated scan?

Question 4 of 5

An Nmap scan reveals that a server has port 3306 open running MySQL 5.7. Why might this be a security concern?

Question 5 of 5

A scanner reports that a server is vulnerable to CVE-2021-44228 (Log4Shell), but your team confirms the affected library was patched via a backport that didn't change the version number. This finding is an example of: