Home/Penetration testing

Guide · Penetration testing

What is penetration testing? A plain-English guide

What a penetration test is, how it differs from a scan, the main types, how a test runs, what a good report contains and how often to test. Based on guidance from the UK National Cyber Security Centre and CREST.

A tester probing a protected system through a chain of weaknesses
Short answerA penetration test is an authorised, simulated attack on your systems by a qualified tester. It shows which weaknesses an attacker could actually exploit, what they could reach, and how to fix it. The UK NCSC calls it “a method for gaining assurance” in your security, not the main way to find vulnerabilities, so it works best alongside continuous scanning and vulnerability management.1

Last reviewed 21 October 2026 by OptimaTech Limited.

1 · Definition

The definition, and what it means in practice

“A method for gaining assurance in the security of an IT system by attempting to breach some or all of that system’s security, using the same tools and techniques as an adversary might.”National Cyber Security Centre (UK)1

A qualified tester behaves like a real attacker, within an agreed scope and with your written permission. They look for weaknesses, try to exploit them, and show you what an attacker could reach.

Think of a building. A scan walks the corridor and lists doors that might be unlocked. A penetration test tries each handle, sees what is behind the door, and checks whether a weak lock, a propped-open window and a spare key under the mat add up to a way into the server room.

Chained weaknesses

Small issues that are harmless alone can combine into one serious path. Tools rarely spot this; people do.

Business logic

A tester can see that a refund page lets one customer act on another’s order. A scanner sees a page that loads.

Why “low” findings still matter

Scanners rate each issue on its own. Attackers do not. They look for a sequence: one small gap gets them to the next. A penetration tester thinks the same way, so the report shows the real path, not just a list. In the example below, three findings that would each be easy to defer become one critical risk when they sit on the same system.

Illustrative attack path: an exposed admin login, a weak password policy and no multi-factor authentication lead from the internet to the customer database.
Figure 1. Illustrative attack path. Findings 1 to 3 each look minor (low, low, medium). Together they let an attacker guess a short password, take over an admin account, reach an internal file server and then the customer database. Fix any one of them and the path breaks.

The same path in the language security teams use

Security teams describe attacker behaviour with MITRE ATT&CK, a public knowledge base of adversary tactics and techniques based on real-world observations.2 Mapping a test to ATT&CK shows which steps of a real attack the tester actually demonstrated, and makes findings easier to compare with your detection and response tools.

An illustrative attack path across six MITRE ATT&CK tactics, from Active Scanning to Exfiltration Over Web Service.
Figure 2. An illustrative attack path mapped to six MITRE ATT&CK tactics. Each numbered step is one a tester can demonstrate, so the report shows how far an attacker could get, not just a list of issues.2
2 · Why organisations test

Four reasons CREST sees organisations commission tests

CREST’s buyer guide lists the main drivers behind penetration testing programmes.3

Compliance

“A growing requirement for compliance” from regulators, standards and customers.

Attacks on peers

Concern about the impact of serious security attacks on similar organisations.

Limit liabilities

Evidence of due care if things go wrong, or if there is a court case.

Fewer incidents

Reduce the frequency and impact of security incidents.

3 · Scan, pen test or PTaaS

What is the difference between a scan, a pen test and PTaaS?

They are not competitors. Scanning finds known issues at scale; testing proves what is exploitable. PTaaS puts both on one platform.

Capability matrix comparing a vulnerability scan, a penetration test and PTaaS with Blacklock.
Figure 3. Capability matrix. A scan flags known issues all year but does not prove them; a penetration test proves what is exploitable, usually once a year; PTaaS does both on one platform.14
Vulnerability scanTraditional pen testPTaaS (Blacklock)
Who does itAutomated toolsHuman testerAutomated tools plus certified human testers
How oftenContinuous or scheduledUsually once a yearContinuous scanning, manual tests on demand
FindsKnown vulnerabilities, misconfigurationsExploitable paths, business-logic flaws, chained weaknessesBoth, tracked in one place
OutputList of findingsStatic PDF reportLive dashboard, tickets to developers, three reports and a test certificate4
RetestingNext scanOften a separate engagementFixes retested on the platform
4 · Types of test

The main types of penetration test

CREST lists application and infrastructure testing as the most common, alongside several specialist types.3

Application

Typically web applications: finds technical vulnerabilities in the app and its APIs.

Infrastructure

Servers, firewalls and other hardware, internal or internet-facing.

Mobile application

The app on the device and the services it talks to.

Specialist

Client-server or legacy applications, devices, wireless, and telephony or VoIP.

How much does the tester know beforehand?

