crackmapexec
Installation
SKILL.md
crackmapexec (NetExec)
Goal: Validate credentials, enumerate shares, spray passwords, and spider SMB shares across Windows networks.
Note: CrackMapExec (
cme) is officially deprecated. Modern versions are branded as NetExec (nxc). The syntax remains identical (nxc smbinstead ofcme smb).
1. Authentication and Protocol Flags
NetExec supports multiple protocols (smb, winrm, ldap, mssql, ssh, rdp).
-uUsername,-pPassword.-dDomain (Use-d ''or--local-authfor local SAM accounts).-HPass-The-Hash (NTLM).
# Basic SMB auth check against an IP range
nxc smb 10.10.10.0/24 -u 'user' -p 'password'