Penetration Testing Methodology
Table of Contents
A structured approach to penetration testing, covering the full engagement lifecycle from reconnaissance to reporting. Each phase links to dedicated notes for tools and techniques.
Related: Penetration Testing Reconnaissance Exploitation Post Exploitation Red Team Reporting
1. Reconnaissance
Gather information about the target without directly interacting with it (passive) or by probing it directly (active).
- Passive: OSINT, WHOIS, DNS enumeration, Shodan, DNSDumpster
- Active: port scanning, service fingerprinting, content discovery
Key tools: Nmap, Shodan, DNSDumpster, OSINT
2. Enumeration
Deeper investigation of discovered services to identify attack surface. Builds directly on reconnaissance findings.
- Web: content discovery, subdomain enumeration, API endpoints
- Network: SMB shares, LDAP, DNS zone transfers
- AD: user enumeration, group membership, Kerberos
Key tools: Gobuster, Feroxbuster, Network Discovery, Subdomain Enumeration
3. Exploitation
Leverage discovered vulnerabilities to gain initial access.
- Web: SQL Injection, XSS, IDOR, SSRF, File Inclusion
- Network: exposed services, weak credentials
- AD: Broken Authentication, Kerberoasting
Key tools: Burp Suite, Hydra, Metasploit
4. Post Exploitation
Actions taken after gaining a foothold — establishing persistence, escalating privileges, and moving laterally.
- Linux Privilege Escalation
- Windows Privilege Escalation
- Lateral Movement
- Pivoting
- Persistence
- Credentials Harvesting
Key tools: LinPEAS, WinPEAS, Mimikatz, BloodHound
5. Reporting
Document findings clearly with evidence, impact assessment, and remediation recommendations.
- Red Team Reporting
- Include: scope, methodology, findings, risk ratings, evidence
- Use CVSS for severity scoring