acl-abuse
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Network reconnaissance, host discovery, port scanning, and OS fingerprinting. Produces a port/service map that the orchestrator uses to route to service-specific enumeration skills.
$ npx -y skills add blacklanternsecurity/red-run --skill network-recon --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/network-reconContext preview
The summary Claude sees to decide when to auto-load this skill.
Network reconnaissance, host discovery, port scanning, and OS fingerprinting. Produces a port/service map that the orchestrator uses to route to service-specific enumeration skills.
name: network-recon description: > Network reconnaissance, host discovery, port scanning, and OS fingerprinting. Produces a port/service map that the orchestrator uses to route to service-specific enumeration skills. keywords: - scan this network - nmap - port scan - host discovery - recon this target - what's running on this host - network scan - find open ports - scan this IP - scan this subnet - scan through tunnel - pivot scan - proxychains nmap - internal network recon tools: - nmap opsec: medium
You are helping a penetration tester perform network reconnaissance and service enumeration. All testing is under explicit written authorization.
Check for `./engagement/` directory. If absent, proceed without logging.
When an engagement directory exists:
descriptive filenames (e.g., `sqli-users-dump.txt`, `ssrf-aws-creds.json`).
This skill covers network reconnaissance — host discovery, port scanning, OS fingerprinting, and output parsing. It produces a port/service map; the orchestrator routes to service-specific enumeration skills for deeper checks.
Do not load or execute another skill. Do not continue past your scope boundary. Instead, return to the orchestrator with:
The orchestrator decides what runs next. Your job is to scan thoroughly and return a clean port/service map.
**Stay in methodology.** Only use techniques documented in this skill. If you encounter a scenario not covered here, note it and return — do not improvise attacks, write custom exploit code, or apply techniques from other domains. The orchestrator will provide specific guidance or route to a different skill.
You MUST NOT:
the orchestrator routes to **smb-enumeration**, **database-enumeration**, **remote-access-enumeration**, or **infrastructure-enumeration**
Call `get_state_summary()` from the state MCP server to read current engagement state. Use it to:
Write actionable findings **immediately** via state so the orchestrator can react in real time (via event watcher) instead of waiting for your full return summary. Use these tools as you discover findings:
Your return summary must include:
(type, local endpoint, requires_proxychains, proxychains config path)
Claude Code cannot execute `sudo` commands directly. Nmap requires root for SYN scans, UDP scans, OS detection, and most NSE scripts. How nmap runs depends on whether the nmap MCP server is available.
When running as a subagent with nmap MCP access, use the `nmap_scan` tool directly — no sudo handoff needed. The MCP server runs `sudo nmap` in a subprocess and returns parsed JSON.
nmap_scan(target="10.10.10.5", options="-A -p- -T4")
tools until `nmap_scan` completes and you've parsed the results.
When running inline without nmap MCP access, hand off to the user for manual execution. This applies to:
**Handoff protocol:**
1. Present the full command including `sudo` to the user 2. Specify the output file path (ensure commands include `-oA`, `-oG`, or `-oL` flags) 3. Ask the user to run it in their terminal 4. Read the output file when the user confirms completion 5. Continue analysis based on the parsed output
**nmap always requires either MCP or the handoff protocol.** Do not run nmap directly from Bash — not even non-privileged scan types like `-sT` or `-sV`. Unprivileged nmap produces unreliable results (connect scans miss filtered ports, no OS detection, no raw-socket NSE scripts).
**After starting an nmap scan (via MCP or handoff), STOP. Do nothing else until scan results are available.** No httpx, no curl, no netexec, no nuclei, no "quick triage" — nothing touch
Security assessment toolkit for Claude Code. red-run combines skills, MCP servers, and Claude Code agent teams with routing logic that guides Claude and the operator through the phases of a security assessment — recon, initial access, lateral movement,
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Enumerates Active Directory domains and maps attack surface for penetration testing.
Establishes persistent access in Active Directory environments after domain compromise. Covers DCShadow (rogue DC attribute modification), Skeleton Key (LSASS…
Exploits ADCS through ACL abuse on templates/CA objects and NTLM relay to enrollment endpoints. Covers ESC4 (template ACL → modify to ESC1), ESC5 (PKI object…
Establishes persistence and exploits weak certificate mapping in AD CS. Covers ESC9 (no security extension), ESC10 (weak certificate mapping), ESC12-15…
Exploits misconfigured AD CS certificate templates to impersonate any domain user via SAN manipulation or enrollment agent abuse. Covers ESC1 (enrollee…