Blog

Penetration test or vulnerability scan: which one do you need?

They sound alike and are often sold as the same thing. One is a machine checking a list; the other is a person trying to get in. Here is how to tell which you need.

CyberChef Technologies10 Nov 20265 min readGuide

Two people looking closely at code on a laptop
Photo: X on Unsplash

Key points

  • A vulnerability scan is automated. It checks your systems against a list of known weaknesses and can run every week.
  • A penetration test is done by people. They try to break in the way a criminal would, and prove what they find.
  • Scans find what is known and common. Tests find what is specific to you, such as flaws in how your app decides who can see what.
  • Most organisations need both: scans all year, and a test before launch, after big changes and at least once a year.

Ask three security companies for a penetration test and you may receive three very different things, at three very different prices. One of them might be a vulnerability scan with a new cover page. The two are both useful, and they are not the same. Knowing the difference will save you money and, more importantly, a false sense of safety.

The short version

Think of a restaurant kitchen. A vulnerability scan is the checklist: are the fridges at the right temperature, is the fire extinguisher in date, are the doors locked? It is fast, it can be repeated every week, and a machine can do it.

A penetration test is a chef tasting the food. A person with experience tries the thing itself, the way a real customer or a real thief would, and notices what no checklist asks about: that the back door opens if you lift the handle, or that anyone in a white coat can walk into the storeroom.

Who does it

Vulnerability scanSoftware, set up and reviewed by a person.

Penetration testExperienced testers, helped by tools.

What it looks for

Vulnerability scanKnown weaknesses: missing updates, risky settings, old software.

Penetration testWays in. Including flaws that are unique to your system and how it is used.

Does it prove the risk?

Vulnerability scanNo. It lists what might be exploitable.

Penetration testYes. Testers safely show what an attacker could actually reach.

How long

Vulnerability scanMinutes to hours.

Penetration testDays to weeks, depending on scope.

How often

Vulnerability scanWeekly or monthly, and after every change.

Penetration testAt least yearly, before launch and after major changes.

What you receive

Vulnerability scanA long list ranked by severity, often with false alarms.

Penetration testA shorter list of proven findings, each with evidence and a fix.

What a scan is good at

  • Covering everything, often. A scanner can check hundreds of systems every week without getting tired.
  • Catching the basics quickly: a server that missed an update, a database left open to the internet, an expired certificate.
  • Showing a trend. Are you fixing problems faster than new ones appear?

Many real attacks start with exactly these basics, so regular scanning is worth doing. Its limit is that it only knows what it has been told to look for.

What only a person will find

  • Flaws in who can see what. A scanner does not know that customer A should never see customer B's statement. A tester with two accounts finds out in an afternoon. This is the kind of flaw reported in the breach that reached around 40 Irish credit unions.
  • Flaws in the logic of the business. Can a transfer be approved by the person who requested it? Can a discount be applied twice? Can a negative amount be sent?
  • Chains. Three small problems that are each low risk on a scan report, and together lead to the administrator's account.
  • What happens after the first step. Once inside, how far can an attacker go, and does anyone notice?

Which one do you need?

Usually both, at different times.

  • You are about to launch a new app, a new online service or a major new feature: a penetration test, before real customers and real money arrive.
  • You hold money or sensitive personal data, as banks, SACCOs, fintechs, insurers and health providers do: a penetration test at least once a year, and scanning in between.
  • You have never looked at all: start with a scan and an inventory of what you have online. It is the fastest way to find the obvious problems, and it tells you where a test should focus.
  • A client, partner or regulator asks for evidence: ask them which they mean. Most mean a penetration test report from an independent team.
  • Your systems change every week: continuous scanning, plus a tester's eye on each significant release.

Questions to ask before you buy either

A good provider answers these easily

  1. Who will do the work, and how much of it is manual?

    You are paying for people's attention. Ask how many days of it.

  2. Will you prove each finding, safely?

    A proven finding gets fixed. A theoretical one gets argued about.

  3. What will the report look like?

    Ask for a sample. Look for evidence, a clear severity and a fix a developer can follow.

  4. Is a retest included?

    A test is finished when the fixes have been checked, not when the report is sent.

  5. What do you need from us, and what is off limits?

    Scope and rules agreed in writing protect both sides.

How we do it

Every engagement at CyberChef follows the same five steps: we agree the scope and sign the rules, attack the way a real attacker would, validate each finding with a safe test, report ranked findings with their fixes, and retest to confirm each one is closed. You can read more on how we work, or see what is covered under offensive security and continuous testing.

Not sure where your gaps are?

We are ethical hackers in Kigali. Tell us what you run on, and we will tell you where we would look first.

Request an assessment