Agent-Skills-Hub pentest-priv-escalation

Assess Linux and Windows privilege escalation vectors from existing authorized footholds.

install
source · Clone the upstream repo
git clone https://github.com/0x-Professor/Agent-Skills-Hub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/0x-Professor/Agent-Skills-Hub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/pentest-priv-escalation" ~/.claude/skills/0x-professor-agent-skills-hub-pentest-priv-escalation && rm -rf "$T"
manifest: skills/pentest-priv-escalation/SKILL.md
source content

Pentest Priv Escalation

Stage

  • PTES: 6
  • MITRE: TA0004

Objective

Identify reproducible routes from constrained users to elevated privileges.

Required Workflow

  1. Validate scope before any active action and reject out-of-scope targets.
  2. Run only authorized checks aligned to PTES, OWASP WSTG, NIST SP 800-115, and MITRE ATT&CK.
  3. Write findings in canonical finding_schema format with reproducible PoC notes.
  4. Honor dry-run mode and require explicit --i-have-authorization for live execution.
  5. Export deterministic artifacts for downstream skill consumption.

Execution

python skills/pentest-priv-escalation/scripts/priv_escalation.py --scope scope.json --target <target> --input <path> --output <path> --format json --dry-run

Outputs

  • privesc-findings.json
  • privesc-report.json

References

  • references/tools.md
  • skills/autonomous-pentester/shared/scope_schema.json
  • skills/autonomous-pentester/shared/finding_schema.json

Legal and Ethical Notice

WARNING AUTHORIZED USE ONLY
This skill executes real security testing tools against live targets.
Use only with written authorization.