Netexec

Use NetExec to assess SMB, WinRM, LDAP, MSSQL, SSH, or RDP services with known credentials in an authorized environment.

AeonDave Updated 37 repo stars

File contents

NetExec

NetExec (nxc) is the maintained successor to CrackMapExec. Use it for scoped protocol checks and authenticated service inventory.

Install and check the version using the official project instructions. The current upstream release is v1.5.1; distributions may package a different version. Upstream's Linux install uses pipx install git+https://github.com/Pennyw0rth/NetExec.

Basic use

Select the protocol, then pass only in-scope hosts and credentials supplied for the assessment:

# Check SMB authentication and enumerate accessible shares
nxc smb <host> -u <user> -p <password> --shares

# Check an authorized WinRM endpoint
nxc winrm <host> -u <user> -p <password>

Available protocol modules and options vary by installed release. Check nxc <protocol> --help before relying on a flag or module. Do not infer that a successful authentication check proves access beyond the reported protocol and host.

aeondave/malskill commit 7f177e227f

Frequently asked questions

npx get-skill add aeondave/netexec