What problem does it solve?
PowerShell malware hides behind stacked obfuscation layers like Base64 encoding, tick-mark insertion, string concatenation, and Invoke-Expression chaining, making manual analysis slow and error-prone. This Skill provides a systematic workflow to peel each layer, reveal the final payload, and extract indicators of compromise.
Core Features & Use Cases
- Obfuscation Classification: Automatically identify techniques such as EncodedCommand, FromBase64String, char arrays, XOR loops, SecureString abuse, and compression streams.
- Multi-Layer Deobfuscation: Iteratively replace IEX with Write-Output and decode Base64 UTF-16LE blobs until the final stage is exposed, using PSDecode, PowerDecode, or AST-based analysis.
- IOC Extraction: Pull URLs, IPs, file paths, registry keys, and suspicious commands from the deobfuscated script for detection engineering.
- Use Case: An incident responder receives a phishing email with an obfuscated PowerShell dropper. Use this Skill to decode each layer in an isolated VM, recover the C2 URL and payload path, and validate findings against Sysmon and Script Block Logging telemetry.
Quick Start
Deobfuscate the attached obfuscated PowerShell script, identify each obfuscation layer, and extract all URLs, IPs, and file paths from the final payload.