The NCSC describes a range, depending on how much knowledge of the system is shared with the testers.1

Matrix comparing open-box, in-between and closed-box testing by information shared, starting point and what each shows.
Figure 4. Open box, in between and closed box. Many tests sit in between: for example, testers get a normal user account but no architecture documents. Choose based on what you want to learn. A closed-box test shows what an outsider could find; an open-box test lets testers go deeper in the same time.

Blacklock covers web, infrastructure, cloud, mobile and AI application testing. See what we test.

5 · How a test runs

Preparation, testing, follow-up

CREST describes a penetration testing programme in three main stages, supported by 22 detailed steps.3

  1. Preparation

    A signed-off scope statement defines the target environment: which systems are in and out of scope, the approach, where testing happens, authorisation to test, liabilities and reporting.3 The NCSC recommends involving risk owners, technical staff and the test team in scoping.1

  2. Testing

    The testing style and scope are agreed, the test is carried out, and key findings are reported.3

  3. Follow-up

    Remediation, root-cause analysis and an action plan, so the same type of weakness does not return.3

CREST's three stages: preparation, testing and follow-up, with the main tasks in each.
Figure 5. CREST’s three stages. Most of the value is decided before testing starts: a clear, signed-off scope keeps the test safe and focused. Follow-up is where the risk actually goes down.3 With PTaaS, these stages repeat as a cycle instead of once a year.
6 · The report

What a good penetration test report contains

The report is what you pay for. Check for these items, drawn from CREST and NCSC guidance.31

About the test

  • Names, roles and qualifications of the testers
  • Date of the report, type of test and scope
  • Anything that affected the validity of the results

About the findings

  • Each security issue found, with a risk rating
  • A way to resolve each issue
  • An executive summary in business-risk terms
  • Advice to improve your own vulnerability assessment
A penetration test report with six labelled parts, from tester qualifications to the executive summary.
Figure 6. Anatomy of a good report. Items 1 to 3 tell you whether you can trust the test; items 4 to 7 tell you what to do next.

Blacklock provides Executive, Developer and Full Penetration Test reports and a penetration test certificate.4

7 · How often

How often should you test?

CREST advises subjecting critical systems to regular penetration testing, at least yearly, and after any major change. It also recommends testing on a regular basis rather than as a one-off exercise.3

The limitation is timing. The NCSC notes that a test can only show you were not vulnerable to known issues on the day of the test, and that a year or more often passes between tests.1 New code, new cloud services and newly published vulnerabilities appear in the meantime.

That is why PTaaS pairs manual tests with continuous scanning: the annual or release-based test gives depth, and scanning covers the days in between.

A practical rhythm

  • Continuous scanning of internet-facing systems
  • Manual test at least yearly
  • Extra test before or after major releases and migrations
  • Retest every fixed critical or high finding
A year timeline with one annual penetration test and later changes, covered by continuous scanning.
Figure 7. The gap between tests (illustrative). A February test cannot see a release in May, a vulnerability published in July or a cloud change in October. Continuous scanning keeps checking in between.
FAQ

Penetration testing FAQ

Is a penetration test the same as a vulnerability scan?

No. A scan is automated and lists known weaknesses. A penetration test is carried out by a skilled person who tries to exploit and chain weaknesses to show what an attacker could actually reach. The NCSC describes penetration testing as a way to gain assurance in your vulnerability management, not as the primary way to find vulnerabilities.1

What should a penetration test scope include?

CREST says the scope should be a signed-off document that defines the target environment, including which systems are in and out of scope, the testing approach and where testing takes place, plus resourcing, liabilities, authorisation to test, reporting and follow-up.3

What is the difference between open-box and closed-box testing?

In open-box testing, full information about the target is shared with the testers. In closed-box testing, no information about the internals of the target is shared, so testers start from the outside like an unknown attacker.1

How often should we have a penetration test?

CREST advises testing critical systems at least yearly and after any major change, and testing regularly rather than as a one-off.3 Continuous scanning covers the time between manual tests.

Who should read the penetration test report?

Both technical and business readers. CREST recommends pairing the technical report with an executive summary that explains findings in business-risk terms.3

Next: why CREST accreditation matters

Learn how to tell an accredited penetration test from a scan with a new name, or talk to us about your scope.

Sources

  1. National Cyber Security Centre (UK), Penetration testing guidance.
  2. MITRE, MITRE ATT&CK Enterprise matrix (viewed October 2026).
  3. CREST, A Guide to Penetration Testing (2022).
  4. Blacklock, On-demand manual penetration testing and services and plans; OptimaTech, Blacklock product page.

Figures are quoted from the named source and year. General information, not legal advice.