Exploitation and Weaponisation
Table of Contents
Structured approach to moving from a confirmed vulnerability to a demonstrated, reportable finding. The goal is to prove impact clearly and safely — not to cause damage or go further than the engagement scope requires.
Related: Vulnerability Identification Techniques Incident Response Penetration Testing Methodology Exploitation
1. Pre-Exploitation Checklist
Before running anything against a confirmed vulnerability:
— Is this target in scope? Check the rules of engagement — Do I understand what this exploit does? Read it before running it — Is there a safer proof-of-concept available? Prefer PoC over full weaponisation when the goal is just to demonstrate impact — What is the worst-case outcome if something goes wrong? — Is the target a production system? Apply extra caution
Running an exploit you haven't read is one of the most common causes of unintended damage in penetration tests.
2. Methodical Exploitation Process
1. Confirm the vulnerability — reproduce the trigger reliably 2. Identify the minimal exploit that proves impact 3. Test in a controlled environment first if possible 4. Execute with the least privilege required to demonstrate impact 5. Document the exact steps, commands, and output 6. Stop at the agreed objective — do not escalate further without explicit authorisation
The confirmation step matters: a vulnerability identified by a scanner is a lead, not a confirmed finding. Manual verification with a controlled, safe payload is required before reporting.
3. Safe Proof-of-Concept Techniques
When the goal is to prove impact rather than achieve full access:
Remote code execution:
— Run 'id' or 'whoami' rather than establishing persistence
— Use 'sleep 5' as a blind RCE indicator (timing difference)
— DNS callback (Burp Collaborator, interactsh) for blind RCE
SQL injection:
— Retrieve database version or current user — proves access
without dumping sensitive data
— time-based blind: SLEEP(5) confirms injection without output
SSRF:
— Fetch the internal metadata endpoint — proves server-side
request without full internal network access
File read:
— Retrieve /etc/passwd (Linux) or win.ini (Windows) — proves
path traversal without accessing truly sensitive data
4. Vulnerability Chaining
Real attack paths rarely rely on a single vulnerability. Chain findings to demonstrate realistic impact:
Common chains: Information disclosure → credential access Username enumeration + weak password → account takeover Low-severity + low-severity → High SSRF (internal only) + metadata endpoint → cloud credentials Auth bypass → privilege escalation IDOR on API → access admin object → escalate to admin account File read → RCE Path traversal → read config file → credentials → authenticated RCE
When chaining: document each link in the chain individually — each vulnerability is its own finding, and the chain is an additional observation showing combined impact.
5. Weaponisation in Business Context
Technical access is not the deliverable — business risk is. Translate findings:
| Technical finding | Business impact framing |
|---|---|
| RCE as www-data | Attacker can serve malicious content to all users |
| SQL injection on user table | Full customer database accessible — GDPR notification risk |
| SSRF to cloud metadata | Cloud credentials obtainable — full infrastructure compromise |
| IDOR on invoices | Any authenticated user can read any customer's financial records |
Severity ratings should reflect business impact, not just technical severity. A low-CVSS misconfiguration exposing PII is more business-critical than a high-CVSS DoS on a dev server.
6. Tool Usage Principles
— Understand output before acting on it — scanner output is a lead, not a verdict — Rate-limit where possible — aggressive scanning can cause unintended disruption — Log everything — commands run, timestamps, output received — Use the least capable tool that achieves the objective — Metasploit is not always appropriate when a curl command demonstrates the same finding — Know what cleanup is required — if you drop a file, note it for removal at the end of the engagement
7. Documentation During Exploitation
Capture as you go — reconstruction from memory is less accurate:
For each finding: — Vulnerability name and classification — Affected endpoint or component — Exact request/command used — Response/output received (screenshot or copy) — Impact demonstrated — Remediation recommendation
Evidence quality matters for the report. A screenshot of
uid=0(root) is more compelling than "we achieved root access."
Tips
- The question "can I prove impact without causing harm?" should precede every exploitation attempt — in most cases the answer is yes, and that is all the engagement requires
- Chaining vulnerabilities multiplies the severity of a finding in the report — always ask whether a low finding enables something higher when combined with another
- Time-based blind techniques (SLEEP, DNS callbacks) are your friends when there is no direct output — they prove execution without requiring visible data return
- The report reader is often a non-technical decision maker — business impact language in the finding summary is as important as the technical evidence in the appendix