davila7 avatar

Linux Privilege Escalation

This is a systematic privilege escalation framework for security testing on Linux systems. You start with low-privilege shell access and work through enumeration and exploitation of kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS weaknesses. The skill assumes you have basic Linux knowledge and can compile exploits with gcc when needed. It failed Gen Agent Trust Hub and Snyk audits, which makes sense given it's literally designed to exploit security weaknesses. Use this for authorized penetration testing and CTFs, not production systems you don't have explicit permission to test. The systematic approach means you're less likely to miss common escalation vectors.

GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill 'Linux Privilege Escalation' --agent claude-code

Installs into .claude/skills of the current project.

Files

Linux Privilege Escalation

Purpose

Execute systematic privilege escalation assessments on Linux systems to identify and exploit misconfigurations, vulnerable services, and security weaknesses that allow elevation from low-privilege user access to root-level control. This skill enables comprehensive enumeration and exploitation of kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS weaknesses.

Inputs / Prerequisites

Required Access

  • Low-privilege shell access to target Linux system
  • Ability to execute commands (interactive or semi-interactive shell)
  • Network access for reverse shell connections (if needed)
  • Attacker machine for payload hosting and receiving shells

Technical Requirements

  • Understanding of Linux filesystem permissions and ownership
  • Familiarity with common Linux utilities and scripting
  • Knowledge of kernel versions and associated vulnerabilities
  • Basic understanding of compilation (gcc) for custom exploits

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1davila7 avatarPDF Processing Prodavila7/claude-code-templatesProduction-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environment0skills.sh installs
2davila7 avatarplugin-structuredavila7/claude-code-templatesThis skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plu0skills.sh installs
3dotnet avatarexp-test-maintainabilitydotnet/skillsDetects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites. Use when the user asks to reduce repetition, con0skills.sh installs
4dtsola avatarexcalidrawdtsola/xiaoyaosearchTurns Excalidraw diagrams into actual exports without opening the browser UI.0skills.sh installs
5electron avatarelectron-chromium-upgradeelectron/electronGuide for performing Chromium version upgrades in the Electron project. Use when working on the roller/chromium/main branch to fix patch conflicts during `e syn0skills.sh installs
6ganyuanran avatarsubagent-driven-developmentganyuanran/aegisThis is a structured workflow for executing implementation plans by dispatching a fresh subagent per task, then running two mandatory...0skills.sh installs