deobfuscating-powershell-obfuscated-malware

Warn

Audited by Gen Agent Trust Hub on Sep 15, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The Python code block in SKILL.md under 'Step 2: Multi-Layer IEX Replacement' implements a dynamic execution flow where potentially untrusted or malicious PowerShell script blocks are written to a temporary file and executed to unwrap obfuscation layers.
  • [COMMAND_EXECUTION]: The iex_replacement_deobfuscate function within the SKILL.md code section uses subprocess.run to spawn a new PowerShell process with the -ExecutionPolicy Bypass flag to run the generated script files.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 15, 2026, 03:02 PM