News

Pentesting: what it is, when to do it and the report you get

What a pentest is, how it differs from a vulnerability scan, when it is needed (NIS 2, PCI DSS, DORA) and what a good report should contain.

A penetration test (pentest) is an authorised test in which specialists try to exploit a company’s vulnerabilities to show how far a real attacker would get. It is not an automated scan: it includes manual verification and a report with impact and priorities. Do one before going live, after major changes and when a rule or a customer asks.

We declare our interest: BDR Group offers pentesting as part of its cybersecurity services, with TutumSec, including in IT and OT environments. We describe what is common to any supplier.

How is it different from a vulnerability scan?

A scan looks for known vulnerabilities with automated tools; a pentest checks whether they can be exploited and how far they lead. The PCI SSC supplement on penetration testing (March 2015) sums it up like this:

Vulnerability scanPentest
AimIdentify, rank and report vulnerabilitiesFind out how to exploit them to get past the defences
HowAutomated tools with manual verificationA manual process that may use scans
DurationSeconds or minutes per deviceDays or weeks, depending on scope
ReportPotential risks ranked by scoreEach verified vulnerability, and how and how far it is exploited
Frequency (PCI)Quarterly or after changesAnnually and after significant changes

In our view, scanning is good hygiene and cheap to repeat, but it does not tell you whether someone can chain three "low" warnings together to reach the data. The public reference guide for planning and carrying out technical tests is NIST SP 800-115 (September 2008).

What types of pentest are there?

They are classified by where the test is run and by the information the team has:

  • External: what can be seen from the internet (web, VPN, email, exposed services). It is usually the first.
  • Internal: what someone who is already inside the network can do (an infected device, a visitor, a stolen account).
  • Web application and API: authentication, permissions and logic flaws in a specific application.
  • Black box: the team receives no prior information. It simulates an external attacker, but takes longer.
  • Grey box: partial information, such as a user account. It is the most common.
  • White box: full details of the network and applications, sometimes the code.

The PCI SSC itself indicates that PCI DSS tests are usually done as white or grey box, and that black box adds very little value in this context.

When is one advisable?

When a change could open new paths: an application or website that will handle data or payments before it is published, a migration to the cloud, a new architecture or a change of supplier. Beyond that, there is no universal frequency; it is decided by risk, and many standards set at least one test a year.

  • NIS 2 (Directive 2022/2555, Article 21(2)): asks for policies and procedures to assess the effectiveness of cybersecurity measures (point (f)) and for security in development and vulnerability management (point (e)). It does not mention pentesting by name; it is one way of demonstrating this. In Spain, the Commission referred the country to the Court of Justice of the EU on 8 July 2026 for not having notified full transposition.
  • Andorra, Llei 22/2022: Article 13(3)(g) asks essential and important entities for policies and procedures (testing and auditing) to assess the effectiveness of risk management.
  • PCI DSS v4.0, requirement 11.4: external and internal penetration tests at least every 12 months and after significant changes, carried out by a qualified resource with organisational independence, with a documented methodology and a retest to verify the fixes. It affects anyone who takes card payments; what is required of each merchant depends on how it takes payments, and the entity that provides its card terminal specifies it.
  • DORA (Regulation 2022/2554, applicable since 17 January 2025): financial entities that are not microenterprises must test, at least annually, the ICT systems that support critical or important functions (Article 24(6)), tests that may include penetration testing (Article 25(1)); designated entities must carry out threat-led penetration testing at least every three years (Article 26(1)). If you are an ICT provider to an EU financial entity, the contract may involve your taking part (Article 26(3)).

How are the scope and authorisation agreed?

Before starting, what is tested, from where, when and how far it may be exploited is agreed in writing. The PCI SSC speaks of rules of engagement: the time window, legacy systems that do not tolerate scans, the communication channel, whether an exploitation in progress must be reported, source IP addresses and what happens to any sensitive data that turns up (a proof of concept is all that is needed). Without that agreement, neither you nor the team is covered. If the system belongs to a third party (hosting, SaaS), also check the provider’s terms.

What should the report contain?

According to the PCI SSC, a simple list of vulnerabilities does not meet the intent of a pentest. Ask for a sample report and check that it includes:

  1. An executive summary for management.
  2. The scope, methodology and limitations of the test.
  3. The narrative of what was done and what happened.
  4. Each finding with its severity (and how it was calculated), affected systems, how it is exploited and references (CVE, CWE).
  5. Tools used and how to leave the environment clean.

And then, the retest

Once you have fixed the issues, the team repeats the test to validate that the new controls mitigate the original risk (PCI SSC, section 4.3.2); PCI DSS 11.4.4 requires it for exploitable vulnerabilities. If the fix takes a long time, a new test may be needed. Ask whether the retest is included and within what time frame.

What public methodologies exist?

The OWASP Web Security Testing Guide for web applications (stable version 4.2; 5.0 is under development), the PTES (seven phases, from pre-engagement interactions to reporting) and NIST SP 800-115. Ask which one the supplier follows and have it stated in the report.

What to do now

  1. Decide the objective: a specific change, a regulatory requirement or a customer who asks for it.
  2. List the systems, domains and applications to be tested, and who owns each.
  3. Ask in writing for the scope, time window, methodology, report format and retest.
  4. Reserve time for the technical team to carry out the fixes.
  5. Keep the report and the evidence of the fixes as proof.

Frequently asked questions

How long does a pentest take?

Days or weeks, depending on the scope and the size of the environment (PCI SSC).

Can a pentest bring a service down?

It can affect fragile systems. That is why the time window is agreed and legacy systems are flagged.

If I already run scans, do I need a pentest?

They do different things: a scan detects, a pentest tests exploitation. If a rule or a customer asks for a pentest, a scan does not replace it.

Who can carry it out?

PCI DSS allows a qualified internal resource or a third party, with organisational independence. DORA also asks for independent parties (Article 24(4)).

Sources

Do you want to know which tests your company needs?

If you want a penetration test or to discuss the scope, see the Cybersecurity page. All the services are at TutumSec.

Back to News

News

Related articles