
Pentesting Frameworks: OWASP & NIST Guide
Learn how OWASP WSTG and NIST SP 800-115 shape professional penetration testing. Compare their scope, use, and how they work together.
The OWASP Testing Guide and NIST SP 800-115 are the two standards that most often shape how a professional penetration test is scoped, executed, and reported. This guide explains what each document is, how they differ, how they work together on one engagement, and how to check that a provider is using them rather than namechecking them.
What Are Pentesting Frameworks?
A pentesting framework is a structured methodology that defines how penetration testing is scoped, executed, and reported.
Frameworks exist so testers apply the same categories of work in a consistent, repeatable, and comprehensive way instead of relying on ad-hoc hunting.
This guide focuses on the OWASP Testing Guide (WSTG) and NIST SP 800-115. Other documents such as PTES and OSSTMM exist, but they sit outside the primary scope here.
Framework
A framework is the structure. It defines what should be considered for testing so coverage is visible: what was in scope, what was deferred, and why.
Methodology
A methodology is how a provider applies that structure to your assets, constraints, and risk. Delivery quality is the journey; the framework is still only a map.
Frameworks are necessary but not sufficient. They define what should be considered for testing. They do not automatically produce a high-quality test. A provider can follow a framework poorly, so adherence must be judged alongside scoping discipline, exploitation judgement, and reporting quality.
That distinction matters when you evaluate services. An ad-hoc test can find interesting issues and still miss whole classes of work. A framework-driven test makes the intended coverage visible, so you can see what was in scope, what was deferred, and why. The framework is still only a map. Delivery quality is the journey.
What Is the OWASP Testing Guide (WSTG)?
The OWASP Testing Guide (WSTG) is a comprehensive framework for testing the security of web applications, published by the Open Worldwide Application Security Project (OWASP). It is the document to use when you need structured, repeatable, deep web application testing rather than a high-level risk list.
WSTG organises work as test cases grouped by category. Typical categories include:
- Identity management
- Authentication
- Authorisation
- Session management
- Input and data validation
- Error handling
- Cryptography
- Business logic
- Client-side testing
WSTG is not a flat checklist. A professional engagement uses it to decide which test cases apply to a given application and which high-risk categories take priority. The framework defines what can be tested. Judgement decides what not to test given scope, architecture, and risk. For example, a customer portal with complex roles should spend more time on authorisation and session handling than on a low-risk static brochure page.
If a provider says they test to OWASP, ask whether they mean WSTG test cases or only the Top 10 awareness list. The first is a methodology. The second is a ranking of common issues. Mobile and API work can borrow the same thinking, but WSTG itself is written for web application testing depth.
Not to be confused with the OWASP Top 10.
The OWASP Top 10 is a risk-ranking awareness list of common web application issues. It is not a testing methodology. WSTG supplies the test-case structure. The Top 10 is a prioritisation output, not the method of work.
What Is NIST SP 800-115?
NIST SP 800-115 is the National Institute of Standards and Technology's technical guide for information security testing and assessment. It is a national-level technical standard for assessing networks, systems, and applications, not a web-only catalogue of test cases.
NIST SP 800-115 organises an assessment into four phases:
1. Planning
Scope, rules of engagement, authority, and the test plan.
2. Discovery
Enumeration of hosts, services, and attack surface.
3. Attack
Authorised exploitation, privilege escalation, and proof of impact.
4. Post-assessment
Evidence handling, analysis, and reporting.
The standard covers networks, systems, and applications. That is why it is useful when the question is not only whether a web app is weak, but how to run a defensible technical assessment from authority through evidence. It still does not prescribe every exploit path. It tells testers how to plan, discover, attack, and close the work.
NIST SP 800-115 is not a compliance checklist. It describes steps and methods. A provider using it well still applies judgement. The standard structures how expertise is deployed. It does not replace that expertise. Treating it as a box-ticking certificate is a common misconception.
Not to be confused with the NIST Cybersecurity Framework (CSF).
NIST CSF is a strategic governance model for managing cyber risk. NIST SP 800-115 is the practical technical assessment guide. Both matter. Only SP 800-115 defines how to run a technical security test. A provider who says they follow NIST may mean CSF programme language, not SP 800-115 testing practice. Ask which document they mean.
For UK organisations, NIST technical guidance often complements NCSC expectations and the security-testing duties that sit around GDPR. That is a mapping conversation, not a claim that NIST replaces UK regulation.
OWASP vs NIST — A Direct Comparison
OWASP WSTG is for web application testing depth. NIST SP 800-115 is for end-to-end technical security assessment across planning, discovery, attack, and post-assessment. Neither is universally better. They serve different scopes and usually complement each other.
| Attribute | OWASP Testing Guide (WSTG) | NIST SP 800-115 |
|---|---|---|
| Primary focus | Web application security test cases | Technical assessment process for networks, systems, and applications |
| Designed for | Structured, deep web testing | Phased end-to-end security testing and assessment |
| Who uses it | Teams testing customer portals, SaaS, and other web apps | Teams assessing broader infrastructure or needing a defensible test process |
| Relationship to compliance | Supports evidence of web control testing; not a compliance regime | Gives a defensible assessment structure often referenced in due diligence |
| Typical report output | Findings mapped to WSTG categories and web risk themes | Phase-based evidence, test plan traceability, and technical findings |
| When to prioritise | The main asset is a web application | The engagement spans infrastructure, systems, and process evidence |
| Overlap | Supplies web test-case depth NIST does not list | Supplies engagement structure WSTG does not define |
| Best combined use | Attack-phase depth on the web surface | Scoping, discovery, infrastructure attack, and reporting discipline |
Most professional engagements are not either/or. NIST often owns the operating picture. OWASP often owns web depth inside that picture. A useful mental model is NIST for how the engagement runs and OWASP for how thoroughly the web surface is examined.
If this, then that.
If you are testing a web application such as an e-commerce site or customer portal, start with OWASP. If you are assessing broader infrastructure, networks, or systems and have a compliance or due-diligence driver, use NIST SP 800-115 as the reference process. For most organisations both matter: NIST provides structure, OWASP provides web depth.
How OWASP and NIST Work Together on One Engagement
A professional pentest often blends both frameworks: NIST SP 800-115 defines the overall process, and OWASP WSTG supplies web application testing detail inside those phases. Using both is a sign of maturity, not overcomplication.
Most articles ask which framework you should use. A better question is how the engagement uses both frameworks to avoid blind spots. OWASP supplies test-case depth NIST does not. NIST supplies engagement structure OWASP does not. A NIST-only web test is often shallow. An OWASP-only engagement can lack planning, discovery, and evidence discipline.
| Engagement phase | Framework contribution |
|---|---|
| Planning | NIST SP 800-115 owns scope, rules of engagement, and the test plan. WSTG informs which web categories belong in that plan. |
| Discovery | NIST SP 800-115 owns network discovery, port and service enumeration, and surface mapping before web cases begin. |
| Attack / testing | OWASP WSTG drives web cases such as data validation and session management. NIST SP 800-115 covers broader infrastructure exploitation and privilege escalation. |
| Post-assessment / reporting | NIST SP 800-115 owns evidence and report structure. Web findings are mapped to OWASP categories so developers and auditors can trace the work. |
This is the approach used on client engagements at Pentesting Company: TEST. FIND. FIX. PROTECT. Framework adherence belongs in the methodology of a live penetration testing service, not only in a proposal sentence. See how that methodology is described on the Penetration Testing Services page.
What a Framework-Aligned Report Should Show
Framework alignment is visible in the report structure, not just the proposal. A namecheck in a quote is not evidence that WSTG or SP 800-115 shaped the work.
A framework-aligned report should contain:
- Findings mapped to specific OWASP WSTG categories, such as injection, broken access control, or security misconfiguration
- Evidence traceable to test cases, not only a scanner export
- Severity ratings that stay consistent with framework thinking rather than arbitrary labels
- Remediation prioritisation based on attack-path risk
A report that claims to be OWASP-aligned but does not show WSTG mapping in the findings is a warning sign.
NIST SP 800-115-aligned reports typically follow the phase structure and evidence requirements: scoping, test plan, evidence, findings. Mapping makes the deliverable usable for developers and easier to defend to auditors or a board.
Many providers say they use OWASP. Few can show how findings were mapped to WSTG categories. Ask for a sample report that shows the mapping. That is the fastest way to see whether the framework is core delivery or brochure language.
How to Choose the Right Framework for Your Organisation
The right framework choice follows your asset type, compliance pressure, risk appetite, and the need to demonstrate due diligence, not a one-line claim that OWASP is for web and NIST is for enterprise.
- If the focus is a web application such as e-commerce, a customer portal, or a SaaS product, treat OWASP WSTG as the primary depth layer.
- If the environment is broader infrastructure or a regulated setting such as finance, healthcare, or the public sector, treat NIST SP 800-115 as the primary structure and keep OWASP for web components.
- If a compliance driver exists, ask the provider to map the report to the relevant framework controls and evidence requirements.
- If you must demonstrate due diligence to auditors or a board, NIST SP 800-115 gives a defensible structure and OWASP gives testing depth for web surfaces.
Risk appetite also matters. A high-change product team may want WSTG depth on the features that handle money, identity, or personal data. A programme that must show a complete assessment trail may need SP 800-115 artefacts even when the main target is a web app.
UK context.
UK organisations often need frameworks to sit alongside NCSC expectations and GDPR security responsibilities. A provider that can explain that mapping is supporting a wider compliance picture, not only running a test.
Before You Engage a Provider — 5 Questions to Ask About Frameworks
The five questions below test whether a provider genuinely follows the frameworks they claim. A strong answer is specific, names categories or phases, and offers evidence. A weak answer is a generic we use OWASP line with no mapping.
Which framework is your methodology based on?
Strong: names WSTG, SP 800-115, and how each is used.
Warning: industry best practice with no document.
How do you map findings back to OWASP WSTG categories?
Strong: describes category mapping in the findings.
Warning: only mentions the Top 10 as a slogan.
Can you show me a sample report that demonstrates the framework mapping?
Strong: shares a redacted sample with mapped findings.
Warning: cannot produce one. This is the single best procurement test.
How does your process follow NIST SP 800-115 phases (planning, discovery, attack, post-assessment)?
Strong: walks through each phase and artefacts.
Warning: jumps straight to tools.
How do you determine what is in scope versus out of scope against the framework?
Strong: explains which WSTG cases and NIST activities apply to your assets.
Warning: we test everything with no trade-offs.
Watch for providers that claim OWASP alignment but deliver reports with no OWASP categories, no mapped findings, and no test-case traceability. Framework language without that evidence is a checkmark, not a quality control.
Frequently Asked Questions
Is one framework better than the other?
No. They serve different purposes. OWASP WSTG is for web application depth. NIST SP 800-115 is for broader assessment structure. The strongest approach for most organisations is a combination.
Do I need both OWASP and NIST for a pentest?
Not always. Mature programmes often combine them. NIST provides the overall process. OWASP provides the web-specific test cases.
What is the difference between NIST SP 800-115 and the NIST Cybersecurity Framework (CSF)?
SP 800-115 is the technical testing manual. CSF is the strategic governance framework. Only SP 800-115 tells you how to run a technical pentest-style assessment.
Is the OWASP Top 10 the same as the OWASP Testing Guide?
No. The Top 10 is a risk-ranking list of common web application vulnerabilities. The Testing Guide (WSTG) is the testing methodology with grouped test cases.
Will following a framework guarantee my application is secure?
No. Frameworks structure the test and set scope. They do not guarantee security. Provider judgement, exploitation quality, and remediation still decide the outcome.
Do I need a framework for compliance?
Depending on your sector, you may be expected to follow standards such as NIST. A framework-aligned report makes the evidence more defensible to auditors.
Conclusion — The Framework Is the Map, Not the Journey
OWASP WSTG is the web application testing methodology. NIST SP 800-115 is the technical security testing process guide. Together they tell you what to test and how the engagement should run.
Frameworks are necessary but not sufficient. They define structure. The differentiator is the quality of the provider’s judgement. Treat a framework as a quality signal, not a shield or a checkmark on its own. Look for evidence of application in the engagement and in the report.
Talk to a provider who can demonstrate how they apply OWASP and NIST in practice. If you want to see how Pentesting Company applies these frameworks on a real engagement, walk through the methodology and a sample report via the Penetration Testing Services page.
Frequently Asked Questions
What is the difference between OWASP and NIST?
OWASP WSTG is a web application test-case framework. NIST SP 800-115 is a phased technical guide for assessing networks, systems, and applications. They answer different questions: what to test on a web app versus how to run the whole assessment.
Which framework is best for web applications — OWASP or NIST?
OWASP WSTG is the better primary depth layer for web applications. NIST SP 800-115 still helps if you need formal scoping, discovery, and reporting structure around that web work.
Do I need both OWASP and NIST for a pentest?
You do not always need both. Combining them is common on mature engagements because NIST structures the process and OWASP supplies web test cases.
What is the difference between NIST SP 800-115 and the NIST Cybersecurity Framework (CSF)?
SP 800-115 is the technical testing and assessment guide. CSF is the strategic governance model. They are related by brand, not interchangeable as pentest manuals.
Is the OWASP Top 10 the same as the OWASP Testing Guide?
No. The Top 10 ranks common web risks. The Testing Guide is the methodology used to test those and many other issues through defined cases.
Will following a pentesting framework guarantee my application is secure?
No. A framework organises the test. It cannot guarantee that every relevant flaw is found or that identified issues will be fixed.