Your first penetration test should be small and targeted: the systems that face the internet, plus the one application your business can least afford to lose. Test those properly, fix what the test finds, then widen the scope. Testing everything at once spreads the days thin and buries the findings that matter.
That isn’t the instinct most organisations arrive with. Having decided to commission a first test, the natural urge is to get the lot done, every server, every application, every office, so that nobody can say later that something was missed. It feels thorough. It usually isn’t.
The price of a test is set by the tester-days its scope needs, which our guide to penetration testing cost explains. This post is about the step before the price: deciding how much to put in scope the first time.
Why a First Penetration Test Should Start Narrow
A first penetration test should start narrow because its job is to find out how well your security holds up where it matters most, not to list everything you own.
The National Cyber Security Centre is blunt about what a penetration test is for. It says penetration testing should be viewed “as a method for gaining assurance in your organisation’s vulnerability assessment and management processes, not as a primary method for identifying vulnerabilities” (opens in a new tab) (NCSC, Penetration testing, last reviewed 10 January 2022). The same guidance puts the ideal more simply: “In an ideal world, you should know what the penetration testers are going to find, before they find it.”
Most organisations commissioning a first test are nowhere near that ideal. Which is fine. It just means a wide first test mostly pays skilled people to find things a vulnerability scan would have found for a fraction of the effort. Our post on vulnerability scans and penetration tests sets out the difference.
CREST makes the same point from the buyer’s side. Its guide to commissioning testing says: “For some organisations, the first step in procuring a penetration test is to conduct a risk assessment of assets.” (CREST, (opens in a new tab)A Guide to Penetration Testing (opens in a new tab), December 2022 (opens in a new tab).) In other words, decide what matters before anyone tests it.
What Should Be Included in a First Penetration Test?
A first penetration test should include your internet-facing systems and the single most critical application, and leave the rest for later tests.
The table sets out where we’d draw the line.
| In the first test | Can usually wait | Why |
|---|---|---|
| Internet-facing infrastructure: your external IP ranges, VPN, remote access, the websites you host | Internal network testing | The outside is what every attacker can reach. The inside needs a foothold first |
| The one application the business depends on most, usually customer-facing and holding sensitive data | Internal and low-sensitivity applications | CREST recommends more rigorous testing for applications reachable from outside the business |
| Credentials and documentation for that application, so the tester isn’t guessing | Closed-box testing of the same scope | A tester with information covers more in the same days |
| A retest of the serious findings once they’re fixed | Everything else on the asset list | Proving the fixes worked is part of the first test, not a second project |
Each row has a source behind it. CREST describes an external test as “the most common type of test” (opens in a new tab), aimed at systems that are “internet connected”, and its guide recommends that buyers “Apply more rigorous testing to applications that are accessible from outside the boundaries of the business.” On information, the same guide says white-box testing “is a much more effective use of a penetration tester’s time, reducing cost to your business.”
The internal network matters. It’s simply the second question, not the first. Once you know the perimeter holds, the next test should ask how far someone gets once they’re past it, which is the comparison our post on internal vs external penetration testing covers.
How Do You Prioritise What to Pen Test First?
Prioritise by what the business would lose if a system were compromised, and how likely that is, not by which systems are easiest to list.
CREST’s guide lists what to weigh when identifying the most critical systems: the nature of the business, the size of the systems and the sensitivity of the data they hold, the potential business impact of a compromise, and the likelihood of one actually happening. Its advice on scoping a programme includes a three-word instruction worth pinning above the desk: “Focus on critical systems”.
In practice, that means asking three questions of every candidate system:
- If this were compromised tomorrow, what would it cost the business, in money, customers or regulatory trouble?
- Can someone reach it from the internet?
- Does it hold or process data you’d have to report losing?
A system that scores on all three goes in the first test. A system that scores on none waits.
It’s rather like moving into an old house. You could redecorate every room at once and live in dust sheets until spring. Or you could fix the roof first, because that’s the thing letting the weather in, and paint the spare bedroom when you get round to it. Nobody has ever regretted fixing the roof first.
The Case for Testing Everything in Your First Penetration Test
The strongest case for testing everything is that attackers don’t respect your scope, and a narrow test leaves systems nobody has looked at. It’s a fair point, and it doesn’t change the answer.
CREST’s own guide says the scope of a penetration testing programme should “Cover all main systems, enterprise-wide”. That’s right. But it’s describing the programme, not the first test. The same guide also says to “Conduct penetration testing on a regular basis, rather than as a one-off exercise.” Full coverage is what you build towards over a year or two of tests, each one sized to what the last one taught you.
The bigger risk with an everything-test is dilution. The days get spread across fifty systems instead of concentrated on five. The report runs to a length nobody finishes reading. The findings on the system that matters sit on page forty, between a missing patch on a test server and an expired certificate on something nobody remembers owning.
What about the systems left out? They shouldn’t be forgotten, and they don’t have to be. The NCSC describes testers finding out-of-scope systems that affect in-scope security, and says they “may recommend that the exclusion of such components be recorded as a limitation on testing” (opens in a new tab). Write the exclusions down, and they become the scope of your next test rather than a blind spot.
A First-Year Penetration Testing Sequence That Grows With Your Findings
A sensible first year runs from preparation, to a focused first test, to fixes and a retest, to a second test sized by what the first one found.
The sequence below is illustrative, not a prescription. The timings depend on how fast you can fix things.
| When | What | What it answers |
|---|---|---|
| Before the test | Write an asset list; run your own vulnerability scan and fix the obvious | “Do we know what we have?” |
| First test | External infrastructure plus your most critical application | “Can someone get in, and into what matters?” |
| After the report | Fix the serious findings; retest them | “Did the fixes work?” |
| Second test | Internal network, or the next application on the priority list, sized from the first report | “How far could someone go once inside?” |
| Every year after | Critical systems at least yearly, and after any major change | “Is it still true?” |
The last row is CREST’s, almost word for word. Its guide recommends that buyers “Subject critical systems to regular penetration testing (at least yearly) – and after any major change”. Our post on how often to pen test covers the timing question in more depth.
There’s a reason the first row matters so much. The NCSC notes that “It’s not uncommon for a year or more to elapse between penetration tests.” A test tells you where you stood on the day. What you do between tests decides where you stand the rest of the year.
Why Your First Penetration Test Should Answer One Question Well
A first penetration test earns its money by answering one question properly, can someone get into what matters most, and giving you a short list of things to fix.
Get that right and the second test is easier to scope, cheaper to run and more useful to read. Before you book it, our guide on how to prepare for a penetration test covers what to have ready, and our checklist on how to choose a penetration testing company covers who to trust with it.
If you’re scoping a first test and aren’t sure where to draw the line, do get in touch. We’ll tell you what we’d put in scope, and what we’d leave for next time.
A first penetration test isn’t a census of everything you own. It’s a proper look at the part that matters.