Active
Executive summary — Active is an Active Directory classic where the flaw isn't an exotic exploit but misconfiguration. The
Replicationshare (replicated SYSVOL) is anonymously readable and contains a Groups.xml with acpassword(GPP): Microsoft published the AES key, so it decrypts toSVC_TGS's credentials. With that account we enumerate the domain (RID brute) and KerberoastAdministrator— which has an SPN registered by mistake —, crack its TGS offline and log in as Domain Admin. Path: GPP → SVC_TGS → Kerberoasting → Administrator.
| Platform | Hack The Box |
| Operating system | Windows Server — Domain Controller (Active Directory) |
| Domain | active.htb |
| Difficulty | Easy |
| Status | Retired |
| Target IP | 10.129.8.141 |
Attack map
[Anonymous SMB] Replication share (SYSVOL) → Groups.xml (GPP)
│ cpassword (public AES key, MS14-025) → gpp-decrypt
│ → SVC_TGS : GPPstillStandingStrong2k18
▼
[SVC_TGS] (user.txt) → RID brute (NetExec) → user list
│ Kerberoasting against Administrator (SPN it shouldn't have)
│ GetUserSPNs → TGS-REP etype23 → hashcat/john
▼
[ADMIN] Administrator : Ticketmaster1968 → psexec → root.txt
1. Reconnaissance (Nmap)
First we confirm what the target exposes and whether it looks like a Domain Controller:
nmap -Pn -sC -sV -p- --min-rate 10000 10.129.8.141 -oN nmap_active.txt
Flag breakdown: -Pn assumes the host is up even without a ping reply (common on HTB, which usually blocks ICMP); -sC runs the default NSE scripts for basic enumeration; -sV detects service versions; -p- scans all 65535 TCP ports; --min-rate 10000 speeds up the scan; -oN saves the output to a file. What I'm looking for is the typical DC combo: 53 (DNS), 88 (Kerberos), 389/3268/3269 (LDAP/Global Catalog), 445 (SMB) and 464 (kpasswd). If they all show up together, the target is almost certainly an Active Directory Domain Controller.
Resumen ejecutivo — Active es un clasico de Active Directory donde el fallo no es un exploit raro, sino mala configuracion. El share
Replication(SYSVOL replicado) es legible de forma anonima y contiene un Groups.xml con uncpassword(GPP): Microsoft publico la clave AES, asi que se descifra y da las credenciales deSVC_TGS. Con esa cuenta enumeramos el dominio (RID brute) y hacemos Kerberoasting contraAdministrator— que tiene un SPN registrado por error —, crackeamos su TGS offline y entramos como Domain Admin. Recorrido GPP → SVC_TGS → Kerberoasting → Administrator.
| Plataforma | Hack The Box |
| Sistema operativo | Windows Server — Domain Controller (Active Directory) |
| Dominio | active.htb |
| Dificultad | Easy |
| Estado | Retired |
| IP objetivo | 10.129.8.141 |
Mapa del ataque
[SMB anonimo] share Replication (SYSVOL) → Groups.xml (GPP)
│ cpassword (AES publica, MS14-025) → gpp-decrypt
│ → SVC_TGS : GPPstillStandingStrong2k18
▼
[SVC_TGS] (user.txt) → RID brute (NetExec) → lista de usuarios
│ Kerberoasting contra Administrator (SPN indebido)
│ GetUserSPNs → TGS-REP etype23 → hashcat/john
▼
[ADMIN] Administrator : Ticketmaster1968 → psexec → root.txt
1. Reconocimiento (Nmap)
Primero confirmamos qué expone el objetivo y si tiene pinta de Domain Controller:
nmap -Pn -sC -sV -p- --min-rate 10000 10.129.8.141 -oN nmap_active.txt
Desglose de las opciones: -Pn asume el host «up» aunque no responda a ping (habitual en HTB, que suele bloquear ICMP); -sC lanza los scripts NSE por defecto para una enumeración básica; -sV detecta versiones de servicio; -p- escanea los 65535 puertos TCP; --min-rate 10000 acelera el escaneo; -oN guarda la salida en un fichero. Lo que busco es la combinación típica de un DC: 53 (DNS), 88 (Kerberos), 389/3268/3269 (LDAP/Global Catalog), 445 (SMB) y 464 (kpasswd). Si aparecen todos juntos, el objetivo es casi con toda seguridad un Domain Controller de Active Directory.
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.