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
- Run a passive scan and read structured output:
- CLI:
confirmesc --format json - or the
scanMCP tool (confirmesc-mcp)
- CLI:
- Look at
findings. Act onCONFIRMEDfirst, thenLIKELY. IgnoreINFOunless nothing actionable is found. - For each
CONFIRMEDfinding, 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
- SUID / SGID binary ->
- Every
CONFIRMEDSUID / sudo / capability finding already carries anexploit_commandfield. That command is built to actually return a root shell on a modern box (it accounts for thedash/bashprivilege drop). Present it to the operator. - After a technique succeeds, follow
post-exploitation-notesto 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.