privesc-windows-token-impersonation
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: CRITICALPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill provides comprehensive workflows for exploiting Windows token privileges (such as SeImpersonate, SeDebug, and SeBackup) to escalate to SYSTEM access. It includes detailed selection criteria and commands for multiple exploit variants including GodPotato, PrintSpoofer, JuicyPotato, RoguePotato, and EfsPotato.\n- [COMMAND_EXECUTION]: Includes functional payloads for ASPX webshells and PowerShell reverse shells. These payloads are designed to be deployed on target systems to execute arbitrary commands as high-privilege service accounts.\n- [REMOTE_CODE_EXECUTION]: Instructs the user to download and execute multiple exploit binaries and scripts from remote, attacker-controlled IP addresses. Examples include GodPotato-NET4.exe and Meterpreter payloads.\n- [DYNAMIC_EXECUTION]: Specifically details the use of PowerShell Reflection (
[System.Reflection.Assembly]::Load) to load and execute the SigmaPotato exploit assembly directly in memory, which is a technique used to evade disk-based security controls.\n- [DATA_EXFILTRATION]: Outlines procedures for dumping LSASS process memory using procdump and extracting the SAM, SYSTEM, and SECURITY registry hives. These activities are used to harvest sensitive credentials for offline analysis.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted engagement data through theget_state_summary()function inSKILL.md. It lacks explicit boundary markers or instructions for the agent to ignore embedded commands within this data. The skill possesses extensive capabilities, such as shell execution and privilege escalation, which creates a surface for indirect injection attacks. No sanitization of the ingested state data is described.\n- [EXTERNAL_DOWNLOADS]: References external resources and repositories for exploit code and CLSID lists. It notably referencesloldrivers.io, which has been flagged by automated scanners, for the purpose of identifying vulnerable drivers on the target system.
Recommendations
- Contains 2 malicious URL(s) - DO NOT USE
Audit Metadata