Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    linux privesc quickwins

    1

    A prioritized privilege escalation ladder for Linux environments focusing on high-yield misconfigurations and secrets.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    linux privesc quickwins

    linux privesc quickwins

    Example session with this skill installed

    I have a shell as the 'www-data' user on a Linux box. Give me the prioritized check list for privilege escalation.

    • Read your context and instructions
    • Compiled the linux privesc quickwins

    I have analyzed the environment and established a prioritized ladder for privilege escalation. Follow these steps from top to bottom to find the path of least resistance.

    Linux Privilege Escalation Strategy

    PriorityVectorRationaleCommand / Check
    1CapabilitiesInstant root if set on interpreters. Often missed by SUID-only scans.getcap -r / 2>/dev/null
    2Sudo RightsCheck for NOPASSWD or binary wildcards in sudoers.sudo -l
    3SUID BinariesLook for non-standard binaries with the SUID bit set.find / -perm -4000 -type f
    4Cron JobsWritable scripts run by root allow for easy payload injection.cat /etc/crontab
    5Config SecretsHardcoded creds in .env or .conf files often allow su to a higher user.`grep -riE 'pass(wd
    6Root ServicesInternal-only services (e.g., dev servers) running as root.ss -tlnp

    Recommended First Move

    Run the following to check for capabilities. If python, perl, or php appears with cap_setuid+ep, use the corresponding one-liner:

    
    # Example for Python capability exploit
    python3 -c 'import os; os.setuid(0); os.system("/bin/sh")'
    

    Next steps

    • Run the capability check immediately to rule out the fastest win.
    • If no capabilities are found, list all SUID binaries and compare them to the GTFOBins database.
    • Audit the /opt and /srv directories for any custom deployment scripts with weak permissions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Post-exploitation stalls when you land a low-privilege shell and lose momentum manual-searching for misconfigurations. Spending hours on kernel exploits before checking for basic misconfigurations like cap_setuid or writable cron jobs wastes critical engagement time.

    What it does

    • Executes a prioritized search for cap_setuid capabilities on interpreters like Python, Perl, and PHP for instant root.
    • Audits SUID binaries and cross-references them against GTFOBins patterns.
    • Scans for writable root-run paths and cron jobs to identify PATH hijacking or script injection opportunities.
    • Extracts cleartext credentials from application configs, environment files, and shell histories.
    • Identifies internal services running as root that provide file-write primitives for RCE.

    Frameworks & tools

    Linux, Bash, GTFOBins, getcap, systemctl, and standard Unix discovery utilities.

    Why this beats prompting it yourself

    Standard LLMs often provide generic or noisy commands that trigger EDR. This skill uses a strict, "cheapest-first" ladder that prioritizes high-yield, low-noise vectors like capabilities and config secrets over complex exploits, ensuring you don't miss the easy wins.

    Use cases

    • Escalating from a web shell to root on a misconfigured web server.
    • Auditing internal dev environments for dangerous elevation wildcards.
    • Identifying lateral movement paths via hardcoded credentials in /opt.

    Known limitations

    Requires an active shell on a Linux-based system. Does not include automated binary exploitation for memory corruption vulnerabilities.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Requires an existing shell on a Linux system. No support for Windows or automated kernel exploit compilation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    Permissions

    Terminal / Shell
    Listed2 months ago
    Updated8 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the discovery of high-probability Linux privilege escalation vectors, such as dangerous capabilities, SUID binaries, and hardcoded credentials, saving you hours of manual enumeration.

    The skill relies on standard Unix utilities like Bash, getcap, and systemctl, making it compatible with almost any modern Linux distribution without requiring custom binary installations.

    Unlike generic prompts, this skill uses a prioritized 'ladder' logic that targets low-noise, high-yield misconfigurations first to avoid triggering EDR alerts with noisy kernel exploits.

    You receive the optimized agent skill logic, a structured enumeration sequence, and documentation on how to integrate it into your existing red teaming or pentesting framework.

    No, this skill focuses on misconfigurations and 'living off the land' techniques; it does not perform automated memory corruption or buffer overflow attacks.

    Purchasing this skill includes access to future updates, ensuring the enumeration logic remains effective against new common misconfigurations and updated GTFOBins patterns.

    New in Security