nxc_smb
Execute SMB protocol commands to enumerate Windows systems, validate credentials, execute commands, and dump credentials. Supports pass-the-hash attacks.
Instructions
Execute NetExec SMB protocol commands for Windows enumeration, credential validation, command execution, and credential dumping. Supports pass-the-hash attacks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target IP, hostname, CIDR range, or file path containing targets | |
| username | No | Username for authentication | |
| password | No | Password for authentication | |
| hash | No | NTLM hash for pass-the-hash (format: LM:NT or :NT) | |
| domain | No | Domain name for authentication | |
| localAuth | No | Use local authentication instead of domain | |
| action | No | Action to perform | |
| command | No | Command to execute (for exec-cmd or exec-ps actions) | |
| module | No | Module to run (e.g., lsassy, mimikatz, spider_plus) | |
| moduleOptions | No | Module options (key=value format) | |
| continueOnSuccess | No | Continue spraying after successful auth | |
| threads | No | Number of concurrent threads (default: 100) |