# Pentest Exploitation Phase

> Use when moving from mapped attack surface to confirmed vulnerabilities in a web penetration test. Covers vulnerability prioritization, safe exploitation discipline, chaining findings, and evidence capture. Use when the map is done and testing begins, when deciding which finding to pursue first, when chaining low findings into high impact, or when the rules limit exploitation depth.

- Skill: `mizazhaider-ceh/pentest-exploitation-phase` (Agent Skill)
- Install (CLI): `npx get-skill add mizazhaider-ceh/pentest-exploitation-phase`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mizazhaider-ceh/pentest-exploitation-phase/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mizazhaider-ceh (https://skillmd.com/u/mizazhaider-ceh)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/mizazhaider-ceh/pentest-exploitation-phase

---


The exploitation phase turns the map into confirmed findings: testing
each area, proving each vulnerability, and chaining small issues into
real impact. This skill covers running the phase on authorized tests:
prioritization, safe exploitation rules, chaining discipline, and
evidence standards. It orchestrates the specialist sub-skills (web-sqli,
web-xss, auth-attacks); it does not replace them.

## Quick Workflow

1. Prioritize the map: authentication, input handling, access control,
   then the rest.
2. Test each area with the matching specialist skill.
3. Prove every vulnerability with minimal, safe evidence.
4. Chain findings where the combination raises impact.
5. Respect the exploitation limits in the scope at every step.
6. Log every test action with timestamps.
7. Hand confirmed findings to pentest-reporting with full evidence.

## 1. Prioritization

```bash
# Priority order for a typical web test:
# 1. Authentication and session (auth-attacks): total compromise potential
# 2. Injection (web-sqli, web-xss): data theft and session theft
# 3. Access control (authz-testing): horizontal and vertical escalation
# 4. Business logic: the app-specific flaws scanners miss
# 5. Everything else: information disclosure, misconfigurations

# Time allocation guide (adjust per scope):
# 30% auth and injection, 25% access control, 25% business logic,
# 20% follow-ups and chaining
```

Start where compromise is total, not where testing is easy. An hour on
the login flow beats an hour on cookie flags, and the report should
reflect that judgment.

## 2. Safe exploitation discipline

```bash
# Rules that apply to every test action:
# - Read-only proof first: show you CAN read the data before reading it
# - Minimum data: one row proves database access; a thousand rows proves
#   poor judgment
# - No writes without permission: the scope names what may be modified
# - No persistence: shells and backdoors need explicit approval
# - Revert test changes: created users, modified records, uploaded files

# Evidence capture per finding:
# - The exact request (Burp history entry or curl command)
# - The exact response showing the vulnerability
# - A screenshot of the meaningful state
# - The timestamp and the test account used
```

If you are unsure whether an action is allowed, it is not allowed until
the test lead confirms. The exploitation phase is where scope violations
happen; the discipline above is what prevents them.

## 3. Chaining findings

```bash
# Chaining examples (each link proven separately first):
# Reflected XSS + missing HttpOnly -> session theft -> account takeover
# IDOR + weak password reset -> targeted account takeover
# SQLi (read-only) + verbose errors -> full schema -> credential dump
# Stored XSS in admin panel + CSRF -> admin action as the victim

# Chain documentation: draw the chain as steps, each with its evidence
# Step 1: <finding> (evidence link)
# Step 2: <finding> (evidence link)
# Combined impact: <what the chain achieves>
```

Chains are where good testers separate from scanners: three lows can be
a critical. But every link must be real; a chain with one unproven link
is a story, not a finding. Prove each link, then present the chain.

## Edge cases

- The scope limits exploitation depth ("no data extraction"). Prove
  with the minimum the scope allows and describe the rest as impact
  analysis, clearly labeled as untested.
- A vulnerability needs a second vulnerability to matter. Note the
  dependency explicitly; the report reader must see which findings
  stand alone.
- Time runs out mid-chain. Report the proven links as separate
  findings and the unproven remainder as a recommended follow-up.
- The application breaks during testing. Stop, assess, inform the
  contact per the outage plan, and do not resume the breaking action
  without clearance.

## Escalation

- You need to exceed the exploitation limits: get written approval
  naming the specific action and target first.
- A finding needs a second opinion: reproduce it from a clean session
  and have a teammate verify before it goes in the report.
- The phase reveals scope gaps: raise them with the test lead the same
  day; quiet scope expansion is how incidents start.

## Detection and defender view

Defenders see the exploitation phase as the attack pattern: probing
followed by focused exploitation attempts, often with tool signatures
(sqlmap, Burp) mixed with manual requests. It is the phase the SOC
trains for. Defenses are the vulnerability fixes themselves plus
detection of exploitation patterns (WAF, RASP, anomaly detection).
A test that the defenders never notice is a test of nothing.

## Key references

- OWASP Testing Guide: full methodology.
- PTES (Penetration Testing Execution Standard): exploitation.
- NIST SP 800-115 (Technical Guide to Information Security Testing).

