Index of every page on this site: llms.txt
All skills
capture0x avatar

/confirmesc-triage

@36f1ec8
by tmrswrrcapture0x/confirmesc5 stars
1
Run it yourself

Run confirmesc on an authorized Linux target, read the report, and prioritize the CONFIRMED privilege-escalation vectors to act on. Use at the start of any Linux post-exploitation or privesc assessment, before trying techniques by hand.

  • 1 file
  • 2.4 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/capture0x/confirmesc/confirmesc-triage

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈64 tokens for metadata: the name and description. ≈532 when used: this file.

Description uses 3.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈256 characters, or 3.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

confirmesc triage

Use this when you have a shell on an authorized Linux target and need to know, quickly, whether it can be escalated to root and how.

Load privesc-authorization-check first; only proceed once that gate passes.

Workflow

  1. Run a passive scan and read structured output:
    • CLI: confirmesc --format json
    • or the scan MCP tool (confirmesc-mcp)
  2. Look at findings. Act on CONFIRMED first, then LIKELY. Ignore INFO unless nothing actionable is found.
  3. For each CONFIRMED finding, open the matching skill for the technique:
    • SUID / SGID binary -> suid-sgid-exploitation
    • sudo rule -> sudo-abuse
    • Linux capability -> linux-capabilities
    • writable cron / systemd / $PATH -> cron-path-hijack
    • cron wildcard injection -> cron-wildcard-injection
    • kernel / sudo / polkit CVE -> kernel-cve
    • docker / lxd / disk group -> group-escalation
    • sudo env_keep / LD_PRELOAD -> sudo-env-keep
    • NFS no_root_squash -> nfs-no-root-squash
    • readable keys / credentials -> credential-recon
    • writable /etc/passwd / /etc/shadow / /etc/sudoers -> critical-file-write
  4. Every CONFIRMED SUID / sudo / capability finding already carries an exploit_command field. That command is built to actually return a root shell on a modern box (it accounts for the dash/bash privilege drop). Present it to the operator.
  5. After a technique succeeds, follow post-exploitation-notes to record the path, keep changes reversible, and clean up.

Reading confidence

  • CONFIRMED: the exploitable condition was directly observed. Trust it.
  • LIKELY: a strong indicator matched (often a version string). Verify before relying on it; a distro backport can block it.
  • INFO: context only, not an escalation path.

Rules

  • Operate only on systems you are explicitly authorized to test: your own systems, a CTF, or an engagement with signed authorization.
  • confirmesc confirms conditions and prints a suggested command. Turning that into a shell is an operator decision. Do not auto-execute exploit commands.

Source: SKILL.md on GitHub

  • Reads credential files or tokens Needs approval

    SKILL.md:31

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 36f1ec8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for capture0x/confirmesc/confirmesc-triage