smb-enumeration

smb-enumeration is a skill for Claude Code, Codex from blacklanternsecurity/red-run. It costs 74 tokens per session (3,008 once invoked), scanned A, original, GPL-3.0.

A set of tools for examining SMB network shares. SMB is a Windows file-sharing protocol used to expose folders and files over a network.

In plain words
What is it for?
Listing shares, testing anonymous, guest, or authenticated access, searching shared content, checking SMB signing, and detecting the EternalBlue vulnerability.
Why use it?
It helps identify which shared folders exist, who can access them, what password rules apply, and whether certain SMB security weaknesses are present.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/blacklanternsecurity/red-run/smb-enumeration
Any agent
npx skills add blacklanternsecurity/red-run --skill smb-enumeration
Clone the repo
git clone --depth 1 https://github.com/blacklanternsecurity/red-run

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smb-enumeration

README.md
[![agentmods](https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/smb-enumeration.svg)](https://agentmods.dev/skills/blacklanternsecurity/red-run/smb-enumeration)
Your own site
<a href="https://agentmods.dev/skills/blacklanternsecurity/red-run/smb-enumeration"><img src="https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/smb-enumeration.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.03008
Opus 5 $0.00037 $0.01504
Sonnet 5 $0.00015 $0.00602
Haiku 4.5 $0.00007 $0.00301

Measured 6d ago against content hash e975e2939bbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

smb-enumeration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/network/smb-enumeration/SKILL.md · 306 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 306 lines · 74 tokens per session scan A e975e2939bbe

Subscribe to this mod's changes

smb-enumeration is a skill published in the GitHub repository blacklanternsecurity/red-run (266 stars, last pushed 5mo ago), licensed GPL-3.0. It adds 74 tokens to every session and 3,008 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

performing-smb-enumeration-in-lab

Enumerate SMB shares, users, and sessions on Windows and Linux targets using smbclient and enum4linux within isolated lab environments. Covers null session attacks, share listing, file retrieval, and user enumeration against misconfigured Samba and Windows SMB services.

withcrux/agentHack-skills · 60 tokens

cis-aws-foundations-2.8

Ensure IAM password policy requires minimum length of 14 or greater.

CyberStrikeus/CyberStrike · 22 tokens

cis-aws-foundations-2.9

Ensure IAM password policy prevents password reuse.

CyberStrikeus/CyberStrike · 17 tokens

hunting-for-ntlm-relay-attacks

Use when detect NTLM relay attacks by analyzing Windows Event 4624 logon type 3 with NTLMSSP authentication, identifying IP-to-hostname mismatches, Responder traffic signatures, SMB signing status, and suspicious authentication patterns across the domain. Use when detecting ntlm relay attacks by analyzing windows…

oyi77/1ai-skills · 79 tokens

ntlm-relay-smb-signing-bypass

Execute advanced Man-in-the-Middle (MITM) NTLM Relay attacks specifically targeting environments where SMB Signing is purportedly enabled but improperly configured (e.g., exclusively required on Domain Controllers but NOT enforced universally on standard Workstations or File Servers). Utilize powerful tools like…

akashrpatil/awesome-offensive-security-skills · 124 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens