A penetration testing methodology is the documented sequence a tester follows, from agreeing scope through reconnaissance, analysis and exploitation to the report. Four public methodologies do most of the work: the Penetration Testing Execution Standard (PTES), NIST SP 800-115, the OWASP Web Security Testing Guide and OSSTMM. A good provider names the one it uses and can show you it was followed.

Ask a penetration testing provider which methodology it uses and you’ll usually get a confident answer. Ask it to show you where, in last year’s report, that methodology was followed, and the conversation tends to slow down.

This guide is for the person commissioning the test, not the person running it. It covers what a methodology is, what the four public ones say, how the stages of a test fit together, which methodology suits which kind of test, and what to ask for. If you’re still working out what a test should cost, our guide to penetration testing cost covers that first.

In this guide

  1. What Is a Penetration Testing Methodology?
  2. The Stages of a Penetration Test
  3. Which Penetration Testing Methodology Should Your Tester Use?
  4. Where Penetration Testing Methodology Is Heading
  5. Penetration Testing Methodology FAQs

What Is a Penetration Testing Methodology?

A penetration testing methodology is the written, repeatable order of work a tester follows, so that two tests of the same scope cover the same ground.

Without one, a penetration test is whatever the tester on the day happens to think of. That can be very good. It can’t be checked. The point of a methodology is that you, your auditor and the next provider can all see what was done, in what order, and what wasn’t.

CREST, the accreditation body for penetration testing companies, puts it plainly in its guide for buyers: “Your penetration testing programme should specify that, when conducting penetration tests, organisations should use a systematic, structured testing methodology.” (CREST, (opens in a new tab)A Guide to Penetration Testing (opens in a new tab), December 2022 (opens in a new tab).) Among the things it says such a methodology should do: “Be based on proven approaches”, “Align with authoritative publicly available sources”, and “Specify a required approach (or approaches) for carrying out all stages of a comprehensive end-to-end penetration test”.

The same guide names the authoritative public sources it has in mind: OSSTMM, NIST SP 800-115 and OWASP for infrastructure testing, OWASP for web application testing, and PTES as an example of a standard common language and scope for performing penetration testing.

The Four Public Penetration Testing Methodologies Compared

Methodology Published by Current version What it covers Best used for
PTES (Penetration Testing Execution Standard) PTES community (pentest-standard.org (opens in a new tab)) Main page last edited 16 August 2014 Seven sections, from pre-engagement to reporting. Deliberately not a technical how-to; a separate technical guide accompanies it The overall shape of an engagement, and a shared vocabulary for scoping it
NIST SP 800-115 Technical Guide to Information Security Testing and Assessment US National Institute of Standards and Technology (NIST CSRC (opens in a new tab)) Final, September 2008 Security testing and assessment in general; penetration testing is one section, described as a four-stage methodology Planning an assessment programme, and infrastructure testing
OWASP WSTG (Web Security Testing Guide) OWASP Foundation (OWASP (opens in a new tab)) v4.2 stable; v5.0 in development Web applications, test by test Web application and API testing
OSSTMM (Open Source Security Testing Methodology Manual) ISECOM (OSSTMM 3 (opens in a new tab)) Version 3, 14 December 2010 Operational security across five channels: human, physical, wireless, telecommunications and data networks Measuring security broadly, including physical and people-based testing

PTES, the Penetration Testing Execution Standard

PTES is the closest thing the industry has to an agreed map of a whole engagement. Its own summary is that it “consists of seven (7) main sections. These cover everything related to a penetration test”. The seven are pre-engagement interactions, intelligence gathering, threat modelling, vulnerability analysis, exploitation, post exploitation and reporting.

What PTES doesn’t do is tell a tester how to break anything. The standard says so itself: “As the standard does not provide any technical guidelines as far as how to execute an actual pentest, we have also created a technical guide to accompany the standard itself.” That’s a strength, not a gap. It’s a framework for the engagement, which is exactly the part a buyer can check.

NIST SP 800-115

NIST SP 800-115 is broader than penetration testing and older than most of the tools testers now use. Its purpose, in NIST’s words, is “to assist organizations in planning and conducting technical information security tests and examinations, analyzing findings, and developing mitigation strategies.” Penetration testing is one section within it, where NIST sets out a “Four-Stage Penetration Testing Methodology”.

It was published in September 2008 and replaced SP 800-42. It is still the version NIST lists as final.

The OWASP Web Security Testing Guide

The OWASP Web Security Testing Guide, usually shortened to WSTG, is the working reference for testing web applications. OWASP describes the project as producing “the premier cybersecurity testing resource for web application developers and security professionals.” Version 4.2 is the current stable release; OWASP says “We are currently developing release version 5.0.”

