/ writeups

Notes, after the flag.

Retired HackTheBox machines, documented start to finish: foothold to root, with the reasoning in between.

01
Shocker easy featured
A CGI shell script backed by a vulnerable Bash lets a crafted HTTP header trigger Shellshock (CVE-2014-6271) for RCE. Privesc via a passwordless sudo rule on perl, one GTFOBins command to root.
linuxwebcgishellshockcve-2014-6271sudogtfobinsprivesc
01 Jul 2026
HTB
02
Kobold easy featured
A wildcard TLS certificate leaks a subdomain running MCPJam Inspector v1.4.2, whose /api/mcp/connect endpoint executes attacker-supplied commands with no authentication. Privesc via docker group membership: reactivated with newgrp, then a container mount of the host filesystem to root.
linuxwebsubdomain-enumerationMCPCVE-2026-23744dockerprivesc
15 Mar 2026
HTB
03
CCTV easy featured
Default credentials on an exposed ZoneMinder console lead to a blind SQL injection (CVE-2024-51482) that dumps a crackable hash for SSH. Root comes from a loopback-bound motionEye reached over an SSH tunnel, where a filename field is passed unsanitised to a Motion daemon running as root (CVE-2025-60787).
linuxwebzonemindersqliCVE-2024-51482motioneyeCVE-2025-60787ssh-tunnelingcommand-injection
07 Mar 2026
HTB
04
Pirate hard featured
Active HackTheBox machine. Full writeup published after retirement.
windowsactive-directorypre2kgmsakerberosntlm-relayrbcdconstrained-delegationspn-jackingligolo-ngprivesc
01 Mar 2026
HTB
05
Gavel medium
Linux web box: exposed .git repo leaks PHP source revealing a SQLi, admin panel RCE via PHP rule engine, then privesc by abusing a root-run auction daemon that executes YAML-defined PHP rules.
linuxwebsqligit-dumperphprceyamlsuidprivesc
12 Oct 2025
HTB
06
DarkZero hard featured
Active Directory box featuring MSSQL lateral movement across two domains, kernel exploitation (CVE-2024-30088) via Metasploit, and Golden Ticket via Rubeus + PetitPotam to compromise the forest.
windowsactive-directorymssqlkerberosCVE-2024-30088golden-ticketrubeusprivesc
05 Oct 2025
HTB
07
Return easy featured
LDAP credential capture from a printer web panel, followed by Server Operators privilege escalation via service binary path modification.
windowsactive-directoryldapprivescserver-operators
04 Oct 2025
HTB
08
Cicada easy
Beginner-friendly Windows AD box: anonymous SMB enumeration leads to default credentials, password spraying finds a foothold, and SeBackupPrivilege escalates to Administrator via SAM dump.
windowsactive-directorysmbpassword-spraySeBackupPrivilegepass-the-hash
03 Oct 2025
HTB
09
Expressway easy
Linux box with IKE/ISAKMP on UDP/500: crack the PSK with psk-crack, SSH in, then exploit a vulnerable sudo version (CVE-2025-32463) to root.
linuxikevpnpsk-cracksshCVE-2025-32463sudoprivesc
22 Sept 2025
HTB
Copied