Skip to content

Beginner · Methodology and reconnaissance · topic 9 of 35 · 16 min

A repeatable method: PTES and OWASP WSTG

Explanation

Professionals follow a standard set of phases so nothing is missed and reports are consistent. PTES describes the phases of a penetration test; the OWASP Web Security Testing Guide (WSTG) is a detailed checklist for web apps. Following a method is what separates a professional from a script-kiddie.

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:

  1. Pre-engagement: agree scope and rules of engagement (module 1).
  2. Intelligence gathering: reconnaissance — learn about the target.
  3. Threat modelling: work out what matters most and how it might be attacked.
  4. Vulnerability analysis: find the weaknesses.
  5. Exploitation: carefully prove a weakness is real (in scope, authorised).
  6. Post-exploitation: assess the impact, still within the rules.
  7. Reporting: write up findings, risk and fixes.
Think of it like this: Think of a doctor. They take a history, examine you, order tests, make a diagnosis, treat, and write notes. They do not prescribe medicine the moment you walk in. A tester works the same way: understand first, act carefully, write it up.

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.

Tip: Use the method as a checklist while you learn on practice targets. Even in a lab, going through the phases in order builds the habit you will need on real, paid work.

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

Method, not random poking

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)

Task 1 · Question

PTES stands for…

Task 2 · Question

The OWASP WSTG is…

Task 3 · Practice

List the PTES phases in order and write one line on what you would do in each for a lab web app.

Quick quiz

Question 1

1.The first PTES phase is…

Question 2

2.Why follow a method instead of random tool runs?

Question 3

3.Which phase is the most valuable to the client?

Question 4

4.OWASP WSTG groups tests by…

Read more (free)

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.

From The OWASP approach to web testing

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.

From The OWASP Top 10: the most common web risks

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.

From The OWASP Top 10 with fixes

A pentest report should be…Related

Answer: Stored and shared securely with agreed people only

It details weaknesses, so it must be protected.

From The structure of a penetration test report

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

  1. 2 more topics in “Methodology and reconnaissance” before its exam: Passive reconnaissance (OSINT), Active reconnaissance.
  2. Module 3 exam: methodology and recon · 12 questions · 18 min, without help. 3 topics of this module still to finish first.
  3. 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