security-linux-privesc
Skill1 starsChanged 4 months agoMITView on GitHub
Use when enumerating general Linux privilege-escalation surface on an authorized foothold.
In this repository16 other files it gives its agents.
- security-active-directorySkill
- security-binary-exploitationSkill
- security-cleanupSkill
- security-credentialsSkill
- security-engagementSkill
- security-environmentSkill
- security-evidenceSkill
- security-exploit-developmentSkill
- security-network-discoverySkill
- security-post-exploitationSkill
- security-reconnaissanceSkill
- security-researchSkill
- security-source-reviewSkill
- security-web-appsSkill
- security-windows-privescSkill
- single-targetSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Search knowledge.search (tags: linux, post-exploitation, credentials) and the per-tool references under knowledge/tools/ before improvising …
- Distinctive: line 16
Do not include live, benchmark, or target commands.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Linux Privesc
Enumerate the standard Linux privilege-escalation surface from an established foothold, without selecting or staging an exploit chain.
Linux Privilege Escalation Contract
- Enumerate the standard vectors read-only over the existing foothold session — sudo rights, SUID/SGID binaries, capabilities, group memberships, cron jobs, kernel/build surface, credentials at rest, loopback-only services, and readable files outside normal scope — see Linux Privilege Escalation.
- Once enumeration has produced confirmed findings, see Escalation Chain Staging for how to reason about which named chain those findings support, before proposing to invoke one. Search
knowledge.searchwith tagslinux,privilege-escalation,post-exploitation,credentialsfor the deep-stage technique cards this staging reasoning draws on. - Search
knowledge.search(tags: linux, post-exploitation, credentials) and the per-tool references underknowledge/tools/before improvising a bespoke procedure. - Report material findings, route/tool-health conflicts, and phase changes through Operator Checkpoints; do not act as a second entry point — return control to
security-engagementfor scope, approval, or reconciliation decisions. - Do not include live, benchmark, or target commands.
- For the tool sequence from a held foothold through one-shot enumeration to executing a known escalation chain — and where its execution shape stops and
security-post-exploitation's/security-evidence's own contracts begin — see Foothold and Privilege Escalation Execution. - For a foothold that turns out to be running inside a container or a cloud VM, see Container and Cloud Escape; for an unauthenticated Docker Remote API reachable from the operator's own execution host, see Docker Remote API Exposure.
Boundaries
- This skill selects and describes general technique families; it does not choose or execute an attack path. The agent decides.
- Running a command through a held foothold and binding its output to a post-ex category is
security-post-exploitation's; credential/secret custody issecurity-evidence's. See Foothold and Privilege Escalation Execution for the cross-references instead of restating them here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

