rhys@mcclew:~$
CTFS / HTB Machines
VOL.01 / OFFENSIVE

HackTheBoxMachine Writeups

Full-chain machine compromises, enumeration through to privilege escalation.

4 ENTRIES
CLASSIFICATION: PUBLIC
VOL.01 / WRITEUPS
/
DIFF
TAGS
SORT
01ActiveEasyActive is an easy to medium difficulty machine, which features two very prevalent techniques to gain privileges within an Active Directory environment.Windows · Kerberoasting · SMBMap2026.01.09→02SoccerEasySoccer 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 · LotL2026.01.08→03UnionMediumUnion 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 Injection2026.01.05→04ForestEasyForest 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 · BloodHound2025.12.19→
4 OF 4 RESULTSINDEX LIVE