A repeatable process beats random poking. This is a methodology plus a fill-in template for box-style CTFs (HTB, lab boxes, ApeXLabs HACK).
The loop
- Enumerate — full port scan, then deep scan the open ports (Nmap Security Cheat Sheet).
- Enumerate more — web (Directory and Vhost Fuzzing), services, versions.
- Foothold — find the one exploitable thing; get a shell.
- Stabilize — upgrade to a proper TTY.
- Privilege escalation — Linux Privilege Escalation / Windows Privilege Escalation.
- Loot & document — flags, creds, screenshots.
# the classic opener
nmap -p- --min-rate 5000 -oA all-ports target
nmap -sCV -p <open-ports> -oA deep target
Writeup template
# <Box Name> — <IP>
## Recon
- nmap: <open ports / services>
## Enumeration
- <web dirs, versions, findings>
## Foothold
- Vuln: <what> → shell as <user>
## Privilege Escalation
- Vector: <misconfig> → root
## Loot
- user.txt / root.txt, creds
## Remediation
- <how the box owner should fix it>
Keep every writeup — they become your personal playbook. Stay in scope: Rules of Engagement and Authorization.