Fla Ascend Performance
fla-org/flash-linear-attention
Guidelines for Ascend NPU kernel / Triton-Ascend backend performance work in the FLA repo.
SMB share enumeration, access testing, password policy extraction, and content searching.
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install blacklanternsecurity/red-run smb-enumeration --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/network/smb-enumeration .claude/skills/smb-enumeration && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .claude/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumerationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install blacklanternsecurity/red-run smb-enumeration --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/network/smb-enumeration .agents/skills/smb-enumeration && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .agents/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install blacklanternsecurity/red-run smb-enumeration --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/network/smb-enumeration .cursor/skills/smb-enumeration && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .cursor/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/blacklanternsecurity/red-run.git --path skills/network/smb-enumeration--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install blacklanternsecurity/red-run smb-enumeration --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/network/smb-enumeration .gemini/skills/smb-enumeration && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .gemini/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install blacklanternsecurity/red-run smb-enumerationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/network/smb-enumeration .github/skills/smb-enumeration && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .github/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install blacklanternsecurity/red-run smb-enumeration --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/blacklanternsecurity/red-run.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/network/smb-enumeration .opencode/skills/smb-enumeration && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "smb-enumeration" agent skill from https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/smb-enumeration into .opencode/skills/smb-enumeration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smb-enumeration", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
smb-enumerationSMB share enumeration, access testing, password policy extraction, and content searching.
Smb Enumeration is an agent skill from blacklanternsecurity/red-run. SMB share enumeration, access testing, password policy extraction, and content searching. Enumerates shares via null session, guest, and authenticated access. Covers share listing, per-share access testing, MANSPIDER content search, and SMB vulnerability detection (signing, EternalBlue). Use after network-recon identifies SMB ports (139/445).
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security. The repository describes itself as: Offensive security toolkit for Claude Code. The licence is GPL-3.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 050ac1f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Smb Enumeration loads about 3k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 1,089 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from blacklanternsecurity/red-run at commit 050ac1f, republished under its GPL-3.0 licence (© blacklanternsecurity). 1,089 words, ~3,017 tokens.
.claude/skills/smb-enumeration/SKILL.md (or your agent's skills folder).You are helping a penetration tester enumerate SMB services on a target host. All testing is under explicit written authorization.
Check for ./engagement/ directory. If absent, proceed without logging.
When an engagement directory exists:
[smb-enumeration] Activated → <target> to the screen on activation.engagement/evidence/ with
descriptive filenames (e.g., smb-shares-10.10.10.5.txt,
smb-manspider-results.txt).This skill covers SMB enumeration only — share listing, access testing, content searching, and vulnerability detection. When you reach the boundary of this scope, STOP.
Do not load or execute another skill. Return to the orchestrator with:
Routing boundaries:
Stay in methodology. Only use techniques documented in this skill.
These are handled by dedicated skills. This skill discovers and reports.
Call get_state_summary() to read current engagement state. Use it to:
State writes — write critical discoveries immediately:
add_vuln(title="SMB signing disabled on <host>", host="<host>", vuln_type="smb-signing", severity="medium")add_vuln(title="SMB null/guest access on <host>", host="<host>", vuln_type="null-session", severity="medium")add_vuln(title="MS17-010 EternalBlue on <host>", host="<host>", vuln_type="rce", severity="critical")add_pivot(source="SMB on <host>", destination="<domain>/<hostname>", method="SMB OS discovery")add_credential(username="<user>", secret="<password>", secret_type="password", source="SMB share file <path>")Return summary must include:
Run ALL of the following tools in sequence — not just one. SMB tools use
different RPC calls and authentication methods under the hood. A failure or
partial result from one tool does NOT mean the others will also fail. NetExec
might return STATUS_USER_SESSION_DELETED while smbclient -L succeeds, or
vice versa. You must try every tool before concluding that SMB enumeration
has failed.
# Tool 1: smbclient null session share listing
smbclient -N -L //TARGET_IP/
# Tool 2: NetExec null session + guest
netexec smb TARGET_IP -u '' -p '' --shares
netexec smb TARGET_IP -u 'guest' -p '' --shares
# Tool 3: enum4linux-ng comprehensive enumeration
enum4linux-ng -A TARGET_IPCollect all unique share names from ALL tools. A share discovered by any tool counts — even if other tools failed to list it.
netexec smb TARGET_IP -u '' -p '' --pass-pol
netexec smb TARGET_IP -u 'guest' -p '' --pass-polIf either succeeds, record the full policy. The orchestrator needs this before routing to password-spraying. Key values: lockout threshold (0 = no lockout — critical for spray decisions), observation window, lockout duration, min password length, complexity requirements.
nmap -sV -p445 --script smb-enum-shares,smb-enum-users,smb-os-discovery,smb-vuln* TARGET_IPCheck results for: SMB signing status, OS version, EternalBlue (ms17-010), SMBGhost (CVE-2020-0796), user accounts enumerated.
This step is NOT optional. Test every share individually with smbclient.
Access denied on one share tells you NOTHING about other shares — Windows ACLs
are per-share. Skipping a share is a methodology failure.
For EVERY share discovered in Steps 1 and 3 (from ANY tool), run:
smbclient //TARGET_IP/SHARENAME -N -c 'ls' 2>&1If ls succeeds (shows files/directories), the share is readable. Follow up:
# Recursive listing of accessible share
smbclient //TARGET_IP/SHARENAME -N -c 'recurse ON; prompt OFF; ls'
# Download interesting files (configs, scripts, credentials, backups)
smbclient //TARGET_IP/SHARENAME -N -c 'recurse ON; prompt OFF; mget *'For every readable share, test write access with an actual file upload.
Share-level ACLs (what nxc --shares reports) can differ from NTFS filesystem
ACLs. The only reliable way to determine write access is to attempt a write.
# Test write — lcd avoids smbclient path resolution issues
smbclient //TARGET_IP/SHARENAME -N -c 'lcd /tmp; put /etc/hostname .write-test'
# Clean up on success
smbclient //TARGET_IP/SHARENAME -N -c 'del .write-test'If the smbclient write fails but nxc --shares reported WRITE for this share,
retry with a second tool before concluding read-only. Different SMB clients use
different dialect negotiation and session handling — one tool failing does not
mean writes are blocked:
# Fallback write test with impacket
impacket-smbclient -no-pass TARGET_IP
# At prompt: use SHARENAME, then: put /etc/hostname .write-test
# Clean up: del .write-testMark the share as WRITE only after a successful file upload. Mark as READ only after two tools fail to write.
Per-share results table (mandatory in return summary). Every share must have a row. No share may be listed as "not tested".
| Share | Access | Method | Contents/Notes |
|-------|--------|--------|----------------|
| ADMIN$ | DENIED | smbclient -N | NT_STATUS_ACCESS_DENIED |
| C$ | DENIED | smbclient -N | NT_STATUS_ACCESS_DENIED |
| Development | READ | smbclient -N, write failed (2 tools) | Automation/ directory found |
| Shared | WRITE | smbclient -N | Empty, write confirmed via put |
| IPC$ | LIMITED | smbclient -N | IPC only, no file listing |
| NETLOGON | READ | smbclient -N, write failed (2 tools) | Empty or standard scripts |
| SYSVOL | READ | smbclient -N, write failed (2 tools) | Policies, scripts |Rules:
READ, WRITE, DENIED, LIMITED, ERRORNT_STATUS_ACCESS_DENIED
(or similar error) from testing THAT SPECIFIC sharesmbclient hangs or times out on a share, report as ERROR with detailsOnly if ALL listing tools in Step 1 failed. Some Windows configurations block null-session share listing but allow null-session access to individual shares:
for share in ADMIN$ C$ IPC$ SYSVOL NETLOGON Development Users Backups Public Data IT HR Finance Software Shared Docs; do
echo "--- $share ---"
smbclient //TARGET_IP/"$share" -N -c 'ls' 2>&1 | head -20
doneAfter identifying accessible shares, search file contents for credentials and sensitive data. MANSPIDER crawls SMB shares and greps file contents (including Office docs, PDFs, and archives) without downloading everything.
Only run after the share access table is complete — needs at least one readable share. If all shares returned DENIED, skip this step.
# Keyword search for passwords and credentials
manspider TARGET_IP -c password passwd cred secret
manspider TARGET_IP -c connectionstring server= uid= pwd=
# Regex search for credential patterns
manspider TARGET_IP -e '(password|passwd|pwd)\s*[=:]\s*\S+'
# Limit to specific file types
manspider TARGET_IP -e 'password' -f xml conf config ini txt ps1 bat vbsIf the orchestrator passes credentials, repeat Steps 1, 4 (including write verification), and 6 with creds.
Shell-special characters in passwords (!, @, $, *, backticks):
store the password in a file and reference it to avoid shell expansion issues.
# Store password safely (do this first if password contains special chars)
echo -n 'PASSWORD' > /tmp/claude-1000/pass.txt
# Share listing
netexec smb TARGET_IP -u 'USERNAME' -p "$(cat /tmp/claude-1000/pass.txt)" -d DOMAIN --shares
# Per-share read + write testing (lcd before put — see Step 4)
smbclient //TARGET_IP/SHARENAME -U 'DOMAIN/USERNAME%PASSWORD' -c 'ls' 2>&1
smbclient //TARGET_IP/SHARENAME -U 'DOMAIN/USERNAME%PASSWORD' -c 'lcd /tmp; put /etc/hostname .write-test; del .write-test'
# Content search
manspider TARGET_IP -u 'USERNAME' -p 'PASSWORD' -d DOMAIN -c password secretUpdate the per-share access table with authenticated results. Follow the same write verification rules as Step 4 — test every readable share for write access, retry with a second tool on discrepancies.
After completing enumeration:
Add -t 10 for a 10-second timeout. Verify port 445 is open with nmap.
Target rejecting null sessions. Try guest: -U 'guest%'. If guest also fails, enumeration requires credentials.
Fall back to enum4linux (Perl version) or rely on smbclient + NetExec. Do not install — report missing.
Common and does NOT mean SMB is inaccessible. Continue with smbclient and enum4linux-ng.
Permission errors on ADMIN$/C$ are expected. Verify it crawled readable shares from Step 4.
© blacklanternsecurity, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/network/smb-enumeration of blacklanternsecurity/red-run.
Open the folder on GitHubat commit 050ac1f
Smb Enumeration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Smb Enumeration this skillblacklanternsecurity/red-run | 287 | — | ~3k | Automated safety check: Pass | GPL-3.0 | |
| Fla Ascend Performancefla-org/flash-linear-attention | 5.8k | — | ~6.3k | Automated safety check: Pass | MIT | |
| Deepsec Documentation Guidevercel-labs/deepsec | 8.1k | — | ~956 | Automated safety check: Pass | Apache-2.0 | |
| Skill Scannergetsentry/skills | 1k | 4 repos | ~2.5k | Automated safety check: Warn | Apache-2.0 | |
| Serenity Aleabitoreddityan-labs/serenity-aleabitoreddit | 480 | 1 repos | ~3.3k | Automated safety check: Pass | None | |
| Security Alert Triageelastic/agent-skills | 592 | 1 repos | ~3.5k | Automated safety check: Notes | Apache-2.0 |
fla-org/flash-linear-attention
Guidelines for Ascend NPU kernel / Triton-Ascend backend performance work in the FLA repo.
vercel-labs/deepsec
Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.
getsentry/skills
Scan agent skills for security issues. An agent skill from getsentry/skills.
yan-labs/serenity-aleabitoreddit
Apply trader Serenity's (@aleabitoreddit) AI/semiconductor supply-chain analytical lens to US-stock ideas and market judgment.
elastic/agent-skills
Triage Elastic Security alerts — gather context, classify threats, create cases, and acknowledge.
SummerSec/ShiroAttack2
当用户要求利用、检测或测试 Apache Shiro rememberMe 反序列化漏洞 (Shiro-550, CVE-2016-4437) 时使用。触发词包括 "Shiro"、"rememberMe"、"shiro attack"、"CVE-2016-4437"、"Shiro-550"、"爆破 Shiro key"、"利用 Shiro"、"Shiro…
blacklanternsecurity/red-run
Security-focused source code review. An agent skill from blacklanternsecurity/red-run.
blacklanternsecurity/red-run
Enumeration of infrastructure services: DNS, SMTP, SNMP, IPMI, NFS, TFTP, RPC/MSRPC, and HTTP/HTTPS surface detection.
blacklanternsecurity/red-run
Extracts and cracks Kerberos service tickets (Kerberoasting) and AS-REP hashes (AS-REP Roasting) for offline password recovery.
blacklanternsecurity/red-run
Enumerates Active Directory trust relationships and exploits them for cross-domain and cross-forest privilege escalation.
blacklanternsecurity/red-run
Bypass antivirus and EDR detection for payload delivery during exploitation.
Categories
SMB share enumeration, access testing, password policy extraction, and content searching. Smb Enumeration is an agent skill from blacklanternsecurity/red-run. SMB share enumeration, access testing, password policy extraction, and content searching.
Smb Enumeration fits situations like: security work in your project.
Run `npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a claude-code`. Or copy the skill folder (skills/network/smb-enumeration in blacklanternsecurity/red-run) into .claude/skills/smb-enumeration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a codex`. Or copy the skill folder (skills/network/smb-enumeration in blacklanternsecurity/red-run) into .agents/skills/smb-enumeration in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add blacklanternsecurity/red-run --skill smb-enumeration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smb-enumeration, .gemini/skills/smb-enumeration, .github/skills/smb-enumeration and .opencode/skills/smb-enumeration in your project.
SKILL.md names no scripts, command-line tools or credentials: Smb Enumeration is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Smb Enumeration is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Smb Enumeration: Fla Ascend Performance (fla-org/flash-linear-attention, 5.8k stars), Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Skill Scanner (getsentry/skills, 1k stars) and Serenity Aleabitoreddit (yan-labs/serenity-aleabitoreddit, 480 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
blacklanternsecurity (a GitHub organization) maintains it in blacklanternsecurity/red-run, which has 287 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 28, 2026.
Source: blacklanternsecurity/red-run on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.