Head-to-head

Penetration Testing vs Vulnerability Scanning: What's the Difference?

A vulnerability scan is an automated check that lists known weaknesses across your systems, and it should run often. A penetration test is a person trying to break in, proving which weaknesses matter and how far an attacker could get. Most businesses need both: scans monthly or continuously, a pen test about once a year.

At a glance

OptionBest for
Vulnerability scanningFinding known weaknesses across every system, every month or continuously
Penetration testingProving what a real attacker could reach, at least once a year and after big changes

What we compared

  • How it works
  • How often
  • Typical cost
  • What you get
  1. Vulnerability scanning

    Best for Finding known weaknesses across every system, every month or continuously

    Strengths

    • Automated, so it covers every host and site you point it at.
    • Cheap enough to run weekly, monthly or all the time.
    • Catches missing patches and misconfigurations soon after they appear.
    • Quarterly external scans by an approved vendor are required for PCI DSS.

    Watch out for

    • Only finds known issues that match its checks.
    • Produces false positives that someone has to triage.
    • Can't tell you whether weaknesses can be chained together into a real breach.
    Learn more about Vulnerability scanningSource
  2. Penetration testing

    Best for Proving what a real attacker could reach, at least once a year and after big changes

    Strengths

    • A skilled tester exploits weaknesses and chains them, like an attacker would.
    • Finds logic flaws and access-control gaps that scanners miss.
    • Shows real business impact, which helps you prioritize fixes.
    • Often required by customers, insurers and frameworks such as PCI DSS and SOC 2 audits.

    Watch out for

    • A point-in-time snapshot, so new weaknesses can appear the next week.
    • Costs far more per engagement than scanning.
    • Quality depends heavily on the tester and the scope you agree.
    Learn more about Penetration testingSource

The short answer

A vulnerability scan is software checking your systems against a long list of known weaknesses: missing patches, outdated software, weak settings and exposed services. A penetration test is a person, or a small team, trying to break in the way a real attacker would, using what they find to see how far they can get.

The two are often confused because both end in a report full of vulnerabilities. The difference is depth. A scan tells you what might be wrong. A pen test tells you what an attacker could actually do with it. NIST treats them as separate techniques in its technical guide to security testing, and most security programs use both.

You will also see the term vulnerability assessment. It usually means a scan plus a person reviewing the results, removing false positives and ranking what to fix. It sits between the two, closer to scanning. Our glossary covers vulnerability assessment and penetration testing in more detail.

Side by side

Vulnerability scanningPenetration testing
Who does itAutomated tool, sometimes with expert reviewSkilled human testers, helped by tools
What it answersWhat known weaknesses do we have?What could an attacker actually reach?
DepthBroad and shallowNarrow and deep
How oftenWeekly, monthly or continuouslyOnce a year, and after major changes
Typical costAbout $100 to $2,000 a monthAbout $4,000 to $30,000 per test
Time to runMinutes to hoursOne to four weeks, plus the report
False positivesCommon, need triageRare, because findings are proven
CompliancePCI DSS quarterly ASV scansPCI DSS annual tests, SOC 2 and customer requests

When a vulnerability scan is enough

Scanning is the right everyday tool. New weaknesses are published every day, and a scan run monthly or continuously catches a missing patch or a server someone opened to the internet before an attacker does. For a small business with a simple website, email in the cloud and a handful of laptops, regular scanning plus prompt patching covers most of the risk.

Scanning is also required in some cases. Businesses that take card payments must pass external scans by a PCI-approved scanning vendor (ASV) every quarter. The PCI Council is clear that a passing ASV scan does not make you compliant on its own; it is one requirement among many.

When you need a penetration test

Book a pen test when you need to know how bad a breach could really be, or when someone asks for proof. Common triggers:

  • A customer, partner or insurer asks for a recent pen test report.
  • You are preparing for a SOC 2 audit, or you process card payments.
  • You launched a new application, moved to the cloud or made a big network change.
  • You hold sensitive data, such as health, financial or legal records.

A good tester finds things scanners can't: a password reset that can be abused, a user who can see another customer's records, or three low-risk issues that together open the door. Our guide to what penetration testing is explains the types of test and what a good report looks like.

How they work together

The usual pattern is simple. Scan continuously or monthly, fix what the scans find, then bring in a pen tester once a year to test the defenses you have built. Fixing the scan findings first means you don't pay a tester's day rate to report missing patches. After the pen test, rescan to confirm the fixes.

If budget allows only one, choose based on what you need to prove. For keeping known holes closed, choose scanning. For a customer, insurer or auditor who wants evidence that a skilled attacker couldn't get in, choose a pen test.

A note on automated "pen tests"

Some tools and low-cost services call an automated scan a penetration test. If a quote is a few hundred dollars and nobody asks about your applications, user roles or goals, it's a scan. That isn't bad, but it won't satisfy an auditor who asked for a pen test.

Questions to ask a provider

  • Is this an automated scan, a reviewed assessment or a manual penetration test?
  • Who reviews the results, and do you remove false positives before we see them?
  • For a pen test, what exactly is in scope, and is a retest after fixes included?
  • Are you a PCI ASV, if we need quarterly scans for card payments?

You can compare vulnerability scanning services and penetration testing services, or get free quotes from vetted providers.

Sources

  1. SP 800-115, Technical Guide to Information Security Testing and Assessment (NIST)
  2. Vulnerability scanning (glossary) (NIST CSRC)
  3. I have had an external vulnerability scan completed by an ASV. Does this mean I am PCI DSS compliant? (PCI Security Standards Council)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.

Want help choosing?

Tell us what you need and we will match you with up to three vetted providers. Free, with no obligation to hire.

Get free quotes