windows-privilege-escalation
Fail
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCEDATA_EXFILTRATIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to download and execute scripts directly from an untrusted domain (
http://attacker.com/rev.ps1andhttp://attacker.com/shell.ps1) using PowerShell'sInvoke-Expression(IEX) command. - [PRIVILEGE_ESCALATION]: Extensive procedures are provided to bypass User Account Control (UAC) via registry hijacking of system binaries such as
fodhelper.exe,eventvwr.exe, andsdclt.exe. It also includes C# code to impersonate thewinlogon.exeprocess to obtain SYSTEM-level privileges. - [COMMAND_EXECUTION]: The instructions include commands to actively disable security protections, such as
Set-MpPreference -DisableRealtimeMonitoring $true, and modify system user groups to grant administrative access. - [CREDENTIALS_UNSAFE]: The skill provides methods for dumping the SAM and SYSTEM registry hives, extracting credentials from the Windows Credential Manager, and harvesting passwords from memory using Mimikatz.
- [PERSISTENCE]: Persistence mechanisms are documented, including the modification of
HKCU\Software\Classes\registry keys to hijack shell open commands and the overwriting of scheduled task actions to execute malicious payloads. - [EXTERNAL_DOWNLOADS]: The skill downloads various post-exploitation tools (WinPEAS, PowerUp, JuicyPotato, etc.) from external sources. While some originate from known repositories, others target an identified malicious domain (
attacker.com). - [DYNAMIC_EXECUTION]: The skill utilizes PowerShell's
Add-Typefunctionality to compile and execute C# code at runtime, specifically for low-level process token manipulation and privilege adjustment. - [DATA_EXFILTRATION]: Provides specific commands to copy sensitive credential files (SAM, SYSTEM) and memory dumps to public directories for later retrieval.
Recommendations
- CRITICAL: 1 infected file(s) detected - DO NOT USE
- AI detected serious security threats
- Contains 1 malicious URL(s) - DO NOT USE
Audit Metadata