Garfield
Executive summary — Garfield is an Active Directory Domain Controller (Windows Server 2019), assume breach scenario: we start from a low-privilege domain user and chain 6 phases to SYSTEM on the DC. BloodHound reports no path at all because it only enumerates object-level ACLs; with bloodyAD (which inspects attribute-level permissions) we discover a WRITE on
scriptPathfor two users. We pointl.wilson's logon script at SYSVOL so that, on login, it resetsl.wilson_adm's password abusing ForceChangePassword (user flag). From there,l.wilson_admadds itself to RODC Administrators, gaining control over the Password Replication Policy; we extract the RODC'skrbtgtkey and, after bypassing the PRP, forge an RODC Golden Ticket forAdministrator→ SYSTEM on DC01.
| Platform | Hack The Box |
| Operating system | Windows Server 2019 (Build 17763) — Domain Controller |
| Domain | garfield.htb |
| Difficulty | Hard |
| Scenario | Assume breach (initial credentials provided) |
| Status | Retired |
| Target IP | <TARGET_IP> |
Attack map
[1] Recon -- ICMP bloqueado; SMB signing habilitado y requerido -> adios a los relays SMB
|
[2] Enum (BloodHound ciego) -- j.arbuckle: Outbound Object Control = 0, sin path a Domain Admins
|
[3] bloodyAD (ACL a nivel de atributo) -- WRITE en scriptPath de l.wilson y l.wilson_adm
(invisible para BloodHound, que solo ve ACLs a nivel de objeto)
|
[4] Logon script en SYSVOL (NTFS SI escribible, aunque el share diga READ) ->
se ejecuta como l.wilson -> ForceChangePassword sobre l.wilson_adm -> user.txt
|
[5] AddSelf a RODC Administrators -> write sobre la Password Replication Policy de RODC01$ ->
RBCD + tunel Chisel + Mimikatz -> clave krbtgt_8245 del RODC
|
[6] Bypass PRP (vaciar deny list, poblar allow list con Administrator) ->
RODC Golden Ticket (Rubeus v2.3.3) -> TGS cifs/DC01 -> psexec (libfaketime) -> SYSTEM -> root.txt
Key domain data
| Data | Value |
|---|---|
| Public DC | DC01.garfield.htb |
| RODC (internal network) | RODC01.garfield.htb = 192.168.100.2 |
| Initial credentials | j.arbuckle / Th1sD4mnC4t!@1978 |
| Domain SID | S-1-5-21-2502726253-3859040611-225969357 |
| krbtgt_8245 AES256 | d6c93cbe006372adb8403630f9e86594f52c8105a52f9b21fef62e9c7a75e240 |
| krbtgt_8245 NTLM | 445aa4221e751da37a10241d962780e2 |
| rodcNumber | 8245 |
Attacker environment: Kali without
sudo— can't edit/etc/hosts, can't runntpdate. We work directly by IP, and the +8h Kerberos skew against the DC gets resolved later withlibfaketime(installed viapip --user, no root needed).
Root Access unlocks the content you can't see — everything else on the site is already open.
See Root Access plansNo account? Create one free then upgrade from your console.