Performing privilege escalation on linux

From lza6/Armor-piercing-system-prompts · View interactive version

Performing privilege escalation on linux is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Guides manual enumeration and automated tooling to escalate from a low-privilege Linux user to root by exploiting misconfigurations, vulnerable services, kernel exploits, and weak permissions, mapped to MITRE ATT&CK. Use during authorized red team engagements or penetration tests once initial low-pr

How to use this skill

Skill file

Performing Privilege Escalation on Linux

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Overview

Linux privilege escalation involves elevating from a low-privilege user account to root access on a compromised system. Red teams exploit misconfigurations, vulnerable services, kernel exploits, and weak permissions to achieve root. This skill covers both manual enumeration techniques and automated tools for identifying and exploiting privilege escalation vectors.

When to Use

Prerequisites

MITRE ATT&CK Mapping

Key Escalation Vectors

SUID/SGID Binaries

Sudo Misconfigurations

Kernel Exploits

Cron Job Abuse

Capabilities

Writable Service Files

Tools and Resources

| Tool | Purpose |

|------|---------|

| LinPEAS | Automated privilege escalation enumeration |

| LinEnum | Linux enumeration script |

| linux-exploit-suggester | Kernel exploit matching |

| pspy | Process monitoring without root |

| GTFOBins | SUID/sudo binary exploitation reference |

| PEASS-ng | Privilege escalation awesome scripts suite |

Validation Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.