Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTB Write-ups

Penetration-test write-ups for retired Hack The Box machines.
Each box is documented as a short report: enumeration, access, privilege escalation, and how a defender should have stopped it.

Hack The Box Retired machines only MIT license

These are my notes from Hack The Box machines, rewritten as short penetration-test reports by Gabriele Hamil. The point is not only to show the exploit path but also the root cause and the remediation: what the defender should have done differently.

Important

Retired machines only. Hack The Box's rules forbid publishing write-ups, walkthroughs or spoilers for active machines. This repository is limited to machines that have been retired. Flags (user.txt, root.txt) are never included, and my own data (VPN address, local paths) is replaced by placeholders such as $VPN_IP.

Machines

Machine OS Difficulty Key techniques
Cap Linux Easy IDOR on packet captures, FTP/SSH password reuse, cap_setuid capability abuse
TwoMillion Linux Easy Hidden invite API, IDOR privilege change, command injection, CVE-2023-0386 (OverlayFS)
Expressway Linux Easy IKE/IPsec aggressive-mode PSK capture and crack, password reuse, sudo CVE-2025-32463
Conversor Linux Easy XSLT (EXSLT) arbitrary file write via cron, MD5 crack, needrestart CVE-2024-48990
Editor Linux Easy XWiki SSTI RCE (CVE-2025-24893), config-file creds, ndsudo PATH hijack (CVE-2024-28318)
Facts Linux Easy Camaleon CMS LFI (CVE-2024-46987), SSH key exfiltration, sudo facter (GTFOBins)
MonitorsFour Windows (WSL/Docker) Easy Type-juggling info leak, Cacti authenticated RCE, exposed Docker API breakout
Strutted Linux Medium Apache Struts2 path-traversal upload RCE (CVE-2024-53677), sudo tcpdump (GTFOBins)
Eighteen Windows Easy MSSQL impersonation, PBKDF2 crack, password spraying, dMSA abuse + DCSync

Report structure

Every write-up follows TEMPLATE.md and reads like a small penetration-test report:

  1. Summary — target, difficulty, and the path from first packet to root in two lines.
  2. Enumeration — services found and how.
  3. Initial access — the first foothold.
  4. Privilege escalation — from the foothold to root/Administrator.
  5. Root cause and remediation — why the box was vulnerable and what the defender should have done.
  6. Lessons learned — the one or two transferable ideas.

Conventions

  • Commands and output are in fenced code blocks. Output is trimmed to what matters.
  • $VPN_IP is the attacker (HTB VPN / tun0) address. Target addresses are the machine's own lab IP.
  • Flags are shown only as the command that reads them, never their value.
  • CVE identifiers and tool names are given so each step can be verified independently.

License

MIT © Gabriele Hamil. The write-ups describe publicly documented, retired exercises for educational and defensive purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors