Linux local privilege-escalation assessment hub — identifies and safely validates sudo/SUID/capability misuse, writable cron/systemd units, PATH and library hijacks, kernel/patch gaps, credential exposure, and container escapes, routing to the specialized Linux skills. Safe-PoC oriented with remediation. Use after linux-discovery on an authorized host.
16 stars
0 votes
0 copies
4 views
Added November 17, 2026
securityshellbackend
Security analysis
B75/100
criticalAccesses sensitive system or user directories
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 Linux Privesc?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-linux-privesc)
---
name: linux-privesc
description: Linux local privilege-escalation assessment hub — identifies and safely validates sudo/SUID/capability misuse, writable cron/systemd units, PATH and library hijacks, kernel/patch gaps, credential exposure, and container escapes, routing to the specialized Linux skills. Safe-PoC oriented with remediation. Use after linux-discovery on an authorized host.
---
# Linux Privilege Escalation (assessment hub)
Find the safest proof that root (or a higher user) is reachable, show impact, and give remediation. Prefer a benign PoC (e.g., read a root-only file, or `id` as root) over deploying real payloads.
## Trigger phrases
`linux privesc, privilege escalation linux, root, gtfobins, suid exploit, sudo abuse, cron privesc`
## Check catalogue → routing
- **sudo misconfig** (NOPASSWD entries, exploitable binaries, `sudo` CVEs like Baron Samedit) → `linux-sudo-suid-capabilities`.
- **SUID/SGID & capabilities** abuse via GTFOBins → `linux-sudo-suid-capabilities`.
- **Writable cron jobs / systemd units / service scripts** run by root → `linux-cron-service-abuse`.
- **PATH hijack / writable library / wildcard injection / LD_PRELOAD** → `linux-file-path-abuse`.
- **Kernel exploit** (version-matched) → `linux-kernel-exploits` (Tier 2 — gated: ask lab/authorized → full, else dry scan).
- **Credentials at rest** (keys, histories, configs, DB creds) → reuse for lateral/escalation.
- **Container escape** → `container-escape`.
## Safe-PoC discipline
- Prove with minimal impact: `id`/`whoami` as root, or read `/etc/shadow` (handle per RoE), then stop.
- Revert anything you change (restore cron/scripts/PATH), and log it.
- Record detection footprint + exact remediation per finding.
## Backend
Enumerate/exploit via the target shell; use Kali/HexStrike/WSL for tooling (linpeas, exploit compilation). See orchestrator for backend preference.
## Verification (background, before reporting)
Re-confirm each path independently (e.g., the SUID abuse actually yields root twice; the cron runs your benign marker) before marking CONFIRMED. Hold back anything not reproduced.
## Evidence
The misconfig, the benign root proof, impact, remediation.