Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 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

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity 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
    • Generated the document

    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.

    linux-privesc-quickwins.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    What you get

    Identify cap_setuid misconfigurations on interpreters for instant root.Find and exploit writable cron jobs and systemd timers.Audit SUID binaries for GTFOBins escalation paths.Extract cleartext passwords from environment files and bash history.

    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.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 7 days ago

    • Passed all security checks, Safe to install

    Listed7 days ago

    What's inside

    Frequently Asked Questions