In short
Penetration testing, or pen testing, means asking qualified testers to attack your own systems, with permission and an agreed scope, to find which weaknesses can really be exploited. A pen test runs through set phases, from scoping to a report that rates each finding and explains the fix, and is repeated after significant changes.
Want a penetration test for your systems?
Tell us what you want tested and why, and we can arrange the right test.
Penetration testing meaning and definition
In plain terms, penetration testing means a controlled attack on your own systems, carried out with your permission, to find out which weaknesses an attacker could really use. Pen testing means exactly the same thing: it is the short form, and that pen testing meaning is the one used throughout this guide.
To define the term penetration testing in one line, the NCSC (opens in a new tab) calls it a way of gaining assurance about an IT system by trying to breach its security with an adversary's tools and techniques. The meaning of a penetration test is narrower than a security audit: it tests what can be exploited at the time of the test.
Every pen testing definition shares three points: permission, a scope agreed in advance, and real attempts to exploit weaknesses rather than just listing them. That is also how to define a pen test against a vulnerability scan, which only lists weaknesses, and by that definition penetration tests show impact as well as weaknesses.
In cyber security, penetration testing is a check on your other controls rather than the main way you find problems, which is how the NCSC frames it. Pen testing in cyber security plays the role an external audit plays for a finance team.
Why penetration testing is important
The purpose of penetration testing is to prove which weaknesses matter, so you fix the ones an attacker could use first. The importance of penetration testing comes from that proof: a scanner can list many issues, but a pen test shows which of them lead to your data. Pen testing is important for another reason too: customers, insurers, auditors and regulators may ask for a recent report.
If you are asking whether you need a penetration test, look at what changed recently, what holds sensitive data and what a customer contract requires. It is important to conduct penetration testing continuously, or at least after significant changes, because a test only shows your security on the day it ran.
Benefits of penetration testing
The benefits of pen testing are practical:
- Proof, not theory: findings come with evidence of what the testers reached.
- Priorities: you fix the few weaknesses that lead somewhere first.
- Assurance: a check that your own vulnerability management is working.
- Evidence: a report you can show customers, insurers and auditors.
- Response practice: some tests also show whether your team spotted the attack.
The advantages of penetration testing are proof and priorities; its disadvantages are that a test is a snapshot, covers only the agreed scope and depends on the skill of the testers. Use cases for penetration testing include a new website or app before launch, a network after a big change, a supplier or customer request, and evidence for PCI DSS or ISO 27001. A pen test is not a fixed checklist: the NCSC points out that a full set of test cases cannot be written in advance, which is why the testers' skill matters.
Types of penetration testing
The different types of pen testing are named after what is tested, and choosing between different types of penetration testing starts with what you are worried about.
| Type | What it tests | Example |
|---|---|---|
| Web application | Websites, web apps and APIs | A customer portal where changing an ID in the address shows another customer's records |
| External network | What the internet can reach | A remote access gateway with a known, unpatched flaw |
| Internal network | What an insider or infected laptop could reach | A reused password that leads to domain admin |
| Wireless | Wi-Fi and its separation from the office network | Guest Wi-Fi that can reach office file shares |
| Mobile app | Android and iOS apps and their APIs | An app that stores a login token unencrypted |
| Cloud | AWS, Azure, Google Cloud and Microsoft 365 | A storage bucket readable by anyone with the link |
| Social engineering | Phishing, phone and in-person pretexts | A caller who talks the service desk into a password reset |
| Physical | Doors, badges and network ports | A visitor who reaches a meeting room port unchallenged |
Those penetration testing examples are typical rather than complete; the NCSC's own list of test types is illustrative too. If you want a pen test example for your own systems, start with the row that matches what changed most recently. People also group tests into three types of pen testing by how much the testers know: black box, grey box and white box. Each of the types of penetration tests above can be run in any of those three ways.
Not sure which option applies to you? Ask us
Tell us about your organisation and we will point you to the right option.
Black box, grey box and white box penetration testing
In a black box penetration test, the testers start with no inside information, as an outside attacker would; the NCSC calls this opaque or closed box testing. A black box pen test models an attacker who knows nothing about you, but the testers may run out of time before finding what an insider would know.
In a white box penetration test, the testers get full information, such as diagrams, source code or admin accounts, which the NCSC calls transparent or open box testing. White box pen testing finds more in the time available and checks your own vulnerability management, while a white box pen test of source code also suits bespoke software.
Grey box penetration testing sits in between, and is written gray box penetration testing in US material: the testers get some information, typically an ordinary user account. For a business web app, a grey box penetration test with a normal user login is a sensible default, because it shows what a customer or member of staff could abuse. Grey box pen testing sits between the two others, and black box vs white box pen testing is a trade-off between realism and coverage.
Sources (checked 23 November 2026): NCSC, penetration testing (test basis).
Penetration testing methodology
A penetration testing methodology is the documented approach a tester follows, so results are consistent and nothing in scope is skipped. Several public penetration testing methodologies and standards exist:
- PTES: the Penetration Testing Execution Standard (PTES) has seven sections, from pre-engagement interactions and intelligence gathering through threat modelling, vulnerability analysis, exploitation and post-exploitation to reporting. A penetration test run to that execution standard covers the business side of the engagement as well as the technical work.
- NIST SP 800-115: the US National Institute of Standards and Technology's guide to planning and running technical security tests and assessments, and to analysing what they find; NIST penetration testing guidance sits within it.
- OWASP: the OWASP Top 10 and OWASP's testing material are the usual reference for web application tests, and OWASP's Mobile Application Security Verification Standard (MASVS) for mobile apps.
- CREST: CREST's accreditation assesses each accredited firm's service methodology, so an accredited firm can show you its own.
Pen test methodologies differ in detail, but each covers the phases below. A pen testing methodology that names a recognised penetration testing framework, such as PTES or NIST's guide, is easier to compare between providers. Ask for the pen test methodology in writing before you sign, and check it says how the testers avoid harming live systems. The penetration test methodology should also say how findings are rated, for example with CVSS scores. Penetration testing methods within that framework include manual exploitation, automated scanning and password attacks, and a comprehensive penetration testing methodology also covers the security of anything the testers collect, such as password hashes or screenshots.
This penetration testing guide is written for the people who buy tests rather than the testers.
Sources (checked 23 November 2026): PTES (readthedocs edition); NIST, SP 800-115; OWASP, Top 10 and MASVS.
Prefer a hand with this?
We can help you scope the test and plan the fixes, alongside your own team.
Penetration testing phases: how a test runs
The NCSC's model engagement starts with first contact and scoping, moves on to the testing and the report, and ends with follow-up. Inside the testing itself, the penetration testing stages are these.
- Scoping and rules of engagementsystems, test types, window, contacts
- Intelligence gatheringpublic information and discovery
- Vulnerability analysiswhich weaknesses look exploitable
- Exploitationsafe attempts to use them
- Post-exploitationhow far a foothold goes
- Reporting and re-testfindings, fixes, then checking
Pen testing steps vary a little between providers, but every penetration test process should include each of these. The penetration test steps that buyers see are scoping at the start and the report at the end; the middle stages are the testers' work. The pen testing process ends with follow-up: your own team rates each finding for your business, as the NCSC advises, and fixes are re-tested.
Scope and rules of engagement
A pen test plan, the output of scoping, sets the boundaries before any testing starts. The penetration testing plan should name the systems in scope, the test types, the timeframe, what the testers need from you (such as test accounts) and any reporting requirements. Rules of engagement in the penetration test plan cover test windows, systems to avoid, and who to call if something unexpected happens.
The penetration testing procedure for your systems is written into that scope document, which the NCSC says should also record any compliance or legislative requirements the test must meet. The scope also says what happens if the testers find something critical mid-test, a point the penetration test procedure should cover.
The penetration testing report
A penetration test report should list each issue found, the risk it poses, how to fix it, and an opinion on how accurate your own vulnerability assessment was, according to the NCSC. CHECK reports rate findings high, medium, low or informational, and a pen test report from any provider can use the same levels alongside CVSS scores. A good pen testing report also has an executive summary for directors and a technical section your IT team or supplier can work from.
Penetration testing reports in cyber security are confidential documents, so agree who receives them and how they are stored. If you want a penetration testing report example before you commit, ask for a sanitised sample.
Treat pen test results as input to your own risk decisions: the NCSC is clear that risk assessment and choosing fixes stay with you. Previously unknown issues in the penetration test results deserve the most attention, because they show a gap in how you find problems. Penetration testing results hold for the day of the test, which is why re-testing after fixes matters. Pen test remediation is not always a patch; removing unused software or adding another control can close the same gap.
Sources (checked 23 November 2026): NCSC, penetration testing (reporting, severity rating, follow-up).
How often to test: annual penetration testing and after changes
Annual penetration testing is a familiar baseline, but a year is a long time: the NCSC notes that a year or more between tests is not unusual, and that vulnerabilities could go unnoticed for long periods if a test is your only check. Test again after significant changes, such as a new application, a network redesign or a move to the cloud, and re-test fixes for serious findings. Automated network testing with vPenTest can run monthly or on demand between manual tests.
How Forever Systems helps with cloud security
We are an independent UK IT and cyber security provider. We supply a wide range of security platforms, so we recommend what fits your organisation rather than one vendor's answer to everything.
- Assess first: we review what you already own, especially your Microsoft 365 licences, before suggesting anything new
- Vendor-aware advice across secure access, identity, data protection, cloud infrastructure, browser, AI and backup, including Cisco Secure, Check Point Harmony and Sophos
- Specialist guides for email security, DMARC, endpoint security and MDR on our sister sites
- Deployment and migration, from tenant hardening to replacing a VPN
- After go-live: we can help tune policies, and review each renewal with you
- People and certification too: security awareness training and Cyber Essentials for cloud services
We work with businesses, schools, charities and public sector organisations.
Frequently asked questions
What is the difference between a penetration test and a vulnerability scan?
A vulnerability scan is an automated check that lists known weaknesses; a penetration test tries to exploit them to show what an attacker could reach. Our scanning vs penetration testing comparison sets out the differences.
What are typical pen testing examples for a business?
Testing a website or customer portal before launch, testing the office network and Wi-Fi from inside, checking what the internet can see of your firewall and remote access, and testing a Microsoft 365 or cloud tenant.
How long does a penetration test take?
It depends on the scope. The scope document records the timeframe and effort the test needs, and it is agreed with you before testing starts.
Still have a question about penetration testing?
Ask us and a member of our team will get back to you.