Sovra Recon·Guide · Penetration test

Penetration Test (Pentest): Definition, Types, and Process

By Solan Barlet, co-founder of Sovra Recon
Updated October 29, 2026

In short

A penetration test, or pentest, is a simulated attack conducted with the system owner’s permission to uncover vulnerabilities that a real attacker could exploit. It differs from a configuration audit or a security scan in that it involves actual exploitation: the tester does not merely assume that a vulnerability exists—they prove it. The process concludes with a report that classifies each vulnerability by severity and indicates how to fix it.

Black box, gray box, or white box

ApproachWhat the tester knowsWhat it simulates
Black boxOnly the URL or the name of the targetAn external attacker with no access whatsoever
Gray boxOne or more user accountsA compromised client, partner, or account
White boxAccounts, documentation, and sometimes the source codeA comprehensive audit, or an in-depth one

The gray box approach is often the best compromise: most serious vulnerabilities (access to another customer’s data, privilege escalation) can only be detected once a connection has been established.

The main types of penetration tests

  • Web application penetration testing: websites, extranets, SaaS applications. The most commonly requested service.
  • API penetration testing: the interfaces that power mobile apps and partner systems, which are often less secure than the website itself.
  • External penetration test: anything exposed to the Internet (VPNs, email systems, forgotten services).
  • Internal penetration test: what an attacker who is already inside the network can do (compromised workstation, Active Directory).
  • Mobile, cloud, and IoT penetration tests, as well as social engineering tests (simulated phishing).

The Steps of a Penetration Test

  • Scope: scope, approach, dates, emergency contacts, rules of engagement.
  • Written authorization: required. Without it, accessing a system is a criminal offense (Article 323-1 of the French Criminal Code).
  • Reconnaissance and mapping of the attack surface.
  • Identifying and exploiting vulnerabilities, without causing any damage.
  • Report and findings.
  • Verification of corrections (follow-up audit).

The details of each step are explained in our methodology guide.

What does a good penetration test report include?

  • A summary for management: overall risk level, major vulnerabilities, and priorities.
  • For each vulnerability: description, severity (often a CVSS score), proof of exploitation, actual impact, recommended fix, and references (CWE, OWASP).
  • The scope of the test and what was not tested—an honest report also states its limitations.

When should you conduct a penetration test?

  • Before an application goes live or a major update is implemented.
  • Regularly: at least once a year, and more often if the application is evolving rapidly.
  • For compliance requirements (ISO 27001, NIS2, PCI DSS), client requirements, insurer requirements, or due diligence purposes.
  • After an incident, to verify that no other vulnerabilities remain.

Frequently asked questions

What is the difference between a penetration test and a security audit?

“Security audit” is a broad term (covering organization, configuration, and compliance). A penetration test is a technical form of this, which involves actually attacking the system to prove the vulnerabilities.

Can a penetration test disrupt my production environment?

A well-conducted penetration test is non-destructive: no denial-of-service, no data tampering, and the ability to stop at any time. These rules are established in writing before the test begins.

What is a PASSI service provider?

An audit service provider certified by ANSSI under the PASSI standard. This certification is required for certain public agencies and regulated operators; for others, it is not mandatory.

Sources

Find out where an attacker would get in.

Our AI agents actually attack your scope, fully automated, and hand you the proof of every vulnerability.