# NIS2 and DORA penetration testing: what the law requires

> DORA names penetration testing and threat-led testing outright, while NIS2 asks you to prove your security measures work, which in practice means testing them. Here is what each text says, how often to test and what evidence to keep.

The REVENGE team · 2026-11-22

Searches for "NIS2 penetration testing" and "DORA TLPT" usually come from the same question: what does the law make us test, and how often? The two EU texts answer it differently. DORA, the financial sector regulation, lists penetration testing by name and sets a schedule. NIS2, the cross-sector directive, sets an outcome (security measures that work and that you can show work) and leaves the method to you and your national regulator. This guide separates what the texts literally say from what is good practice, so you can plan NIS2 and DORA penetration testing with evidence an auditor will accept.

## NIS2 or DORA: which one applies to you

[DORA, Regulation (EU) 2022/2554](https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng), covers financial entities: banks, payment and e-money institutions, investment firms, crypto-asset service providers, insurers, trading venues, central counterparties and other categories listed in Article 2. It has applied since 17 January 2025 (Article 64). As a regulation, it applies directly in every member state.

[NIS2, Directive (EU) 2022/2555](https://eur-lex.europa.eu/eli/dir/2022/2555/oj/eng), covers medium-sized and larger organisations in the sectors listed in its Annexes I and II (energy, transport, health, digital infrastructure, ICT service management, manufacturing, digital providers and more), plus some entities regardless of size (Article 2). It sorts them into essential and important entities (Article 3). Member states had to transpose it by 17 October 2024 and apply it from 18 October 2024 (Article 41). The actual obligations come from your national law, and transposition has moved at a different pace in each country, so check the status with your national authority.

If you are a financial entity under DORA, DORA's rules on ICT risk management, incident reporting and resilience testing apply instead of the NIS2 equivalents (NIS2 Article 4 and recital 28). A cloud or managed service provider can still fall under NIS2 while also being a DORA ICT third-party provider to its banking clients.

## What DORA requires: a resilience testing programme

DORA Chapter IV is about testing, and it is specific.

- Financial entities, other than microenterprises, must establish, maintain and review a "digital operational resilience testing programme" as part of their ICT risk-management framework (Article 24(1)).
- The programme follows a risk-based approach, and tests must be run by independent parties, internal or external, with conflicts of interest avoided (Article 24(3) and (4)).
- At least yearly, appropriate tests must cover all ICT systems and applications supporting critical or important functions (Article 24(6)).
- Article 25(1) lists the kinds of tests the programme can include: vulnerability assessments and scans, open source analyses, network security assessments, gap analyses, physical security reviews, source code reviews where feasible, scenario-based tests, performance and end-to-end testing, and penetration testing.
- Every issue found must be prioritised, classified and remedied, and the entity must have internal validation methods to confirm each weakness is fully addressed (Article 24(5)).

That last point matters for evidence. A report full of findings is half the job. DORA expects you to show the fix and the check that the fix worked.

## DORA TLPT: threat-led penetration testing

Threat-led penetration testing goes further than a standard pentest. DORA defines it as a framework that mimics the tactics, techniques and procedures of real threat actors against an entity's critical live production systems (Article 3(17)).

### Who must run TLPT, and how often

DORA does not impose TLPT on every financial entity. The competent authority identifies the entities that must perform TLPT, based on their impact on the financial sector, financial stability concerns and their ICT risk profile and maturity (Article 26(8)). Microenterprises and entities under the simplified ICT risk framework of Article 16 are excluded. Once identified, an entity must carry out TLPT at least every three years, and the authority can ask it to test more or less often (Article 26(1)).

Each test covers several or all critical or important functions and runs on live production systems. The entity proposes the scope, and the competent authority validates it (Article 26(2)). If ICT third-party providers support those functions, they are brought into scope, and the financial entity stays fully responsible (Article 26(3)).

### How a TLPT runs

The detailed rules are in [Commission Delegated Regulation (EU) 2025/1190](https://eur-lex.europa.eu/eli/reg_del/2025/1190/oj/eng), the regulatory technical standards on TLPT, which mirror the ECB's TIBER-EU framework. The main points:

- A preparation phase, a threat intelligence phase from which at least three attack scenarios are selected, and an active red team phase that lasts at least 12 weeks (Articles 9 to 11).
- A closure phase with a red team report, a blue team report, a replay of the attack with the defenders, and a purple teaming exercise (Article 12).
- A remediation plan for each finding, with a root cause analysis, owners, priorities and the risk of not fixing it (Article 13).
- An attestation from the TLPT authority confirming the test met the requirements (DORA Article 26(7) and RTS Article 14).

Testers face their own requirements: external testers need certifications, professional indemnity insurance and references from previous penetration testing and red team assignments (RTS Article 7, DORA Article 27). An entity using internal testers must contract external testers every three tests (DORA Article 26(8)).

## NIS2 penetration testing: what the directive says

NIS2 does not literally require penetration tests. The word appears only in the recitals, as an example of a security service. The binding text is Article 21: essential and important entities must take "appropriate and proportionate" technical, operational and organisational measures, and those measures must include, among others:

- security in the acquisition, development and maintenance of systems, "including vulnerability handling and disclosure" (Article 21(2)(e));
- "policies and procedures to assess the effectiveness of cybersecurity risk-management measures" (Article 21(2)(f)).

Article 20 makes the management body approve those measures and oversee them. Supervisors can also check the result themselves: for essential entities, authorities can order regular and targeted security audits and security scans (Article 32(2)), and important entities can face targeted audits after the fact (Article 33).

So why is testing the usual answer? Because a policy saying "our controls work" proves nothing until someone tries to break them. A pentest, a vulnerability scan or a configuration review produces dated, documented results you can hand to an auditor under Article 21(2)(f).

For some sectors the link is already written down. [Implementing Regulation (EU) 2024/2690](https://eur-lex.europa.eu/eli/reg_impl/2024/2690/oj/eng) sets the technical requirements for cloud, data centre, managed service, managed security service, DNS and other digital providers. Its annex (point 6.5) requires a security testing policy, a risk-based decision on the scope, frequency and type of tests, a documented methodology, records of each test's results and the mitigation applied to critical findings. Its recitals name penetration tests, vulnerability scanning and application security tests as examples. National transposition laws may add their own testing rules for other sectors.

## Incident reporting deadlines

Testing and incident response meet here. A vulnerability found by a test is not an incident on its own, but if testing turns up evidence that an attacker has already been in, the reporting clock may start.

Under NIS2 Article 23(4), a significant incident triggers:

- an early warning within 24 hours of becoming aware of it;
- an incident notification within 72 hours;
- a final report no later than one month after the incident notification.

Under DORA, major ICT-related incidents follow [Delegated Regulation (EU) 2025/301](https://eur-lex.europa.eu/eli/reg_del/2025/301/oj/eng), Article 5:

- an initial notification within 4 hours of classifying the incident as major, and no later than 24 hours after becoming aware of it;
- an intermediate report within 72 hours of the initial notification;
- a final report no later than one month after the latest intermediate report.

## How to prepare evidence: a checklist

Whichever text applies, auditors and supervisors look for the same trail.

- An asset and function map: which systems support critical or important functions (DORA) or essential services (NIS2).
- A written testing policy that explains how you chose the scope, the frequency and the type of each test, based on your risk assessment.
- A yearly test plan covering every system that supports a critical or important function, if you are under DORA.
- Test reports with dates, scope, method, testers and their independence, and a severity for each finding.
- A remediation record per finding: the fix, who made it, when, and a retest showing the issue is closed.
- Board or management approval of the measures and of the residual risks you accept.
- Incident response playbooks that include the 24-hour, 72-hour and one-month reporting steps, and a record of exercises.
- For TLPT entities, the scope validated by the authority, the reports, the remediation plan and the attestation.

## Where REVENGE fits

REVENGE operators test by hand and prove every finding with a working exploit, and the first validated critical finding arrives within 72 hours. Every finding ships with a code-level fix as a pull request, retested with the original exploit until the attack fails, with the evidence filed for auditors. Our [compliance team](/services/compliance/) maps findings and remediations to the controls the auditor checks for NIS2 and DORA. See our [penetration testing](/services/penetration-testing/) service, or our [24/7 incident response](/services/incident-response/) with a 15-minute SLA. Write to contact@revengeaisecurity.com.

This article is general information, not legal advice. Confirm your obligations with your legal counsel and your national competent authority.

## Frequently asked questions

### Does NIS2 require penetration testing?

The NIS2 Directive does not use the words penetration testing in its obligations. Article 21 requires policies and procedures to assess the effectiveness of your cybersecurity measures, and testing is the usual way to show that they work. Some national laws and the Commission's implementing rules for digital infrastructure providers go further and require a documented security testing programme.

### How often is TLPT required under DORA?

Financial entities identified by their competent authority must carry out threat-led penetration testing at least every three years (DORA Article 26(1)). The authority can ask an entity to test more or less often based on its risk profile.

### Who has to do threat-led penetration testing under DORA?

Only financial entities that their competent authority identifies, based on their impact on the financial sector, systemic character and ICT risk profile. Microenterprises and entities under DORA's simplified ICT risk framework are excluded, and the authority tells an entity when it is in scope.

Get your attack plan: https://revengeaisecurity.com/contact/
