Glossary

Penetration testing

Penetration testing, or a pen test, is an authorised attack on your own application or network, carried out by a skilled tester to find weaknesses a real attacker could exploit. It ends with a written report of what was found, how serious it is and how to fix it.

Start a project

Why it matters

Automated tools find known problems. A person finds the problems that only appear when several small weaknesses are chained together, or when the logic of the product is used in a way nobody planned. A pen test tells you what an attacker could actually reach, not only what looks risky on paper. It is not the same thing as a vulnerability scan.

How it works

  1. Scope and permission. Agree in writing what may be tested, what may not, and when.
  2. Mapping. The tester learns how the application works: its pages, APIs, roles and data.
  3. Testing. The tester tries to break authentication, access control, input handling and business logic, by hand and with tools.
  4. Report. Each finding gets a severity, steps to reproduce it and advice on fixing it.
  5. Retest. After the fixes, the tester checks that the problems are really gone.
ApproachWhat the tester knowsBest for
Black boxNothing beyond what the public can seeSeeing the product as an outsider does
Grey boxA normal user account and some documentationChecking what a signed-in user can reach
White boxSource code and architectureThe deepest coverage

Common mistakes

  • Testing before the basics are fixed, so the report lists problems you already knew about.
  • Reading a clean report as proof of safety. A pen test is a snapshot of one version on one day.
  • Skipping the retest.
  • Testing a live system without agreeing the rules first. Authorisation protects both sides.

Related terms

Testers often start from the OWASP Top 10, and a secure code review finds many of the same issues earlier, from inside the code. Read about our penetration testing approach.

Keep exploring

Ready to build something secure?

Tell us about your product. We will reply with a clear plan.

Start a project

We would like to use Microsoft Clarity to see how visitors use the site, so we can improve it. It sets cookies and is off unless you accept. Cookie policy