Stockertim Dictionary · Cybersecurity
Penetration testing
Also called pen testing, pentest
In short
An authorised, simulated attack on a system, network or application by security specialists, carried out to find and prove weaknesses before real attackers exploit them.
- Intermediate
- Process
- Checked
In detail
A penetration test is ethical hacking under contract. The organisation and the testers agree in writing what is in scope, such as a mobile banking app, an office network or a website, what methods are allowed, and when testing will happen. The testers then behave like attackers: they gather information, scan for weaknesses, try to exploit them, and see how far they can get, for example from an internet-facing server to customer data or payment systems.
Tests vary in how much the testers know. In a black-box test they start with no inside information, like an outside attacker. In a white-box test they have documentation and source code, allowing a deeper review. Grey-box tests sit in between. Some tests focus on technology; others include social engineering, such as phishing staff or trying to walk into a building. A red team exercise is a broader, longer simulation aimed at testing detection and response as well as defences.
The result is a report that ranks each finding by severity, explains how it was exploited and recommends fixes, followed by a retest to confirm they work. Penetration testing differs from automated vulnerability scanning, which lists possible weaknesses without proving them. Card payment standards and many financial regulators require regular testing of critical systems, and some, such as the CBEST scheme in the UK and TIBER-EU in Europe, run threat-led tests based on intelligence about real attackers.
In practice
Firms commission tests before launching new apps, after major changes and at least yearly for critical systems, often using accredited providers. Boards and regulators review the findings and track whether high-risk issues are fixed on time.
Watch out
- Testing without written permission is illegal hacking, however good the intentions.
- A clean test report shows what testers found in a set time and scope, not that a system is safe.
Learn it properly
Lessons about penetration testing
- Testing and optimisation
- Testing advertising and judging effectiveness
- Testing a chart idea on paper first
- Backtesting properly: out-of-sample tests, walk-forward, multiple testing and overfitting
- Audit analytics and full-population testing
- Testing and monitoring
- Bias and fairness testing
- Feedback, revisions and testing creative
Official sources
- Penetration testing (glossary) · NIST Computer Security Resource Center
- Penetration testing guidance · National Cyber Security Centre
- CBEST threat intelligence-led assessments · Bank of England
Facts last checked on 1 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.