Cybersecurity

Penetration testing

An authorized, scoped attack simulation in which testers find security flaws and prove they can be exploited, before a real attacker does.

Porte ronde de coffre-fort en acier brossé entrouverte, une pince robotique insère une fine sonde métallique dans sa serrure, une lumière bordeaux filtre de l'intérieur
Test d'intrusion (pentest) — Image générée par IA (Qwen-Image 2.1, ComfyUI local)

Penetration testing, or pen testing, is a simulated attack, authorized in writing and run by professional testers against a defined scope, to find a system's security flaws and prove they can be exploited. For an executive it answers a plain question: what could a competent attacker do to us, and how far would they get?

What a penetration test is

A real attack inside a contract

NIST defines it as security testing in which evaluators mimic real-world attacks to identify ways to circumvent a system's security features. What separates it from an actual attack is the framework around it: a client, a written scope, dates, rules of engagement and explicit authorization. Without that authorization, the same technical actions are unauthorized access to a computer system, a criminal offence in most jurisdictions.

The main phases

  1. Scoping: what is in scope (applications, IP ranges, sites, people), objectives, time windows, emergency contacts and what is off limits (denial of service, fragile production systems).
  2. Reconnaissance: mapping what is exposed and what could be.
  3. Exploitation: trying to use the flaws found, then moving towards higher privileges.
  4. Reporting and debrief: findings, evidence, risk level, recommendations.
  5. Retest: checking, once fixes are in, that the holes are actually closed.

Black, grey or white box

How much the testers know changes the nature of the test. Black box means starting from nothing; grey box means a user account or partial documentation; white box means architecture diagrams and sometimes code. The more information you share, the more flaws you find for the same number of days.

What to expect from the report

A useful report works at two levels. An executive summary: the overall risk level, the two or three most serious scenarios, and what they would let an attacker do. Then a technical section: each vulnerability with its evidence, its severity (often expressed as a CVSS score), the conditions for exploitation and a realistic fix.

Three warning signs: a report that pastes raw scanner output, findings without proof of exploitation, and generic advice such as "update your components". A pen test is only worth the remediation plan it triggers, with an owner and a deadline for each finding, followed by a retest.

The regulatory picture in Europe

DORA and threat-led penetration testing

For the financial sector, DORA, which has applied since 17 January 2025, requires a resilience testing programme that explicitly lists penetration testing (Article 25). It goes further for entities designated by their competent authority: TLPT (threat-led penetration testing), an intelligence-led, red-team style test of the live production systems that support critical functions, at least every three years (Article 26). Delegated Regulation (EU) 2025/1190 sets out how it is run and mirrors the TIBER-EU methodology.

Outside finance, NIS2 asks covered entities for policies and procedures to assess the effectiveness of their cybersecurity measures. Penetration testing is the most direct way to do that, even though the directive does not name it as a general obligation.

France's PASSI qualification

In France, ANSSI qualifies security audit providers (PASSI) against a requirements framework whose version 2.2 is dated 1 August 2024. Penetration testing is one of the qualifiable activities, at the substantial and high levels, and qualification decisions advise the client to pick the level using a risk-based approach.

Automation and AI agents

Automated pen testing tools are nothing new. What is changing is the arrival of AI agents that can chain reconnaissance, exploitation and lateral movement on their own, starting from a goal written in plain language. According to an FBI flash alert reported by The Record on 13 November 2026, ARTEX, an open-source, agent-driven penetration testing platform, is being misused by attackers to automate several phases of an intrusion; the FBI notes that some intrusions reached privileged access in under three hours. See the ARTEX and agentic attack entries.

Two takeaways for decision-makers. First, the gap between a flaw being exposed and being exploited keeps shrinking, so a yearly pen test is no longer enough on its own: it has to sit alongside continuous scanning and real detection capability. Second, AI agents can serve defenders too, as long as they stay inside the same framework as a human pen test: written authorization, a defined scope and human oversight.

Frequency and budget

Outside sector-specific rules, there is no universal frequency. Common practice is to test exposed and critical applications at regular intervals and, above all, after every significant change: a new application, a redesign, a cloud migration, a newly opened API. Cost is driven by the number of tester days, so by scope and testing mode, which makes precise scoping the best way to control it. A narrow scope tested in depth, with a retest, beats a broad scope skimmed over.

Standards and Specifications

NIST SP 800-115

NIST technical guide to planning and conducting security testing and assessment, including penetration testing (2008)

Regulation (EU) 2022/2554 (DORA)

Articles 24 to 27: digital operational resilience testing programme and threat-led penetration testing (TLPT) for the financial sector

Delegated Regulation (EU) 2025/1190

Regulatory technical standards on how TLPT is run under DORA, drafted in line with the TIBER-EU framework

Frequently Asked Questions

What is the difference between a penetration test and a vulnerability scan?

A vulnerability scan is automated: a tool compares the versions and settings it detects against a database of known flaws, such as CVEs, and produces a list. A penetration test goes further: testers check whether those flaws can actually be exploited, chain them together and measure how far an attacker could get. Scanning gives coverage and can run often; a pen test gives evidence and depth. You need both, and neither replaces the other.

Black box, grey box or white box: which should you choose?

In a black box test, testers start with no information, like an outside attacker: realistic, but part of the budget goes into reconnaissance. In a grey box test, they get a user account or partial documentation, which shows what a customer or a malicious insider could do. In a white box test, they see the architecture and sometimes the source code, which finds the most flaws for the same number of days. The right choice depends on the question you are asking: how exposed you are from the internet, or how many defects a critical application hides.

How does a pen test differ from red teaming and bug bounty programs?

A penetration test covers a defined scope over a short period and tries to find as many flaws as possible. A red team pursues an objective, such as reaching a sensitive dataset, by emulating a real attacker across the whole organization, and also tests whether defenders detect and respond: that is the logic behind the TLPT that DORA requires. A bug bounty opens a scope continuously to outside researchers, paid per valid finding. Mature organizations tend to combine all three.

What is PASSI, and does it matter outside France?

PASSI is the qualification that ANSSI, the French national cybersecurity agency, grants to security audit providers assessed against its requirements framework, currently version 2.2 dated 1 August 2024. Penetration testing is one of the activities that can be qualified, alongside architecture, configuration, source code and organizational and physical audits. Qualification decisions cover, among other things, audits of the critical information systems of operators of vital importance. For an international buyer it works like a vetted shortlist: it says something about method, confidentiality and tester skills, not just about price.

Resources and Documentation