Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Chains Priv?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blackfoxxx-chains-priv)
---
name: chains-priv
description: "Privesc chains: Linux/Windows trees, exec primitives, escapes"
---
# chains-priv · Privilege-escalation-and-foothold question-chain (L4 source index)
## When to use
- Just landed a low-priv shell (www-data/normal user): fix the enumeration order (priv-linux, priv-foothold-recon)
- Execution restricted: disable_functions, sandboxes, spawn blocked: choose an execution primitive (priv-exec-primitive, priv-disablefunc)
- Working the Linux/Windows privesc decision trees: prioritize enumerated vectors (priv-linux, priv-windows)
- Target is container/cloud: judge escape and escalation potential (priv-container-cloud)
- Shell unstable or weighing persistence options (priv-persistence)
## Iron rules
- Enumerate through a "low-cost, high-hit" funnel: run the one-command-verdict checks first (id/sudo -l/uname/ss); the file-sifting ones come later (refs/priv-linux.md)
- Order vectors by "determinism × stealth × stability": exhaust configuration privesc (sudo/suid/cron/cap) before kernel exploits (refs/priv-linux.md)
- Grade primitives first: file read < file write < restricted eval < arbitrary code execution < command execution; plan from the level you can actually prove, don't assume the top (refs/priv-exec-primitive.md)
- If spawn is blocked, downgrade the "command execution" obsession to "what effect is needed" (read credentials/lateral connectivity/persistence); language-level primitives cover most needs (refs/priv-exec-primitive.md)
- Blind and out-of-band (OOB) is the most reliable evidence a primitive exists — steadier than timing oracles (refs/priv-exec-primitive.md)
## refs/ file list
- `refs/priv-container-cloud.md` — escape and escalation judgment in container/cloud environments
- `refs/priv-disablefunc.md` — disable_functions/restricted-execution bypasses
- `refs/priv-exec-primitive.md` — choosing execution primitives under command restrictions
- `refs/priv-foothold-recon.md` — the first intranet recon round after landing a foothold
- `refs/priv-linux.md` — the Linux privesc decision tree
- `refs/priv-persistence.md` — persistence vs stability trade-offs
- `refs/priv-windows.md` — the Windows privesc decision tree
## Usage
Use this index to locate the file and the scenario section (`### scenario line`), then Read that file; when answering/deciding, follow the criteria and pivot rules inside. Workers have no Glob/Grep — Read the exact relative paths above directly.