linpeas

Automate privilege escalation vector enumeration on Linux and macOS systems.

15|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/AeonDave/malskill --skill linpeas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linpeas
Source: https://github.com/AeonDave/malskill/tree/main/offensive-tools/privilege-escalation/linpeas
Command: npx skills add https://github.com/AeonDave/malskill --skill linpeas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the enumeration of privilege escalation vectors on Linux and macOS systems, helping security professionals quickly identify potential attack paths.

Core Features & Use Cases

  • Comprehensive Enumeration: Scans for SUID binaries, writable paths, weak service configurations, cron jobs, sudo rules, and kernel CVE indicators.
  • Low-Privilege Execution: Designed to be run by a non-root user, making it safe for post-exploitation scenarios.
  • Use Case: After gaining initial access to a Linux server, run LinPEAS to discover how to escalate privileges to root.

Quick Start

Download and run the linpeas script directly on the target Linux or macOS system.

Frequently Asked Questions about linpeas

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

FAQPage Schema
How do I automate Linux privilege escalation discovery after gaining initial access?

Automate Linux privilege escalation discovery by running a script that scans for SUID binaries, writable paths, weak service configurations, cron jobs, sudo rules, and kernel CVE indicators. It identifies potential attack paths from a low-privilege user context.

What is the best way to enumerate post-exploitation vectors on macOS?

The best way to enumerate post-exploitation vectors on macOS is using an automated script that checks for SUID binaries, writable paths, weak service configurations, and sudo rules. This automates the discovery of privilege escalation attack paths.

Do I need root access to run enumeration scripts for privilege escalation?

No, you do not need root access to run this privilege escalation enumeration script. It is designed for low-privilege execution by non-root users, making it safe for post-exploitation scenarios on Linux and macOS systems.

Can I use this to check for kernel CVE indicators during a security assessment?

Yes, you can use this to check for kernel CVE indicators during a security assessment. The enumeration process identifies kernel CVE indicators alongside SUID binaries, weak service configurations, and sudo rules to map potential privilege escalation paths.

What shell environment is required to scan for SUID binaries and weak service configurations?

A bash-compatible shell environment on the target Linux or macOS system is required to scan for SUID binaries and weak service configurations. This allows the enumeration script to execute and identify privilege escalation vectors.

Why does post-exploitation enumeration focus on cron jobs and sudo rules?

Post-exploitation enumeration focuses on cron jobs and sudo rules because misconfigurations in these areas often provide attack paths to root. Automating the discovery of these weak service configurations helps security professionals escalate privileges efficiently.