rhys@mcclew
:~$
ls ./ctfs/htb-machines
CTFS
WHOAMI
CTFS
/
HTB Machines
VOL.01 / OFFENSIVE
HackTheBox
Machine Writeups
Full-chain machine compromises, enumeration through to privilege escalation.
4 ENTRIES
CLASSIFICATION: PUBLIC
VOL.01 / WRITEUPS
/
DIFF
Easy
Medium
TAGS
AS-REP Roasting
BloodHound
Command Injection
DCSync
Hashcat
Kerberoasting
LDAP
Linux
LotL
SMBMap
SQL
SQLi
SQLMap
Webserver
Websockets
Windows
SORT
NEWEST
OLDEST
A–Z
01
Active
Easy
Active is an easy to medium difficulty machine, which features two very prevalent techniques to gain privileges within an Active Directory environment.
Windows · Kerberoasting · SMBMap
2026.01.09
→
02
Soccer
Easy
Soccer is an easy difficulty Linux machine that features a foothold based on default credentials, forfeiting access to a vulnerable version of the `Tiny File Manager`, which in turn leads to a reverse shell on the target system (`CVE-2021-45010`). Enumerating the target reveals a subdomain which is vulnerable to a blind SQL injection through websockets. Leveraging the SQLi leads to dumped `SSH` credentials for the `player` user, who can run `dstat` using `doas`\- an alternative to `sudo`. By creating a custom `Python` plugin for `doas`, a shell as `root` is then spawned through the `SUID` bit of the `doas` binary, leading to fully escalated privileges.
Linux · Websockets · SQLi · SQLMap · LotL
2026.01.08
→
03
Union
Medium
Union is an medium difficulty linux machine featuring a web application that is vulnerable to SQL Injection. There are filters in place which prevent SQLMap from dumping the database. Users are intended to manually craft union statements to extract information from the database and website source code. The database contains a flag that can be used to authenticate against the machine and upon authentication the webserver runs an iptables command to enable port 22. The credentials for SSH are in the PHP Configuration file used to authenticate against MySQL. Once on the machine, users can examine the source code of the web application and find out by setting the X-FORWARDED-FOR header, they can perform command injection on the system command used by the webserver to whitelist IP Addresses.
Linux · Webserver · SQL · SQLi · Command Injection
2026.01.05
→
04
Forest
Easy
Forest is an easy Windows machine that showcases a Domain Controller (DC) for a domain in which Exchange Server has been installed. The DC allows anonymous LDAP binds, which are used to enumerate domain objects. The password for a service account with Kerberos pre-authentication disabled can be cracked to gain a foothold. The service account is found to be a member of the Account Operators group, which can be used to add users to privileged Exchange groups. The Exchange group membership is leveraged to gain DCSync privileges on the domain and dump the NTLM hashes, compromising the system.
Windows · LDAP · AS-REP Roasting · DCSync · Hashcat · BloodHound
2025.12.19
→
4 OF 4 RESULTS
INDEX LIVE