It’s worth not confusing the WSTG with the OWASP Top 10. The Top 10 is a list of the most common categories of web application risk. The WSTG is how you test for them, and for a great deal else. Our guide to the OWASP Top 10 for buyers covers the list.

OSSTMM, the Open Source Security Testing Methodology Manual

OSSTMM is the most ambitious of the four and the least often quoted in proposals. It “provides a methodology for a thorough security test, herein referred to as an OSSTMM audit”, and version 3 covers “all channels – Human, Physical, Wireless, Telecommunications, and Data Networks.”

That breadth is its value. If a test includes walking into a building or ringing the service desk, OSSTMM is the public methodology that treats those as part of the same job.

The Stages of a Penetration Test

Every credible methodology moves through the same broad stages: agree the scope, gather information, find weaknesses, exploit them, see how far access goes, and report. The names differ; the order doesn’t.

PTES has seven main sections, and they’re the most useful answer to “what are the seven stages of a penetration test?” NIST compresses the same work into four stages. The table maps one to the other, and to the part of our “Inside a Penetration Test” series that covers each.

PTES section What happens NIST SP 800-115 stage Inside a Penetration Test series
Pre-engagement interactions Scope, rules of engagement, authorisation, contacts, timing Planning Part 1, scoping
Intelligence gathering Finding out what’s exposed and what can be learned about the target Discovery Part 2, reconnaissance
Threat modelling Working out which assets matter and who would want them Planning / discovery Covered in parts 1 and 2
Vulnerability analysis Identifying weaknesses, by scanning and by hand Discovery Part 3, enumeration and vulnerability analysis
Exploitation Using a weakness to gain access Attack Part 4, exploitation
Post exploitation Seeing what that access leads to: data, privileges, other systems Attack Part 5, post-exploitation and lateral movement
Reporting Findings, risk, how to fix each one Reporting Part 6, the report
— Fixing, then proving the fixes work — Part 7, remediation and the retest

Scoping Decides Most of the Outcome

Pre-engagement is the stage buyers own, and the one where most of a test’s value is won or lost. What’s in scope, what’s excluded, when testing happens, who authorised it and who picks up the phone if something goes wrong: all of it is settled before a tester touches anything.

We’ve written about this from the buyer’s side at length. Our guides cover how to prepare for a penetration test and the contract terms to check before you sign.

Discovery, Analysis and Exploitation Are One Loop, Not Three Steps

The middle stages repeat. A tester finds something, tries it, learns something new, and goes back to looking. NIST’s own diagram of the attack stage loops back to discovery for exactly this reason.

This is also where a penetration test parts company with a vulnerability scan. A scanner stops at “this looks weak”. A tester tries it, and then tries what it leads to. Our post on the difference between a vulnerability scan and a penetration test covers why that matters.

Reporting Is What You’re Actually Buying

The report is the only part of the methodology most of your organisation will ever see, so it has to show the method, not just the findings.

The National Cyber Security Centre’s guidance on commissioning a test lists reporting requirements, such as “the inclusion of CVSS scores or use of CHECK severity levels”, among the things to agree at scoping (NCSC, (opens in a new tab)Penetration testing (opens in a new tab), last reviewed 10 January 2022). A good report says what was tested, how, what wasn’t covered, and why.

Which Penetration Testing Methodology Should Your Tester Use?

Your tester should use the methodology that fits the thing being tested, and should be able to name it before the test starts. For most engagements that means PTES for the shape of the job and a specialist reference for the technical work.

CREST’s guidance to buyers is that “Your service providers should demonstrate compliance with ‘standard’ methodologies, if required, and develop or augment the testing methodologies that each scenario demands.” In other words, a public methodology is the floor. The provider’s own experience is what gets built on top.

Matching the Methodology to the Type of Test

Type of test Framework for the engagement Technical reference to expect What to watch for
External or internal infrastructure PTES NIST SP 800-115; OSSTMM (data networks) A proposal that describes a scan and calls it a test
Web application PTES OWASP WSTG Whether authenticated testing, and every user role, is in scope
API PTES OWASP WSTG Whether the API is tested directly, not only through the web front end
Wireless, physical or social engineering PTES OSSTMM (wireless, physical and human channels) Written authorisation that names the building, the people and the methods
CHECK testing for public sector or CNI Set by the CHECK scheme Whether you need CHECK at all (below)

Our penetration testing page sets out the types of test we run, and our guide to internal vs external penetration testing covers which to start with.

Do You Need a CHECK Methodology?

