offensive-linux-privesc
57 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a security skill usually runs scanners and checks websites.
Comprehensive Linux privilege escalation methodology for offensive security engagements. Covers the full attack surface from a low-privilege shell to root: SUID/SGID binary abuse via GTFOBins, Linux capabilities exploitation (cap_setuid, cap_dac_override, cap_dac_read_search), sudo misconfigurations including NOPASSWD rules and Baron Samedit (CVE-2021-3156), cron job abuse through writable scripts, PATH hijacking, and wildcard injection with tar/rsync/chown. Includes writable /etc/passwd attack…
What this skill can do
Downloads and installs other software
Sends data to these websites: github.com, raw.githubusercontent.com
Runs commands on your computer
Changes files outside its own folder
Reads your saved credentials, such as SSH keys or .env files
Safer alternatives
- 90 Low risklinux-privilege-escalation
- 97 Low riskaws-pacu-privesc
- 85 Low riskanalyzing-linux-audit-logs-for-intrusion
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'offensive-linux-privesc' ] || [ -L ~/.agents/skills/'offensive-linux-privesc' ]; then echo 'A skill folder named offensive-linux-privesc already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/SnailSploit/Claude-Red' "$d" && git -C "$d" checkout --quiet 'a8de813edc9f66f60d44cfe42d47750e89d9930b' -- 'Skills/privesc/offensive-linux-privesc' && mkdir -p ~/.agents/skills && cp -R "$d"/'Skills/privesc/offensive-linux-privesc' ~/.agents/skills/'offensive-linux-privesc' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'offensive-linux-privesc' ~/.claude/skills/'offensive-linux-privesc' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/SnailSploit/Claude-Red/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | a8de813 | 57 |
| 2026-11-07 | a8de813 | 57 |