What Is Vulnerability Scanning? Types and How It Works
A vulnerability scan tells you what is wrong with your systems in a few hours. Working out which of the four hundred findings an attacker would actually use is the part that decides whether the scan was worth running.

Most companies breached through an unpatched system were holding a scan report that named the flaw. The report ran to four hundred findings, arrived as a PDF, went into a shared folder, and nobody ever decided which three of the four hundred an attacker would reach for first. Running the scan is the cheap part and it is the part every vendor sells. Deciding what to do with the output is the work, and it is where almost every program stalls.
What Is Vulnerability Scanning?
A vulnerability scanner connects to your systems, works out what software and versions are running, and compares each one against a catalog of published flaws. What comes back is a list: this host runs a web server two versions behind, that database accepts a default password, this cloud storage bucket answers to anyone. Each finding carries an identifier, usually a CVE number, and a severity score.
The word doing the most work in that description is known. A scanner is a lookup against a database that somebody else maintains. It is very good at the enormous, boring problem of finding the flaw that was published eight months ago and is still sitting on a server nobody owns. It is useless against a flaw that has not been published, and it is only as good as its view of your network.
Scanning is also one step inside a longer process, and the two get conflated constantly. Vulnerability management is the whole loop: find the flaws, decide which matter, fix them, prove they are gone, and do it again next month. NIST's Guide to Enterprise Patch Management Planning frames the remediation half as ordinary preventive maintenance, defining it as identifying, prioritizing, acquiring, installing and verifying patches across the organization, and arguing that treating it as routine upkeep rather than an emergency is what makes it survivable. Scanning supplies the first two verbs. It cannot supply the rest.
That distinction matters for budgeting. A scanner license is a small purchase; the staffing to act on what it produces every month is not, and buying the first without the second is how a program ends up as a folder full of PDFs. Scanning belongs inside a layered defense, doing one narrow job no other control does.
How Vulnerability Scanning Works
A scan runs in five stages, and only three of them are automated.
- Discover the assetsSweep the address ranges and cloud accounts for every host, service and web application that answers
- Fingerprint and matchIdentify the software and version on each open port, then match against the vulnerability database
- Triage the findingsConfirm what is real, drop the false positives, rank by whether anyone is exploiting it
- Remediate or mitigatePatch, reconfigure, restrict access, or accept the risk in writing
- Rescan to verifyA finding closes when a fresh scan cannot see it, not when a ticket is marked done
Discovery comes first because you cannot scan what you have not found, and the inventory a scan produces is often more valuable than the vulnerability list attached to it. Forgotten test servers, a subsidiary's address range nobody documented, a cloud account opened for a project in 2023: these turn up in the discovery pass, and they are disproportionately the systems that nobody has patched.
Fingerprinting is where the scanner decides what it is looking at. Sometimes that means reading a version banner a service volunteers. Sometimes it means sending a harmless probe and judging the answer. This is also where false positives are born, because a version number is a guess about what is patched underneath it, and backported security fixes routinely leave the old version string in place.
The urgency behind all of this changed recently. The 2026 Verizon Data Breach Investigations Report found 31 percent of breaches beginning with vulnerability exploitation, the first time in nineteen years that it has passed stolen credentials as the leading way in, and describes attackers closing the gap between a published flaw and a working exploit from months down to hours. A quarterly scan cycle was built for a world where you had weeks.
What Are the Two Main Types of Vulnerability Scans?
Ask three engineers and you will get two different answers, because two separate pairs both claim the name. Both pairs are worth knowing, because they answer different questions.
Internal against external is about where the scanner stands. An external scan runs from the public internet against the addresses you own, and it sees exactly what a stranger sees: the open ports, the exposed management interfaces, the certificate that expired last month. An internal scan runs from inside the network and sees the far larger population of systems that the firewall in front of them keeps out of public view. External scanning tells you about the front door. Internal scanning tells you how far someone gets after they are through it.
Authenticated against unauthenticated is about how much the scanner is allowed to know. An unauthenticated scan probes from outside the login and judges by what the service reveals. An authenticated scan signs in with credentials you provide and reads the installed package list, the patch level and the local configuration directly. An unauthenticated scan of a Linux server returns a dozen guesses from banner versions; an authenticated scan of the same box returns the actual patch state and far fewer false positives.
A third distinction is worth a sentence. Active scanning sends traffic to the target and waits for an answer. Passive scanning watches traffic already flowing and infers what is running, which finds nothing new but touches nothing either. Passive monitoring is how industrial and medical networks get covered, because the devices on them fall over when probed.
Types of Vulnerability Scanners
Scanners specialize by what they are pointed at, and no single one covers a modern estate.
| Scanner type | What it examines | Where you meet it |
|---|---|---|
| Network | Hosts, open ports, operating systems, network services | The general purpose scanner most companies start with |
| Web application | A running site or API, probing for injection, broken access control, misconfiguration | Anything published to the internet, often before each release |
| Host or agent based | One machine from the inside, via software installed on it | Laptops and servers that are rarely on the corporate network |
| Database | Database engine versions, permissions, default accounts, encryption settings | Regulated environments and anywhere holding customer records |
| Cloud and container | Cloud configuration, identity permissions, container images and their dependencies | Anywhere the infrastructure is defined in code |
| Code and dependency | Source code and the third party libraries it pulls in, before it ships | Inside the build pipeline, failing the build on a critical finding |
Two patterns are worth pulling out. Agent based scanning has become the default for endpoints, because a laptop that is on the office network one day a week never gets scanned by anything waiting for it to appear. And container scanning belongs in the build pipeline rather than production, because once a vulnerable image is running the fix means rebuilding and redeploying rather than patching in place.

