skills/mukul975/anthropic-cybersecurity-skills/performing-privilege-escalation-assessment/Gen Agent Trust Hub
performing-privilege-escalation-assessment
Warn
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript executes various system commands usingsubprocess.runto gather system information and identify misconfigurations. It employs a wrapper method that enables shell mode if command operators like pipes or semicolons are present. - [DATA_EXFILTRATION]: The assessment script includes checks for the existence and writability of sensitive system files, including
/etc/passwdand/etc/shadow. Accessing these paths identifies potential exposure of sensitive authentication information. - [PRIVILEGE_ESCALATION]: The skill provides structured instructions and automated logic for discovering and demonstrating paths to root or SYSTEM-level control. This includes techniques like exploiting unquoted service paths, SUID binary abuse, and Windows token impersonation.
- [EXTERNAL_DOWNLOADS]: The documentation references and encourages the use of several third-party security tools, including
linPEAS,winPEAS,PrintSpoofer, andGodPotato. These tools are suggested for download from public GitHub repositories to support assessment activities.
Audit Metadata