Skip to content
Back to skills

Chains Priv

ASecurity

Privesc chains: Linux/Windows trees, exec primitives, escapes

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
securityshell

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add blackfoxxx/kestrel --skill chains-priv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chains Priv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chains Priv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/blackfoxxx-chains-priv/badge)](https://www.skillsdirectory.com/skills/blackfoxxx-chains-priv)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md2.4 KB
  • refs/priv-container-cloud.md65.3 KB
  • refs/priv-disablefunc.md71.5 KB
  • refs/priv-exec-primitive.md70.4 KB
  • refs/priv-foothold-recon.md69.2 KB
  • refs/priv-linux.md80 KB
  • refs/priv-persistence.md60.6 KB
  • refs/priv-windows.md47.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.