Vulnerability Scanning vs Penetration Testing
These get sold together and confused constantly, and the difference is the difference between a checklist and an adversary.
The practical answer for most organizations is that these are not alternatives. Scanning is the hygiene control you run continuously. A penetration test is the annual proof that the hygiene is working, and its most useful output is usually not the vulnerability list but the answer to a different question: did anyone notice? A scanner has no opinion on whether your monitoring works. A tester does.
One warning about procurement. Some firms sell an automated scan with a report cover on it as a penetration test. The tell is the deliverable: a real test names the path the tester took, in order, with evidence at each step. A scanner's output is a sorted list.
How Often Should You Run a Vulnerability Scan?
The honest answer is that the cadence follows the exposure, not the calendar.
For anything reachable from the internet, continuous or weekly is the target, because that is the surface attackers scan every day. CISA runs a free service on exactly this basis: its cyber hygiene vulnerability scanning continuously assesses internet-accessible assets for any US federal, state, local, tribal or territorial government body and any public or private critical infrastructure organization, sends a weekly report and raises ad-hoc alerts for known exploited vulnerabilities. It costs nothing, and a great many eligible organizations have never enrolled.
For internal systems, monthly is a defensible floor and weekly is better, with an unscheduled scan whenever something significant changes: a merger, a new office, a major platform upgrade.
Compliance sets a minimum rather than a target, and the best known example is payment card data. PCI DSS Requirement 11.3.2 requires evidence of passing external scans performed by an Approved Scanning Vendor at least once every three months, alongside internal scanning on the same quarterly rhythm. Quarterly is what the standard demands. It is not what the threat looks like, given that attackers now weaponize a published flaw within hours, and treating the quarterly ASV scan as your whole program is a compliance pass wrapped around a real gap.
How to Prioritize Vulnerability Scan Results
Severity scores are where most programs go wrong. A scan of a mid-sized estate routinely returns several thousand findings, a few hundred of them scored critical, and no team patches a few hundred things this week. Ranking by CVSS alone sorts the queue by theoretical severity, which is not the same as sorting by what will actually be used against you.
The correction is exploitation data. CISA maintains the Known Exploited Vulnerabilities catalog as the authoritative record of flaws confirmed to have been exploited in the wild, and tells organizations to feed it into their prioritization rather than relying on severity scores alone.
Deadlines are published too. CISA's Binding Operational Directive 26-04 sets remediation timelines for federal civilian agencies that start at three days, and the four variables it uses to pick each timeline are exactly the four a private company should use: is the asset publicly exposed, is the flaw on the KEV list, can exploitation be automated, and does it hand over partial or total control. The directive binds federal agencies. The logic is free for anyone.
Vulnerability Scanning Tools
The market splits cleanly. Nessus, Qualys and Rapid7 InsightVM are the general purpose commercial scanners most organizations end up on, all three built around a network scanner plus agents and a management console. OpenVAS is the open source equivalent and is genuinely capable if you have someone to run it. For web applications, Burp Suite and OWASP ZAP dominate testing work and Acunetix and Invicti sell the automated version. Nmap is not a vulnerability scanner but is the tool everyone uses to answer the prior question of what is actually listening.
OWASP's vulnerability scanning tools list is the vendor neutral catalog worth reading before any purchase, precisely because it takes no position on which is best.
Choosing between them matters far less than buying committees assume. Comparisons between the major commercial scanners come down to reporting, integrations and price, and any of them finds the flaw that gets you breached. The variable that predicts outcomes is whether anyone reads the output every month and has the authority to make systems restart.
Is Vulnerability Scanning Illegal?
Scanning systems you own or have written permission to test is legal. Scanning systems belonging to somebody else, without their authorization, is not, and in the United States it can fall under the Computer Fraud and Abuse Act as well as state computer crime statutes.
The distinction is authorization, not intent or technique. It does not matter that the scan was read-only, that you meant to be helpful, or that the service answered you. Three situations catch people out. Scanning a supplier, or a company you are considering acquiring, requires their written consent, and reconnaissance from public sources is the alternative when consent is not available. Scanning your own systems inside a cloud provider is governed by that provider's testing policy. And scanning an employer's network is authorized by the employer, in writing, not by your job title.
What a Vulnerability Scan Will Not Find
A scanner reports known flaws in what it can see, and every word in that sentence is a limit.
- The asset nobody told it about. The forgotten server, the shadow cloud account, the system inherited in an acquisition. Discovery helps, but a scanner only sweeps the ranges you configured.
- Business logic flaws. A checkout that lets you set a negative quantity is a serious vulnerability and no scanner will ever report it, because nothing about it is a known flaw in a known product.
- Stolen or reused credentials. An attacker signing in with a valid password triggers nothing. There is no vulnerability to find.
- Social engineering. The call that talks an employee into approving a login prompt defeats a fully patched estate.
- Zero day flaws. By definition not yet in the database. This is the limit people cite most and it matters least, because the overwhelming majority of intrusions use flaws that were published and left unpatched.
Key takeaways
- Vulnerability scanning compares your systems against a database of published flaws and reports the matches. It finds known weaknesses in what it can reach.
- The cycle is discover, fingerprint, triage, remediate, rescan. Only the first, second and last are automated.
- Authenticated scans are far more accurate than unauthenticated ones. Internal and external scans answer different questions and you need both.
- Sort by exploitation, not by severity score. The CISA Known Exploited Vulnerabilities catalog held 1,695 entries and is the fastest filter available.
- Quarterly is what PCI DSS demands. Continuous is what internet-facing exposure deserves, and CISA scans eligible US organizations for free.
- A scan is not a penetration test. One reports what might be exploitable, the other proves what is and whether anyone noticed.
- Scanning systems you do not own or have written permission to test is illegal in the United States. Authorization is the whole distinction.
Common questions
What is vulnerability scanning?
An automated check that compares the software, services and configuration on your systems against a database of publicly known flaws, then reports every match with a severity score. It finds known weaknesses in what it can reach. It does not fix anything and it does not find unpublished flaws.
What are the two main types of vulnerability scans?
Two different pairs share the name. Internal against external describes where the scanner stands, inside your network or out on the public internet. Authenticated against unauthenticated describes whether the scanner signs in, which changes accuracy dramatically. Most people asking mean the internal and external pair.
What are the top 5 vulnerability scanning tools?
Nessus, Qualys VMDR and Rapid7 InsightVM are the leading commercial general purpose scanners, OpenVAS is the established open source option, and Burp Suite is the standard for web applications. OWASP's vendor neutral catalog of more than a hundred others is a better starting point than any ranked list.
Is vulnerability scanning illegal?
Not on systems you own or have written permission to test. Scanning someone else's systems without authorization can violate the Computer Fraud and Abuse Act and state computer crime laws, regardless of intent. Get consent in writing before scanning a supplier, and follow your cloud provider's testing policy.
What is the difference between vulnerability scanning and penetration testing?
A scan is automated and broad, and reports what might be exploitable across thousands of hosts. A penetration test is a person with a scope and a time box who tries to actually get in, chains findings together and tests whether your monitoring notices. Run scans continuously and a test annually.
What is the most common type of vulnerability scan?
An unauthenticated external network scan, because it is the cheapest to run and needs no credentials. It is also the least informative. Authenticated internal scanning finds far more and produces far fewer false positives, and serious remediation programs are built on it.
How often should you run a vulnerability scan?
Continuously or weekly for anything reachable from the internet, monthly at minimum internally, and immediately after any significant change. PCI DSS sets a quarterly floor for card environments, which is a compliance minimum rather than a security target now that exploits appear within hours of disclosure.
What is the difference between a vulnerability scanner and antivirus software?
A scanner looks for weaknesses nobody has exploited yet, so you can close them. Antivirus or endpoint protection looks for malicious files and behavior already on the machine. One is preventive and points at your configuration, the other is detective and points at an attacker's tools.
Do vulnerability scans cause outages?
Occasionally, and it is worth planning for. Aggressive active scanning can crash fragile devices, especially industrial controllers, medical equipment and old network hardware. The standard answers are passive monitoring for fragile networks, throttled scan policies, and a first run inside a maintenance window.
What is a false positive in vulnerability scanning?
A finding that is not actually exploitable, usually because the scanner judged a flaw from a version banner while the fix was backported without changing that version string. Authenticated scanning cuts them sharply, and confirming a finding against the host's real patch level before escalating it is standard triage.
Does a vulnerability scan meet compliance requirements on its own?
Rarely. Most frameworks require the scan, remediation within a defined window, and evidence that a rescan confirmed the fix. PCI DSS asks for a passing scan from an Approved Scanning Vendor, so a report with open critical findings is evidence of a gap rather than of compliance.
On this page
- What Is Vulnerability Scanning?
- How Vulnerability Scanning Works
- What Are the Two Main Types of Vulnerability Scans?
- Types of Vulnerability Scanners
- Vulnerability Scanning vs Penetration Testing
- How Often Should You Run a Vulnerability Scan?
- How to Prioritize Vulnerability Scan Results
- Vulnerability Scanning Tools
- Is Vulnerability Scanning Illegal?
- What a Vulnerability Scan Will Not Find

Daniel Reyes
Daniel Reyes is a CISSP who spent twelve years in security operations, most recently leading a detection and response team for a mid-sized healthcare group in Texas. He reviews every resource and breach report on Cyber Security Firms for technical accuracy before it publishes.
Most of the people he has trained arrived having been told too much: a dozen acronyms, six vendors, and no clear idea which risk was theirs. His approach is to explain what an attack actually does before naming the tool that stops it, on the basis that most breaches start with something a reader could have recognised.