- Machine
- Hercules
- OS
- Windows
- Difficulty
- Insane
- Steps
- 8
- Added
- 18 Oct 2025
An LDAP injection leaks the domain default password; a long shadow-credential and ESC3 chain walks between accounts, and an RBCD U2U attack DCSyncs the domain.
How it went
- 0nmap
nmap shows an AD domain controller with NTLM disabled and an IIS SSO app.
- 1LDAP injection
A double-URL-encoded LDAP injection in the SSO login reads johnathan.j's description attribute, leaking the domain default password.
- 2natalie.a
The default password sprays to ken.w; a separate brute of the SSO's own password store lands natalie.a.
- 3bob.w
natalie.a's GenericWrite adds shadow credentials to bob.w for his NT hash.
- 4OU move
bob.w's WriteProperty on the Security OU moves auditor into the Web Department, bringing it under natalie.a's GenericWrite.
- 5auditor
natalie.a shadow-creds auditor and mints a TGT; auditor is in Remote Management Users, so WinRM lands a shell and the user flag.
- 6ESC3
auditor enables fernando.r, whose ESC3 enrollment-agent rights mint an on-behalf-of cert for ashley.b.
- 7IIS_Admin
ashley.b triggers an adminSDHolder cleanup task to re-enable inheritance on IIS_Administrator and shadow-cred it.
- 8DCSync
IIS_Administrator resets IIS_WEBSERVER$, and an RBCD U2U (Tiranid) attack impersonates Administrator to DCSync the domain.