Beginner · Methodology and reconnaissance · topic 9 of 35 · 16 min
A repeatable method: PTES and OWASP WSTG
Explanation
Why method beats poking
A beginner often jumps straight to running tools at random. A professional follows phases, so the test is thorough, repeatable and explainable. If a client asks "did you check for X?", the professional can point to the step. A method also keeps you inside scope and on schedule.
The PTES phases
PTES stands for the Penetration Testing Execution Standard. It lays out the stages of a test in order:
- Pre-engagement: agree scope and rules of engagement (module 1).
- Intelligence gathering: reconnaissance — learn about the target.
- Threat modelling: work out what matters most and how it might be attacked.
- Vulnerability analysis: find the weaknesses.
- Exploitation: carefully prove a weakness is real (in scope, authorised).
- Post-exploitation: assess the impact, still within the rules.
- Reporting: write up findings, risk and fixes.
OWASP WSTG for web apps
The OWASP Web Security Testing Guide (WSTG) is a free, detailed checklist for testing web applications. It groups tests into areas such as information gathering, authentication, session management, input validation and so on, each with how to test it. When you test a web app, WSTG makes sure you cover every area.
Reporting is a phase, not an afterthought
Notice that reporting is the last and arguably most important phase. A finding that is not written up clearly, with its risk and fix, has little value to the client. Good testers take notes during every phase so the report writes itself at the end. You will cover reporting in depth later.
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
A repeatable method: PTES and OWASP WSTG · 1/6
Professionals follow phases so nothing is missed and the report is consistent.
Prefer a video by a teacher? Find free videos on “penetration testing methodology PTES OWASP WSTG explained” on YouTube ↗
In real life: Two testers, one app
Two juniors test the same practice web app. One runs a scanner, finds one bug, and stops. The other follows WSTG: she checks information leakage, the login, session cookies, input fields and access control in turn, and finds four issues, each written up with a fix. The client sees immediately which report is worth paying for. The method, not raw skill, made the difference.
Practice (0/3 done)
PTES stands for…
The OWASP WSTG is…
List the PTES phases in order and write one line on what you would do in each for a lab web app.
Quick quiz
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- Passive reconnaissance (OSINT)Methodology and reconnaissance · same module
- Active reconnaissanceMethodology and reconnaissance · same module
- The OWASP approach to web testingWeb application testing: Burp Suite and the basics
- The OWASP Top 10: the most common web risksBackend Development · Backend security
- The OWASP Top 10 with fixesCyber Security: from zero to SOC analyst · Malware and web security
- The structure of a penetration test reportPost-exploitation ethics and reporting
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
The first PTES phase is…
Answer: Pre-engagement (scope and RoE)
You agree scope and rules of engagement before anything else.
Why follow a method instead of random tool runs?
Answer: It is thorough, repeatable and explainable to the client
A method ensures coverage and lets you explain exactly what was tested.
Which phase is the most valuable to the client?
Answer: Reporting
A clear report with risks and fixes is what the client pays for.
OWASP WSTG groups tests by…
Answer: Area, such as authentication and input validation
WSTG is organised by testing area for web apps.
The WSTG is best used as…Related
Answer: A checklist of areas to cover when testing
It structures the testing so nothing is missed.
What is the OWASP Top 10?Related
Answer: A list of the most common and serious web app security risks
The Top 10 is a free awareness list of the most common and serious risks found in real web apps.
An app uses a library version with a known critical CVE. Which risk?Related
Answer: Vulnerable and outdated components
Known-vulnerable dependencies are A06 in the 2021 list.
A pentest report should be…Related
Answer: Stored and shared securely with agreed people only
It details weaknesses, so it must be protected.
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- 2 more topics in “Methodology and reconnaissance” before its exam: Passive reconnaissance (OSINT), Active reconnaissance.
- Module 3 exam: methodology and recon · 12 questions · 18 min, without help. 3 topics of this module still to finish first.
- Then the next module, Scanning with nmap. 35 topics left in the course before the final exam.
← Previous: Legal online platforms: TryHackMe, Hack The Box and more