acl-abuse
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Enumeration of infrastructure services: DNS, SMTP, SNMP, IPMI, NFS, TFTP, RPC/MSRPC, and HTTP/HTTPS surface detection. Checks zone transfers, open relays, default community strings, cipher zero, NFS exports, and web technology fingerprinting. Use after network-recon identifies
$ npx -y skills add blacklanternsecurity/red-run --skill infrastructure-enumeration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/infrastructure-enumerationContext preview
The summary Claude sees to decide when to auto-load this skill.
Enumeration of infrastructure services: DNS, SMTP, SNMP, IPMI, NFS, TFTP, RPC/MSRPC, and HTTP/HTTPS surface detection. Checks zone transfers, open relays, default community strings, cipher zero, NFS exports, and web technology fingerprinting. Use after network-recon identifies
name: infrastructure-enumeration description: > Enumeration of infrastructure services: DNS, SMTP, SNMP, IPMI, NFS, TFTP, RPC/MSRPC, and HTTP/HTTPS surface detection. Checks zone transfers, open relays, default community strings, cipher zero, NFS exports, and web technology fingerprinting. Use after network-recon identifies infrastructure ports. keywords: - DNS zone transfer - SMTP relay - SNMP community string - IPMI cipher zero - NFS no_root_squash - TFTP - RPC null session - HTTP tech detect - snmpwalk - onesixtyone - showmount tools: - nmap - snmpwalk - onesixtyone - dnsrecon - smtp-user-enum - httpx opsec: medium
You are helping a penetration tester enumerate infrastructure services on discovered hosts. All testing is under explicit written authorization.
Check for `./engagement/` directory. If absent, proceed without logging. When present:
(e.g., `dns-zone-transfer-10.10.10.5.txt`, `snmp-walk-10.10.10.20.txt`).
This skill covers **infrastructure service enumeration only** — misconfigs, default credentials, and info disclosure on non-web, non-AD services, plus surface-level HTTP/HTTPS tech detection.
**Out of scope — route instead:**
Do not load or execute another skill. Stay in methodology.
Call `get_state_summary()` to read current engagement state. Use it to:
**State writes** — write critical discoveries immediately:
Report all findings in your return summary.
**Only run sections for ports that are actually open.** Skip sections entirely if the relevant ports are not open — do not scan for ports yourself.
nmap -sV -p53 --script dns-zone-transfer,dns-cache-snoop,dns-nsid TARGET_IP # Zone transfer (requires domain name — check state or reverse DNS) dig axfr @TARGET_IP target.com host -l target.com TARGET_IP # Reverse DNS sweep (discover hostnames on the subnet) dnsrecon -r 10.10.10.0/24 -n TARGET_IP # Subdomain brute force dnsenum --dnsserver TARGET_IP --enum target.com \ -f /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
**Quick wins:** Zone transfer (full DNS dump), wildcard records, internal hostnames revealing naming conventions and services.
nmap -sV -p25,465,587 --script smtp-commands,smtp-enum-users,smtp-open-relay,smtp-vuln* TARGET_IP # User enumeration via VRFY/RCPT/EXPN smtp-user-enum -M VRFY -U users.txt -t TARGET_IP smtp-user-enum -M RCPT -U users.txt -t TARGET_IP smtp-user-enum -M EXPN -U users.txt -t TARGET_IP
**Quick wins:** Open relay (send mail as anyone), user enumeration (valid accounts), NTLM auth info leak (`MAIL FROM:<> AUTH NTLM` reveals internal hostname/domain).
# Linux RPC (port 111) rpcinfo -p TARGET_IP showmount -e TARGET_IP # NFS preview # Windows MSRPC (port 135) rpcclient -U "" -N TARGET_IP rpcclient -U "" -N TARGET_IP -c "enumdomusers;enumdomgroups;getdompwinfo" rpcdump.py TARGET_IP | grep -E "Protocol|Provider"
**Quick wins:** Null session user enumeration, NFS shares via rpcinfo, MSRPC endpoint map revealing internal services.
# rootDSE query (always allowed per RFC) ldapsearch -x -H ldap://TARGET_IP -b "" -s base namingContexts # Anonymous directory read ldapsearch -x -H ldap://TARGET_IP -b "DC=domain,DC=local" \ "(objectClass=user)" sAMAccountName description memberOf nmap -sV -p389,636,3268 --script ldap-rootdse,ldap-search TARGET_IP
**Quick wins:** Anonymous bind, password in description, rootDSE domain disclosure, LDAP signing not required.
→ STOP and return with: what was achieved, new findings, context for next steps. domain name from rootDSE, anonymous bind results.
DO NOT enumerate. Kerberos enumeration and ticket requests belong to AD skills.
→ STOP and return with: what was achieved, new findings, context for next steps. domain name, any credentials found.
# HTTP enumeration nmap -sV -p80,443,8080,8443 \ --scrip
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…