A penetration testing methodology is a written description of how a test should be run: which steps happen in which order, what gets checked, and what goes in the report. Its purpose is repeatability. Two testers following the same methodology on the same system should cover the same ground, even if their skill decides how much they find.
Four public frameworks come up in nearly every proposal: PTES, the OWASP Web Security Testing Guide, NIST SP 800-115 and OSSTMM. They are often listed together as if they were interchangeable. Each was written for a different purpose, and most real tests combine two or more of them.
This post explains what each one is for, what it leaves out, and how to use that when reading a vendor's proposal.
The phases every methodology shares
Strip away the terminology and all four frameworks describe roughly the same arc.
- Agree the scope and rules. What may be attacked, when, and how. See rules of engagement.
- Gather information. Map the hosts, services, endpoints and roles in play.
- Identify weaknesses. Scan and analyze by hand to list candidate flaws.
- Exploit. Attempt each candidate to confirm it is real.
- Extend. See what further systems or data the new access reaches.
- Report. Document the findings, the evidence and the fixes.
The frameworks differ in how they name these steps, how much detail they give for each, and which kinds of target they have in mind.
The four frameworks, side by side
| Framework | Maintained by | Best described as | Strongest on | Thin on |
|---|---|---|---|---|
| PTES | A community of practitioners | A process outline for a whole engagement | The business side: scoping, threat modeling, reporting | Detailed test cases for modern applications |
| OWASP WSTG | The OWASP Foundation, an open community project | A catalog of test cases for web applications | What to check in a web application, item by item | Networks, cloud accounts, anything that is not a web application |
| NIST SP 800-115 | The US National Institute of Standards and Technology | A government guide to planning and running technical security assessments | Planning, roles, handling of results, fit with formal programs | Current techniques. It was published in 2008 |
| OSSTMM | ISECOM, a non-profit research organization | A measurement-focused methodology for operational security | Consistency and metrics across very different kinds of target | Application-level detail |
PTES
The Penetration Testing Execution Standard splits an engagement into seven sections: pre-engagement interactions, intelligence gathering, threat modeling, vulnerability analysis, exploitation, post-exploitation and reporting. It is accompanied by technical guidelines that suggest tools and techniques for each.
PTES is most useful as a shared vocabulary between buyer and tester. Its early sections push both sides to agree on what matters to the business before any attack begins. Its weakness is age. The standard has seen little revision in recent years, so its technical guidance reflects an earlier era of tooling.
OWASP Web Security Testing Guide
The WSTG is a long list of individual tests for web applications, grouped into categories such as authentication, authorization, session management, input validation and business logic. Each test has an identifier in the form WSTG-ATHZ-04, which makes it possible to state exactly what was and was not checked.
That is the WSTG's great strength: it turns "we tested the application" into a list someone can audit. It is not a process for running an engagement. OWASP publishes a companion for mobile applications, the Mobile Application Security Testing Guide. The OWASP Top 10 lists are a different thing. They rank common categories of risk for awareness and are not test procedures.
NIST SP 800-115
The full title is the Technical Guide to Information Security Testing and Assessment. It describes penetration testing in four phases, namely planning, discovery, attack and reporting, with a loop from attack back to discovery as new information comes to light. It also covers the surrounding activities: reviewing documentation and configurations, scanning, and deciding how to handle sensitive results.
Organizations that model their security programs on NIST publications often reference it. Because it predates today's cloud platforms and API-heavy applications, it works as a planning framework and needs something more specific beside it for the test cases.
OSSTMM
The Open Source Security Testing Methodology Manual takes a different approach from the other three. It treats security testing as a measurement problem. It defines five channels through which a system can be reached, which are human, physical, wireless, telecommunications and data networks, and it sets out rules for testing each so that results are comparable from one test to the next. It also defines its own numerical score for how exposed a target is.
OSSTMM suits organizations that want comparable results across many sites or many years. It is less common in application work, where the WSTG gives more specific direction.
What the frameworks do not give you
Three gaps are worth understanding, because they are where the quality of a test is really decided.
None of them makes a tester skilled. A methodology says "test for authorization bypass". It cannot tell the tester that in your application the interesting bypass is in the bulk export feature. Finding a business logic vulnerability depends on understanding what the application is supposed to do.
None of them is a compliance stamp. Standards such as PCI DSS ask that testing follow a documented, industry-accepted approach. Naming PTES or NIST SP 800-115 helps meet that, but the assessor still looks at scope, coverage and the handling of findings.
None of them is an attacker playbook. MITRE ATT&CK, a public knowledge base of tactics and techniques seen in real intrusions, is often listed next to these frameworks. It describes what adversaries do and is used to plan and describe red team work. It does not describe how to run a test.
How to use this when buying a test
A proposal that says "our testing follows PTES, OWASP and NIST" tells you very little by itself. Four follow-up requests make the claim concrete.
- Ask which framework governs which part. A reasonable answer is something like: a PTES-style process for the engagement, the WSTG for application test cases.
- Ask for coverage mapped to test cases. For a web application test, the report should be able to show which WSTG categories were covered and which were out of scope or not applicable.
- Ask what is done beyond the checklist. The findings that matter most tend to come from work no checklist item describes, such as chaining two minor flaws together.
- Ask how findings are confirmed. A methodology allows a tester to report a suspected flaw. You want each one demonstrated with a proof of concept.
The same questions apply to automated and AI-driven testing. An agent's process should be as inspectable as a person's. The methodology glossary entry has a shorter summary to share with colleagues.
Key takeaways
- A methodology exists to make testing repeatable and its coverage auditable. It does not replace tester skill.
- PTES describes the whole engagement, the OWASP WSTG lists what to check in a web application, NIST SP 800-115 is a planning guide from 2008, and OSSTMM focuses on consistent measurement.
- Most good tests combine a process framework with a test-case catalog.
- When a proposal names frameworks, ask for coverage mapped to specific test cases and for proof of every finding.