Linux Privilege Escalation

Enumerate Linux system configurations and exploit vulnerabilities to escalate privileges.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill linux-privilege-escalation-andyanh174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Linux Privilege Escalation
Source: https://github.com/AndyAnh174/BanThuoc-SEO/tree/main/.agent/skills/linux-privilege-escalation
Command: npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill linux-privilege-escalation-andyanh174

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users gain root-level control over Linux systems by identifying and exploiting vulnerabilities and misconfigurations.

Core Features & Use Cases

  • System Enumeration: Gathers detailed information about the Linux system, including kernel version, user privileges, network configuration, and running processes.
  • Exploitation Techniques: Provides methods to exploit kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS shares.
  • Use Case: If you have low-privilege access to a Linux server and need to achieve administrative control, this skill guides you through the process of finding and leveraging weaknesses to become root.

Quick Start

Use the Linux Privilege Escalation skill to enumerate the system for potential privilege escalation vectors.

Frequently Asked Questions about Linux Privilege Escalation

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

FAQPage Schema
How do I gain root access on Linux after getting a low-privilege shell?

To gain root access on Linux from a low-privilege shell, you enumerate system configurations to find vulnerabilities and misconfigurations. This skill automates identifying exploitable kernel flaws, sudo misconfigurations, and SUID binaries to elevate privileges.

What Linux privilege escalation techniques work against sudo misconfigurations?

Privilege escalation against sudo misconfigurations involves exploiting incorrectly set user privileges to run commands as root. This skill automates detecting these flaws alongside SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS exploitation.

How do I enumerate a Linux system for privilege escalation vectors?

Enumerating a Linux system for privilege escalation vectors involves gathering kernel versions, user privileges, network configurations, and running processes. This skill automates this information gathering to pinpoint exploitable weaknesses.

Can I exploit SUID binaries and cron jobs to achieve Linux privilege escalation?

Yes, you can exploit SUID binaries and cron jobs to achieve Linux privilege escalation. This skill guides you through leveraging these specific misconfigurations, along with capabilities and PATH hijacking, to gain root-level control.

What do I need to start enumerating Linux systems for root access vulnerabilities?

To start enumerating Linux systems for root access vulnerabilities, you need low-privilege shell access and an understanding of Linux system internals. This prerequisite allows the skill to effectively identify and exploit system weaknesses.

Does Linux privilege escalation work by exploiting kernel vulnerabilities and NFS shares?

Linux privilege escalation works by exploiting kernel vulnerabilities and NFS shares to elevate user permissions. This skill covers these methods comprehensively, automating the detection and exploitation of these specific system weaknesses.