Methodology¶
The checklist I follow on every box or engagement. Tick it off as you go.
0. Before touching anything¶
- Scope written down: IPs, domains, what is out of scope
- Written permission (real job) or it is a lab / CTF
- Notes folder created, one per target
- Decide what counts as "done" — flags, a report, a specific goal
1. Recon¶
- Full TCP port scan, then service / version scan on open ports → Nmap
- Top UDP ports
- Web: tech stack, directories, vhosts, subdomains → Web discovery
2. Enumeration (per service)¶
| Port | Look for |
|---|---|
| 21 FTP | anonymous login, writable dirs |
| 22 SSH | version, allowed auth methods, reused creds |
| 80 / 443 HTTP | login pages, admin panels, APIs, robots.txt, JS files |
| 139 / 445 SMB | null session, shares, users |
| 389 / 636 LDAP | anonymous bind, users |
| 88 Kerberos | it is a domain controller → AD enumeration |
| 3306 / 5432 | databases, default creds |
3. Access¶
- Reach a login, an upload, or an injectable input → Web notes
- Get a shell → Reverse shells
4. Privilege escalation¶
- Linux → Linux privesc
- Windows / AD → AD attacks
5. Report¶
- One finding per issue: what, impact, steps to reproduce, fix
- Turn notes into a PDF with the report template (separate tool)
The reference everyone uses
When a step is new to you, the community standard write-ups are HackTricks, PayloadsAllTheThings, and, for web, PortSwigger Web Security Academy (free labs).