Usually not, unless you’re in the public sector or critical national infrastructure (CNI). The NCSC says CHECK was developed specifically for central government departments, public sector bodies and CNI organisations, and that if your organisation is “not public sector or CNI” (opens in a new tab), its general guidance on commissioning a penetration test applies instead.

What to Ask Your Provider About Methodology

Ask four questions, in writing, before you sign. The answers take a good provider five minutes.

Question A good answer sounds like A warning sign
Which methodology will you follow for this test? A named public methodology, plus the technical reference for this type of test “Our proprietary methodology”, with nothing public behind it
Where will the report show that it was followed? A coverage or methodology section tied to the scope “It’s all in the findings”
What will you not test, and will the report say so? A list of exclusions, stated in the report Silence about exclusions
Who signs off that the methodology was followed? A named, qualified person Nobody in particular

“Proprietary” isn’t automatically a bad answer. Most good providers do have their own methodology. It should be built on a public one, and they should be happy to tell you which.

This is line 7 of our penetration testing quote worksheet. For the wider questions about the provider itself, see how to choose a penetration testing company.

Penetration Testing Methodology Mistakes Buyers Make

Three mistakes account for most of the disappointment, and all three happen before the test starts.

  1. Accepting “industry-standard methodology” as an answer. It isn’t one. Ask which standard.
  2. Treating the methodology as the tester’s business. The scoping stage is yours. A methodology can’t cover what the scope left out.
  3. Reading only the findings. The methodology section is where you find out what wasn’t tested.

It’s rather like a restaurant inspection. You don’t need to know how to cook to ask whether the kitchen was inspected, by whom, and which bits they didn’t look at.

I once assembled a flat-pack wardrobe without reading the instructions, on the basis that I’d seen one before. It stood up. The doors didn’t close. That is roughly the outcome of a penetration test run without a methodology: something gets built, and nobody can quite say why the doors don’t shut.

Where Penetration Testing Methodology Is Heading

The public methodologies are older than most of the systems they’re used to test, and the gap is being filled by specialist guides and by accreditation schemes rather than by new versions.

The dates are worth a look. The NIST guide is from September 2008. OSSTMM 3 is dated 14 December 2010. The PTES main page was last edited on 16 August 2014. None of those three documents was written for cloud platforms, APIs as the main product, or AI systems.

That doesn’t make them wrong. The stages of a test haven’t changed much: you still scope, look, try and report. What has changed is the technical reference for each type of target, and there the work is current. The OWASP WSTG is being revised, with version 5.0 in development.

The other route is accreditation. CREST’s guide tells buyers to expect a structured methodology, based on proven approaches and aligned with authoritative public sources, and to expect providers to adapt it to each scenario. For most UK buyers, asking for a CREST-accredited provider and asking which methodology it follows is a more reliable check than asking for any single document.

Testing AI systems is the obvious frontier. None of the four methodologies above was written with it in mind, and we’ll cover it separately.

Penetration Testing Methodology FAQs

What Methodology Do Penetration Testers Use?

Most use a published framework for the engagement, commonly PTES, with a specialist reference for the target: the OWASP Web Security Testing Guide for web applications, NIST SP 800-115 or OSSTMM for infrastructure. Many providers build their own methodology on top. Ask which public one it’s based on.

What Are the Seven Stages of Penetration Testing?

PTES divides a test into seven main sections: pre-engagement interactions, intelligence gathering, threat modelling, vulnerability analysis, exploitation, post exploitation and reporting. Other methodologies group the same work into fewer stages.

What Is PTES?

PTES is the Penetration Testing Execution Standard, a community framework that divides a test into seven main sections, from pre-engagement to reporting. It describes what an engagement should cover, not how to execute each technique; a separate technical guide accompanies it.

What Is the Difference Between PTES and OWASP?

PTES covers the whole engagement, from scoping to report. The OWASP Web Security Testing Guide covers how to test a web application, test by test. A web application test commonly uses both: PTES for the engagement, the WSTG for the testing.

Is NIST SP 800-115 Still Current?

NIST lists SP 800-115 as final, published in September 2008. It remains a useful framework for planning security testing, but it predates most cloud and API testing, so expect a tester to pair it with a current technical reference.

What to Ask for Before Your Next Penetration Test

Before your next test, ask the provider to name its methodology, show you where the report will prove it was followed, and list what it won’t test. If it can do all three, the methodology is working for you. If it can’t, you’ve learned something useful before spending anything.

If you’d like us to look at a proposal, or last year’s report, and tell you what the methodology section does and doesn’t show, do get in touch. We’ll give you a straight answer, even if the test ends up going elsewhere.

A penetration testing methodology isn’t the thing that finds the vulnerabilities. It’s the thing that tells you where nobody looked.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top