Home / Blog / Pentest
Pentest

Penetration test vs vulnerability scan: the difference and which to choose

How a pentest differs from a vulnerability scan: what each finds and misses, how long it takes and when to choose which. Table and checklist.

ShareLinkedInTelegram
Two halves: on the left a scan looks for known and outdated issues across many systems, on the right a pentest: the number in orders/1046 is circled as someone else’s order.
Article contents
  1. In short
  2. Comparison
  3. Where the scanner is silent but the problem is real
  4. What to choose in your situation
  5. Common mistakes
  6. Checklist before you order
  7. FAQ
  8. References

A vulnerability scan automatically checks many systems for known problems: outdated versions, exposed services, unsafe settings. A penetration test is done by a person who checks whether those weak spots can actually be used to reach other people’s data, money or access. A scan answers “what is outdated and exposed”, a pentest answers “what could really happen”.

You need both, for different things. Below is a comparison, an example where the scanner stays silent although the problem is real, and how to decide where to start.

In short

  • A scan is fast and wide: hundreds of addresses in a few days, known vulnerabilities and settings. Good for regular control.
  • A pentest is deep and manual: application logic, access rights, chains of several small issues. Good before a launch, after big changes or when a partner asks for it.
  • A scanner does not see that a customer can open someone else’s order by changing the number in the address. A pentester checks exactly that.
  • A sensible routine: regular scanning, a pentest once a year and after big changes.

Comparison

Vulnerability scanPenetration test
Who does itA tool, a person reviews the resultsA person, helped by tools
QuestionWhat is outdated, exposed or misconfigured?What could an attacker actually do?
BreadthMany systems at onceAgreed systems, but in depth
FindsKnown vulnerabilities (CVEs), old versions, weak settingsBroken access control, other users’ data, logic flaws, attack chains
MissesBusiness logic, rights between usersWhatever was outside the agreed scope
DurationUsually a few daysUsually a week or more, depending on scope
OutputA prioritised list of issuesReproduced findings, business impact, order of fixes
How oftenRegularly: monthly or quarterlyOnce a year and after big changes

NIST and PCI SSC describe these as separate kinds of work and state plainly that one does not replace the other. [1] [2]

Where the scanner is silent but the problem is real

An online shop. A customer logs in and opens an order at an address like /orders/1045. They change the number to 1046 and see someone else’s order: name, phone, delivery address.

For a scanner everything is fine: the page responds, login works, no known vulnerable versions. The flaw is that the system does not check whether the order belongs to this customer. OWASP describes such authorisation checks as a separate part of web application testing. [3] Only a person thinking like an attacker finds it.

The opposite case: an old PHP version or an exposed admin panel is left on a server. A scanner finds it in minutes, while a pentester could spend that time better on the application’s logic.

What to choose in your situation

Start with a scan (Vulnerability Assessment) if:

  • you have many websites, servers or services reachable from the internet;
  • security has not been checked for a long time and the obvious needs clearing first;
  • you need regular control between pentests.

Choose a pentest if:

  • you have your own product: a customer area, an API, payments, user data;
  • you are preparing a launch, a big update or a new integration;
  • a partner, client or regulator asks for an independent test.

Both, if the product matters to the business: regular scanning, a pentest once a year and after big changes. If the company already has a security team, the next step is a Red Team: checking whether a real attack would be noticed and stopped.

If the risks sit in several places at once (email, accounts, website, staff), it is easier to bring the tests together in one program with one report.

Common mistakes

  • Buying a scan labelled “pentest”. Ask how much time a person works and what exactly they check by hand. More questions are in how to choose a penetration testing company.
  • Getting a raw scanner report. Hundreds of lines no person has reviewed: some are false alarms, and the real problems get lost.
  • Running a pentest before fixing the known issues. If a scanner finds dozens of old versions, the pentester spends time on the obvious. Clear it first.
  • Treating untested systems as safe. Both a scan report and a pentest report should say clearly what was not tested.

Checklist before you order

Download the preparation checklist (PDF)PDF · A4

FAQ

Can a scan replace a pentest to save money?

No, they answer different questions. A scan is cheaper and useful regularly, but it will not find logic flaws or broken access rights. For a product with customer data a scan alone is not enough.

How long does each take?

A scan usually takes a few days including the review of results. A pentest depends on scope: for a small web application usually a week or more, longer for several systems.

Can a scan harm a live system?

Active scanning creates load, so it is agreed in advance: which addresses, when and how intensively. No active testing is done without written permission.

What is a Vulnerability Assessment?

It is vulnerability scanning plus manual review: a specialist removes false alarms, rates the risk and explains what to fix first.

How often should we scan and pentest?

Scan regularly, for example monthly or quarterly. Pentest once a year and after big changes to the product or infrastructure.

References

  1. NIST SP 800-115: Technical Guide to Information Security Testing and Assessment csrc.nist.gov
  2. PCI SSC: Penetration Testing Guidance v1.1 (2017) pcisecuritystandards.org
  3. OWASP Web Security Testing Guide: Introduction wstg.owasp.org
ShareLinkedInTelegram
Blog

More articles

What is a penetration test, in plain words?

What a penetration test is: definition, why companies do it, how it differs from a scan and a red team, stages, types, report, timing, written permission.

Veiltrack: facts for vetting a pentest vendor

Who we are, who tests, which standards, how we store data, what is in the report, prices and payment, what we do not do. Short answers for due diligence.