Your First Breach
This walkthrough takes you through one full breach using the hacking pipeline: recon, research, exploit, escalate, shell. Commands are explained as you go; the full list lives in the Command Reference.
0. Get a target
Section titled “0. Get a target”Open the Terminal and the Mission Board, and accept your first contract. It will give you a target domain or IP. If you only have a domain, resolve it:
host target-corp.net # returns the IP, e.g. 10.0.1.5whois target-corp.net # registration records1. Recon
Section titled “1. Recon”Find out what the server runs:
nmap 10.0.1.5This lists open ports and services (SSH, Apache, MySQL, …) with versions. Note the service and version you want to attack.
You can also look up the people behind the target: dig target-corp.net TXT for DNS breadcrumbs, FaceLink for OSINT, and the Signal Decoupler for SMS, calls and MFA codes.
2. Research
Section titled “2. Research”Look up a vulnerability that matches the service and version you found:
searchsploit apache 2.4.49Match the version: a CVE for 2.4.49 will not fire against 2.4.50.
3. Exploit
Section titled “3. Exploit”Open Metasploit and launch a matching module:
metasploitmsf6 > search apachemsf6 > use CVE-2021-41773msf6 exploit(CVE-2021-41773) > set RHOSTS 10.0.1.5msf6 exploit(CVE-2021-41773) > check # safe: verifies without alerting the IDSmsf6 exploit(CVE-2021-41773) > exploit4. Escalate
Section titled “4. Escalate”The foothold you land is rarely root. Raise your access from your own terminal, against the IP, before you open the shell:
linpeas 10.0.1.5 # find a privesc vector (Linux)# then sudo, or jump straight to root on a kernel CVE:kexploit 10.0.1.5On Windows targets use winpeas 10.0.1.5, then runas or winkexploit. The access chain is:
none < user_list < user < filesystem < database_root < root5. Get a shell and finish the job
Section titled “5. Get a shell and finish the job”Open the session and drop into a shell:
msf6 exploit(CVE-2021-41773) > sessions -i 1msf6 exploit(CVE-2021-41773) > shellYour prompt now shows the target’s IP. Do what the contract asks:
lscat /home/admin/contract_target.txtdownload secrets.db# or, per the mission:inject records.db # tamperkill 1337 # crash-server objective6. Leave clean
Section titled “6. Leave clean”Intrusions leave traces, and traces start investigations. The loop is not finished until you leave clean:
# clean the logs you touched, then:disconnectWhere to go next
Section titled “Where to go next”- Scanning & Stealth for the detection model.
- Command Reference for every tool, by phase.
- Back to the game on Steam.
