Skip to content
Back to skills

Linux Privesc

BSecurity

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

Pro shows the line behind each finding and how to fix it

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill linux-privesc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Linux Privesc?

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

Security grade badge for Linux Privesc
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-linux-privesc/badge)](https://www.skillsdirectory.com/skills/anandjogawade-linux-privesc)

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: 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.

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.