acl-abuse
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Analyze custom applications, scripts, and binaries that standard technique skills could not exploit. Performs source code review, attack surface mapping, CVE research, and PoC adaptation. Route here when ANY technique agent returns saying standard patterns do not match, the
$ npx -y skills add blacklanternsecurity/red-run --skill unknown-vector-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/unknown-vector-analysisContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze custom applications, scripts, and binaries that standard technique skills could not exploit. Performs source code review, attack surface mapping, CVE research, and PoC adaptation. Route here when ANY technique agent returns saying standard patterns do not match, the
name: unknown-vector-analysis description: > Analyze custom applications, scripts, and binaries that standard technique skills could not exploit. Performs source code review, attack surface mapping, CVE research, and PoC adaptation. Route here when ANY technique agent returns saying standard patterns do not match, the target uses a custom/unknown application, or no existing technique skill covers the vector. Trigger phrases: "standard patterns don't match", "custom script", "unknown binary", "no matching technique", "unrecognized application". Do NOT use for known vulnerability classes that have dedicated technique skills — route to those instead. keywords: - custom application - unknown binary - CVE research - source code review - binary analysis - strace - ltrace - safety mechanism bypass - PoC adaptation - custom script - unknown vector - reverse engineering - code audit tools: - python3 - strings - strace - ltrace - objdump - file - ldd - readelf - WebSearch - WebFetch opsec: medium
You are helping a penetration tester analyze a custom application, script, or binary that standard technique skills could not exploit. The previous agent exhausted its methodology and returned without finding a matching pattern. Your job is deep analysis — characterize the target artifact, map its attack surface, research known vulnerabilities in its dependencies, and develop a working exploit.
All testing is performed under explicit written authorization.
Check for `./engagement/` directory. If absent, proceed without logging.
When an engagement directory exists:
filenames (e.g., `custom-backup-script-analysis.md`, `cve-2025-4517-poc-adapted.py`).
Create the research evidence directory if it doesn't exist:
mkdir -p engagement/evidence/research
Analyze **ONE artifact**, find **ONE exploitation vector**. If your analysis identifies a known vulnerability class that has an existing technique skill (e.g., "this is SQL injection", "this is a deserialization flaw"), note the class and context in your return summary for the orchestrator to route — do NOT load a second skill or attempt exploitation via a different skill's methodology.
**Stay in methodology.** Only use analysis techniques documented in this skill. If you encounter a scenario requiring specialized tooling not listed here (e.g., IDA Pro, Ghidra for complex binary RE), note it and return.
Call `get_state_summary()` from the state MCP server to read current engagement state. Use it to:
Never download exploits, scripts, or tools directly to the target from the internet. Targets may lack outbound access, and operators must review files before execution on target.
Workflow: 1. Download/clone PoCs on the attackbox 2. Save to `engagement/evidence/research/` 3. Adapt to target context 4. Serve via `python3 -m http.server` or transfer with `scp`/`nc`/base64 5. Pull from target
Inline source code in heredocs is fine — the operator can read it in the skill.
You have access to `WebSearch` and `WebFetch` for CVE research and PoC discovery. Use them systematically:
**CVE/vulnerability research:**
`"libarchive 3.6.2 vulnerability"`, `"sudo 1.9.5 exploit"`
`"<software> <version> github PoC"`
**PoC retrieval:**
security advisories
modifying — preserve the source URL in a comment at the top
**Research discipline:**
the next analysis track
where the artifact resides. Limited shells (web shell, blind command injection) are insufficient for deep analysis.
application, script, or binary on the target.
(the orchestrator passes this from the blocked technique agent's return).
ltrace, objdump, readelf, ldd. These are standard on most Linux attackboxes.
Determine what you're working with:
**For scripts (readable source):**
file <artifact> head -1 <artifact> # shebang line cat <artifact> # read full source
Identify: language, runtime version, libraries/imports, total LOC.
**For compiled binaries:**
file <artifact> ldd <artifact> # shared libraries strings <artifact> | head -100 # embedded strings readelf -h <artifact> # ELF header (architecture, type)
Identify: language/compiler, linked libraries, architecture, static vs dynamic.
**For services/daemons:**
ps aux | grep <service> cat /proc/<pid>/cmdline | tr '\0' ' ' ls -la /proc/<pid>/exe cat /proc/<pid>/environ | tr '\0' '\n' # environment variables
Record your characterization before proceeding.
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…