Skip to content
WRITEUPS

Writeups

Writeups are the hands-on part of the wiki. Each one solves a machine from start to finish and, at every step, links to the card that explains the technique. The other way round, every card lists at the bottom, under Practice it in, the writeups where it is used.

Filter by tag:

MachinePlatformOSDifficultyOSCP-likeChain
ActiveHack The BoxWindowseasyyesAnonymous SMB → GPP cpassword → domain user → Kerberoasting Administrator → psexec → SYSTEM
CodifyHack The BoxLinuxeasyyesvm2 CVE-2023-30547 (sandbox escape) → svc shell → SQLite with joshua's hash → SSH → sudo Bash script (== pattern matching + pspy) → root
ForestHack The BoxWindowseasyyesAnonymous LDAP → AS-REP roasting svc-alfresco → WinRM → Account Operators → WriteDACL via Exchange Windows Permissions → DCSync → SYSTEM
KeeperHack The BoxLinuxeasyyesRT default creds → lnorgaard's pass in a comment → SSH → KeePass dump (CVE-2023-32784) → master password → root's SSH key → root
LameHack The BoxLinuxeasyyesSamba 3.0.20 → CVE-2007-2447 (username map script) → direct RCE as root
PreciousHack The BoxLinuxeasyyespdfkit CVE-2022-25765 (command injection) → shell as ruby → credentials in .bundle/config → SSH henry → sudo Ruby script with YAML.load → root
SaunaHack The BoxWindowseasyyesNames on the website → username-anarchy → AS-REP roasting (fsmith) → WinRM → svc_loanmgr autologon (WinPEAS) → DCSync → Administrator
SupportHack The BoxWindowseasyyesAnonymous SMB → UserInfo.exe (XOR LDAP bind pass) → support user's info field → WinRM → GenericAll over the DC → RBCD + S4U → psexec → SYSTEM
TimelapseHack The BoxWindowseasyyesAnonymous SMB → winrm_backup.zip (zip2john) → PFX (pfx2john) → certificate-based WinRM → PSReadLine history (svc_deploy) → LAPS_Readers → Administrator password
AdministratorHack The BoxWindowsmediumyesolivia (given) → GenericAll michael → ForceChangePassword benjamin → FTP backup.psafe3 → crack → spray → emily → GenericWrite → targeted Kerberoast ethan → DCSync → Administrator
BeepHack The BoxLinuxmediumyesElastix/FreePBX → LFI in graph.php (Exploit-DB 37637) → amportal.conf (AMPDBPASS) → reuse → SSH root
CertifiedHack The BoxWindowsmediumyesjudith.mader (given) → WriteOwner/GenericWrite → shadow creds management_svc → GenericAll → shadow creds ca_operator → ADCS ESC9 (UPN swap) → Administrator cert → NT hash → pass-the-hash
EscapeHack The BoxWindowsmediumyesSMB guest → PDF with MSSQL creds → xp_dirtree + Responder (sql_svc hash) → crack → WinRM → log with ryan.cooper's pass → ADCS ESC1 → Administrator cert → NT hash → pass-the-hash
  1. Quick facts: platform, OS, difficulty and a diagram of the attack chain.
  2. TL;DR: the chain in three lines.
  3. Phases: every step with what I do, what I see, what I think and why it works, plus a link to the card.
  4. Progressive hints, in case you want to try before reading the solution.
  5. Dead ends: what was tried, why it failed and how it was ruled out.
  6. Methodology takeaways, detection and mitigation and references.
  • Only retired Hack The Box content (machines, challenges and endgames) and Starting Point. No active machines, Pro Labs or active Sherlocks.
  • Nothing from certification course labs whose terms forbid publishing solutions.
  • Flags are always redacted (abcd…wxyz) and the target IP is written as $IP.
  • As with the rest of the wiki: authorized testing only.

To write your own, see How to write writeups.