Pentest
Updated August 29, 20262 min read
A pentest (penetration test) is a controlled attack on your own systems, carried out by ethical hackers with your permission. The goal is to find vulnerabilities and demonstrate their real impact before criminals do, concluding with a report full of concrete fixes.
A penetration test (pentest) is a controlled, pre-agreed attack on your own systems, carried out by ethical hackers. The goal is not to cause damage, but to show where a real attacker would get in, and how to close that door.
What it means
During a pentest, a security specialist thinks and acts like an attacker. Within an agreed scope (a web application, an API, or your office network) the tester actively hunts for vulnerabilities and then tries to exploit them. That last step is what separates a pentest from an automated vulnerability scan: a scanner flags known weaknesses, while a pentester proves what an attacker could actually achieve with them.
Pentests are usually classified by how much prior knowledge the tester receives. In a black-box test the tester starts with almost nothing, a grey-box test adds something like a user account, and a white-box test also includes documentation or source code. Established frameworks such as the OWASP Web Security Testing Guide and NIST SP 800-115 describe how such an assessment is performed methodically. The deliverable is always a report listing the vulnerabilities found, their severity (often expressed as a CVSS score), and concrete remediation steps.
Why it matters
Automated tools miss flaws that only become dangerous in combination: a minor information leak plus weak access control can add up to a full application takeover. A pentest exposes those attack chains and shows which risks genuinely deserve priority.
On top of that, more and more standards and customers require periodic testing, think ISO 27001, PCI DSS, SOC 2, and the European NIS2 directive.
Example
A pentester examines a customer portal and notices that the invoice ID in the URL can be changed. Incrementing the number reveals invoices belonging to other customers: a classic IDOR vulnerability. The report describes exactly how to reproduce the issue, which data was exposed, and how the development team should fix the authorization check, before a criminal pulls the same trick.
Sources
Frequently asked questions
What is the difference between a pentest and a vulnerability scan?
A vulnerability scan is automated and flags known weaknesses. A pentest is performed by humans who actually exploit and chain vulnerabilities to demonstrate their real-world impact.
How long does a penetration test take?
Usually a few days to a few weeks, depending on the scope. A single web application typically takes less time than a full infrastructure.
How often should you run a pentest?
Common guidance is at least once a year, plus after major changes such as a new application, a migration, or an important release.
Is penetration testing legal?
Yes, provided written permission and a clear scope are agreed in advance. Without that authorization, the exact same activity is a criminal offense.
Related articles
- GlossaryCVSSCVSS scores vulnerabilities from 0.0 to 10.0. Learn how the base score is built up, how v3.1 and v4.0 differ, and why a score is not a risk rating.
- GlossaryRed teamingRed teaming is a goal-driven attack simulation that tests whether your defenders notice. Learn how it differs from a pentest and what TIBER-EU involves.
- GlossaryResponsible disclosureResponsible disclosure means reporting a vulnerability privately so the organisation can fix it before any details are made public. Here is how it works.