linux-privilege-escalation

Identify and exploit Linux vulnerabilities to escalate privileges to root access.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/utsavthakur/agenticskills --skill linux-privilege-escalation-utsavthakur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linux-privilege-escalation
Source: https://github.com/utsavthakur/agenticskills/tree/main/linux-privilege-escalation
Command: npx skills add https://github.com/utsavthakur/agenticskills --skill linux-privilege-escalation-utsavthakur

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, musl-tools, gcc, clang, tcc, ldd, strace, ltrace, taskset, time, openssl, socat, nc, nmap, curl, wget, tar, base64, mkpasswd, id, getcap, unshare, pspy, LinPEAS, linux-exploit-suggester, GTFOBins, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides expert Linux privilege escalation techniques for gaining root access on a Linux system with low-privilege shell access.

Core Features & Use Cases

  • Privilege Escalation: Techniques for escalating privileges to root, including SUID/SGID binaries, capabilities, cron abuse, kernel exploits, misconfigurations, and credential harvesting.
  • Enumeration: Tools and commands for gathering information about the system and identifying potential vulnerabilities.
  • Exploitation: Methods for exploiting vulnerabilities to gain higher privileges.
  • Use Case: When a penetration tester has obtained low-privilege shell access and needs to escalate privileges to root on a Linux system.

Quick Start

Use the skill to escalate privileges on the current Linux system with low-privilege access.

Frequently Asked Questions about linux-privilege-escalation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I escalate privileges on Linux using SUID binaries and misconfigurations?

Linux privilege escalation from low-privilege to root access exploits SUID/SGID binaries, capabilities, cron abuse, and kernel exploits. You identify vulnerable configurations and execute targeted exploits to gain root.

What is the best way to enumerate a Linux system for privilege escalation vectors?

Linux system enumeration for privilege escalation uses tools like LinPEAS and linux-exploit-suggester to gather system information. This identifies potential vulnerabilities like misconfigurations, SUID binaries, and kernel exploits.

Can I use LinPEAS and pspy to detect cron abuse for privilege escalation?

Yes, LinPEAS and pspy detect cron abuse for Linux privilege escalation by monitoring scheduled tasks and processes. They identify misconfigurations allowing you to inject commands and escalate privileges to root.

How do kernel exploits work for escalating privileges to root on Linux?

Kernel exploits for Linux privilege escalation target kernel vulnerabilities to execute code with root privileges. Tools like linux-exploit-suggester identify applicable kernel vulnerabilities based on your current system enumeration data.

Does privilege escalation require specific compilers like gcc or musl-tools?

Linux privilege escalation often requires compilers like gcc, clang, tcc, and musl-tools to compile kernel exploits or custom scripts. These dependencies are necessary to build and execute exploits directly on the target system.

When should I avoid using kernel exploits during Linux privilege escalation?

Avoid kernel exploits for Linux privilege escalation when system stability is critical, as they can crash the kernel. Instead, target SUID binaries, capabilities, or cron abuse to reliably escalate privileges to root without risking a crash.