curiouslearnerdev/online_tools-ai/smb-enum
Claude Code and agent skill by curiouslearnerdev/online_tools-ai
- community
Checking that the SKILL.md file is still in the repository.
SMB and Windows network enumeration workflow using nmap, smbmap, enum4linux, netexec, and nbtscan for share discovery, user enumeration, and lateral movement
Install
npx vskill@latest install curiouslearnerdev/online_tools-ai/smb-enumSKILL.md
smb-enum
SMB and Windows network enumeration workflow for HexStrike AI. Use this skill when a user wants to enumerate SMB shares, discover Windows users and groups, test for null sessions, spray credentials, or assess Active Directory exposure.
Workflow
Step 1 — Identify SMB hosts and version (nmap)
Start by confirming SMB is open and check the version for known vulnerabilities:
Key NSE scripts for SMB:
| Script | Purpose | |
|---|---|---|
smb-vuln-ms17-010 | EternalBlue check | |
smb-vuln-cve-2020-0796 | SMBGhost check | |
smb-security-mode | Null session, message signing | |
smb2-security-mode | SMBv2 signing status | |
smb-enum-shares | List accessible shares | |
smb-enum-users | Enumerate domain/local users |
Step 2 — NetBIOS and host discovery (nbtscan)
For Windows networks, get NetBIOS names and identify domain controllers:
Step 3 — Share enumeration (smbmap)
List shares and permissions without credentials (null session), then with credentials:
Step 4 — Full SMB/RPC enumeration (enum4linux)
Enumerate users, groups, shares, password policy, and OS info in one pass:
Step 5 — Credential testing and lateral movement (netexec)
Test credentials across hosts, run modules, and move laterally:
Vulnerability quick-checks
| Vulnerability | Check | |
|---|---|---|
| EternalBlue (MS17-010) | nmap --script smb-vuln-ms17-010 | |
| SMBGhost (CVE-2020-0796) | nmap --script smb-vuln-cve-2020-0796 | |
| Null session | smbmap -H <target> (no creds) | |
| Anonymous RPC | enum4linux -a <target> | |
| Weak password policy | enum4linux -P <target> | |
| Pass-the-hash | netexec smb -H <hash> |
Typical engagement flow
Tips
- Null sessions are less common in modern Windows but always worth checking — they give free user enumeration.
- Signing disabled + local admin reuse → classic PTH attack path via netexec.
enum4linux -ais noisy but comprehensive — use it after confirming the target is in scope.- Password spraying: use a single password per round with a long delay to avoid account lockout — check lockout policy with
enum4linux -Pfirst. - SMBv1 present → high likelihood of EternalBlue (MS17-010) — escalate to exploitation skill.
HexStrike Tool Reference
| Tool | Use case | |
|---|---|---|
nmap | SMB version + NSE vuln scripts | |
nbtscan | NetBIOS name and domain discovery | |
smbmap | Share enumeration + file listing | |
enum4linux | Full SMB/RPC enumeration (users, groups, policy) | |
netexec | Credential testing, PTH, SAM dump, lateral movement |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstorage/hexstrike-ai-community-edition-master/skills/smb-enum/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/curiouslearnerdev/online_tools-ai/smb-enum)