Sauna
Executive summary — Sauna is an Easy Active Directory Windows box: employee profiles published on the website reveal the domain's username convention;
fsmithhas Kerberos pre-authentication disabled, so an AS-REP Roasting attack yields a hash that's crackable offline. Once inside, internal enumeration uncovers autologon credentials stored in the registry (svc_loanmgr), an account that also holds DCSync rights over the domain: with them we dump theAdministratorNTLM hash and log in via pass-the-hash. A Web → AS-REP → WinRM → autologon → DCSync → DA path.
| Platform | Hack The Box |
| Operating system | Windows (AD) |
| Difficulty | Easy |
| Status | Retired |
| Target IP | 10.129.4.62 |
Attack map
[80] web → employee profiles → username fsmith
▼
[AS-REP] fsmith without Kerberos pre-auth → GetNPUsers → john → Thestrokes23
▼
[WINRM] fsmith (user.txt)
│ internal enumeration → autologon in the registry (svc_loanmgr)
│ svc_loanmgr has DCSync rights
▼
[DCSYNC] secretsdump → Administrator NTLM hash → pass-the-hash → root.txt
1. Recon and environment setup
Since this is an Active Directory box, Kerberos needs to resolve both the hostname and the domain correctly, so we add both to
/etc/hostsbefore touching anything else. HTB's target IP can change between sessions: always check the current one on the platform before starting.
echo "10.129.4.62 sauna.htb egotistical-bank.local" | sudo tee -a /etc/hosts
ping -c 1 sauna.htb
Resumen ejecutivo — Sauna es una Windows Easy de Active Directory: los perfiles de empleados publicados en la web permiten deducir la convención de nombres de usuario del dominio;
fsmithtiene desactivada la preautenticación Kerberos, así que un AS-REP Roasting entrega un hash crackeable offline. Ya dentro, la enumeración interna descubre unas credenciales de autologon guardadas en el registro (svc_loanmgr), una cuenta que además tiene derechos de DCSync sobre el dominio: con ellos se vuelca el hash NTLM deAdministratory se entra por pass-the-hash. Recorrido Web → AS-REP → WinRM → autologon → DCSync → DA.
| Plataforma | Hack The Box |
| Sistema operativo | Windows (AD) |
| Dificultad | Easy |
| Estado | Retired |
| IP objetivo | 10.129.4.62 |
Mapa del ataque
[80] web → perfiles de empleados → nombre de usuario fsmith
▼
[AS-REP] fsmith sin preautenticación Kerberos → GetNPUsers → john → Thestrokes23
▼
[WINRM] fsmith (user.txt)
│ enumeración interna → autologon en el registro (svc_loanmgr)
│ svc_loanmgr tiene derechos de DCSync
▼
[DCSYNC] secretsdump → hash NTLM de Administrator → pass-the-hash → root.txt
1. Reconocimiento y preparación del entorno
Al tratarse de una máquina de Active Directory, Kerberos necesita resolver correctamente tanto el hostname como el dominio, así que añadimos ambos a
/etc/hostsantes de tocar nada más. La IP de HTB puede cambiar entre sesiones: conviene comprobarla siempre en la plataforma antes de arrancar.
echo "10.129.4.62 sauna.htb egotistical-bank.local" | sudo tee -a /etc/hosts
ping -c 1 sauna.htb
This content is Root Access only. Everything else on the site — the free tier, the whole public library — stays open.
See Root Access plansNo account? Create one free then upgrade from your console.
Este contenido es solo para Root Access. Todo lo demás del sitio — el nivel gratuito, toda la biblioteca pública — sigue abierto.
Ver planes de Root Access¿Sin cuenta? Crea una gratis y luego mejora desde tu consola.