logo
Insights

What Is Penetration Testing? A Plain Guide

What penetration testing is, how a pentest actually runs, the main types, what it costs, and how it differs from a vulnerability scan.

Luka Šikić3 min read

A penetration test is a security assessment where a professional attacker, with written permission, tries to break into a system the way a real attacker would — and then documents exactly how far they got. The deliverable is not a list of software versions. It’s proof: these specific flaws, chained in this order, led to this access.

The definition matters because the word gets stretched. Automated scans, compliance questionnaires and bug bounty programs all get sold under the pentest label at some point. The rest of this guide covers what a genuine penetration test involves, so the variations are easier to place.

How a penetration test works

Every structured engagement follows roughly the same arc, formalized in methodologies like PTES — the penetration testing methodology guide compares the main ones.

It starts before any attacking: scope and rules of engagement define what’s being tested, from what position, and what’s off limits. Then reconnaissance maps the target, vulnerability analysis identifies candidate weaknesses, and exploitation proves which ones are real. Post-exploitation answers the question executives actually ask — what could an attacker do with this foothold — and reporting turns the whole thing into findings with evidence, severity and remediation guidance.

The report is the product. A finding that can’t be reproduced from its write-up wasn’t worth finding, which is why the what to include in a pentest report guide exists as its own topic.

The main types of penetration testing

Scope defines the type. Web application tests attack the product itself — authentication, authorization, business logic. API tests cover the endpoints that mobile apps and integrations rely on. External network tests attack the internet-facing perimeter; internal tests assume a foothold and go after Active Directory and lateral movement. Mobile and cloud engagements each have their own methodology and failure modes.

Each type is a different engagement with different skills and pricing, which is why they’re scoped separately. The types of penetration testing overview covers all eight in detail, including when each is the right choice.

Pentest vs vulnerability scan

The most common confusion, and the most expensive one. A vulnerability scanner matches software versions against a database of known issues and outputs possibilities. A penetration tester validates, chains and exploits — and finds the authorization and logic flaws no scanner can see, because a scanner doesn’t know what the application is supposed to do.

Both have a place. A scan run monthly is cheap hygiene; a pentest is proof. The pentest vs vulnerability scan comparison covers how to tell which one a quote is actually offering.

When and how often to test

The working standard across frameworks is annual testing plus retesting after significant changes — new applications, major features, infrastructure moves. Compliance often forces the schedule: PCI DSS requires testing at least annually, SOC 2 auditors expect it in practice, and GDPR’s “regular testing” language points the same way. The pentest frequency guide covers how release velocity and risk shift that baseline.

What a penetration test costs

Price follows effort: days of skilled testing, set by scope size and depth. Small, focused engagements start around a week of work; full internal network or multi-application scopes run considerably more. The penetration testing cost guide breaks down market rates by engagement type, and the scoping guide covers the information a provider needs to quote accurately.

A few things worth checking in any pentest

Ask which methodology the test follows and how the report shows coverage against it. Ask for a sanitized sample report before signing — it reveals more than any sales call. And confirm retesting is included, because a finding that’s fixed and never verified is a finding that may still be open.

For teams that need a test rather than a definition: we run penetration tests as well as building the reporting platform, and we’re happy to scope one.

Need a penetration test?

Tell us the scope and get a fixed-price quote from the team behind PentestPad.

logo-cta