Works with the AI Agents you already use

    Quarantine

    by sudhanva rao

    2

    Automated malware triage, reverse engineering, and IOC extraction using mamcp tools.

    Free

    Security scanned
    Quarantine

    Quarantine

    Example session with this skill installed

    Analyse samples/suspicious_files.zip. I need the C2 it talks to (host, path, source and destination ports), the file it downloads, and what it writes to disk.

    • Read your context and instructions
    • Compiled the quarantine

    Verdict: malicious downloader (packed, x64 Windows)

    client_10_0_6a110d84.exe (SHA-256 2fad2ad0…a0c) unpacks itself in memory, downloads an encrypted payload over HTTP, decrypts it to disk and runs it. A companion file, 6a110d84.txt, holds the token that every network value is derived from.

    Answers

    QuestionAnswerEvidence
    Source port26861bind() to hash(state[1] ^ 0x7654321) % 0x9471 + 10000 (0x140003900)
    Destination port800x1F90 - 8000, used only when PEB->BeingDebugged == 0 (0x140003940)
    C2 URLbluehorizonmobile[.]com/538590host stored as bytes with 3 added to each (0x140003ae0)
    Requested filelicense_key_906789866.txtbuilt from "/" + XOR-0x55("license_") + "key_" + N + ".txt"
    First file on diskupdate_468649867.exefopen(…, "wb") at 0x140004323
    Final file on diskCritical_update_468649867.exeRC4-style decrypt, original deleted, decrypted copy run (0x140002940)

    How it got there

    1. Triage: entropy 7.85, 6 imports, writable and executable sections, a TLS callback, so the sample is packed. Static tools only see the unpacking stub.
    2. First detonation: the sample deleted itself straight away (cmd /c ping … & del). The notes reported no memory dumps and suggested image_dump.
    3. Second detonation with {"image_dump": true}: captured the image after UPX-style unpacking, saved in file layout. Ghidra then found 516 functions instead of 4.
    4. Decompiling main: it needs a single argument (the token file) and prints decoy messages about unlockmyfiles[.]biz/secret_key.txt, a domain it never contacts.
    5. Network values: the C2 thread hashes the token (FNV-1a plus integer mixers) into three numbers, which produce the ports, URL and file names above.

    Anti-analysis seen

    • Self-deletes if started without the expected argument
    • NtSetInformationThread(ThreadHideFromDebugger), IsDebuggerPresent, and a PEB->BeingDebugged check that switches to a dead port (4444)
    • A 30-day delay gate using ntuser_cache.dat and a waitable timer
    • A timing check around the decryption loop
    • Decoy strings for a fake C2

    IOCs

    • bluehorizonmobile[.]com, hxxp://bluehorizonmobile[.]com/538590/license_key_906789866.txt
    • Files: update_468649867.exe, Critical_update_468649867.exe, ntuser_cache.dat
    • SHA-256: 2fad2ad0cb4b6d5264d7a70a5b939eb22812507bb05f0d8d80c46eb0a03fea0c

    Next steps

    • Network values were derived from the code, because the emulator stops at the delay gate. Confirm them in a CAPEv2 run, or by patching the timer check.
    • Block the domain and hunt for Critical_update_*.exe and ntuser_cache.dat on your hosts.
    • Ask for a YARA rule on the unpacked code, tested with test_yara_rule.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Triaging a suspicious file by hand is slow, and running it to see what it does is risky. This skill gives your agent a malware analyst's workflow on top of the open-source mamcp MCP server. The agent loads the sample, chooses what to examine, connects the evidence and writes a report. It never runs the file itself: execution happens only inside mamcp's sandboxes.

    What it does

    • Triage runs capa (capabilities mapped to MITRE ATT&CK), FLOSS (obfuscated and stack strings) and YARA in a single call, and suggests next steps.
    • Code analysis uses Ghidra to decompile functions, follow cross-references and call graphs, and find the code that uses a given string or API.
    • Format-specific parsing extracts Office/RTF macros, PDF JavaScript and actions, LNK command lines, layered scripts, Inno Setup installers and archive contents (zip, 7z, ISO, nested).
    • Dynamic analysis (optional) runs samples in a sandbox and records API calls, simulated network traffic, file and registry activity, strings decoded in memory, dropped files and memory dumps. It can feed fake C2 replies to a sample to trigger its command handlers.
    • Unpacking recovers the real payload from memory dumps, including UPX-style packers that unpack into their own image (image_dump).
    • Detection engineering writes YARA rules and tests them against the sample and a set of known-clean files until there are no false positives.
    • Intel export outputs IOCs as STIX or MISP.

    How it works

    1. Load the sample with load_sample. Archives are unpacked in memory (default password infected).
    2. Triage with triage, and start Ghidra analysis in the background.
    3. Follow the file type: documents, shortcuts and scripts usually lead to a later stage, and the skill follows the chain to the final payload.
    4. Read the code behind each capability that matters (C2, persistence, injection, encryption, anti-analysis).
    5. Detonate if mamcp-dynamic is available, then load mems back into static analysis.
    6. Report using a fixed template: verdict, behaviour, defanged IOCs and a tested YARA rule. Every claim cites an address, API, string, rule or run id.

    Frameworks & tools

    Requires the mamcp MCP server (MIT licensed, free): github.com/sudhanvarao28/malwareAnalysisMcpToolkit. It runs in Docker and bundles Ghidra, capa, FLOSS and YARA. Dynamic analysis uses the companion mamcp-dysy emulation built in and optional CAPEv2 (real Windows VMs) and Linux container backends.

    Why use it instead of prompting yourself

    • Built-in safety rules: the agent never runs a sample, es out of a sample as untrusted data rather thaninstructions, and doesn't request live internet access unless you ask for it.
    • Evidence for every claim, with observations kept separetwork IOCs defanged in the report.
    • Knows where to look next: which tool fits each file type, when a sample is packed, when to re-run with fake C2 responses, and how to get the payload out of a memory dump.

    Use cases

    • Phishing triage: follow an attachment from document or shortcut to payload and pull out its C2.
    • Incident response: work out what a binary found on a h
    • Detection authoring: produce YARA rules tested against the sample and clean files.
    • Reverse engineering: get past packers and read the dec

    Known limitations

    • Requires a running mamcp server (Docker). Dynamic analysis also requires mamcp-dynamic.
    • The default sandbox is an emulator, not real Windows. Evas APIs it doesn't implement end the run early, and simulatednetworking means real C2 commands never arrive. Use CAPEv2 for full fidelity.
    • Built-in dynamic analysis covers Windows PE and shellcode.box need separate setup.
    • capa, FLOSS and Ghidra are slow on first use (seconds to minutes); results are cached after that.
    • The result is an analyst's starting point, not a guarantee rules before sharing them.

    A few of these lines go beyond what I tested in this session your setup before you publish:

    • "Free" and the GitHub link assume the repo is public.
    • The CAPEv2 and Linux sandbox lines describe the backends at run either one here.

    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 buying a skill.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    • Free with an Agensi account

    Software
    mamcp MCP server on githubAgent with MCP supportDocker with 8 GB+ memory
    Optional
    mamcp-dynamic MCP server (sandbox detonation)CAPEv2 instance (real Windows VMs)
    Hybrid Analysis
    orTriage API key (hash lookups)

    (github.com/sudhanvarao28/malwareAnalysisMcpToolkit) Build the image once with docker build -t mamcp . (~2 GB, 10–20 min). Keep samples in password-protected zips (password "infected") so antivirus doesn't delete them. Analyse samples only on a machine you're prepared to wipe.

    Permissions

    Read Files
    Write Files
    Terminal / Shell

    File Scopes

    samples/**
    (samples
    are
    read
    read-only)
    artifacts/**
    (dropped
    files
    and
    memory
    dumps
    from
    dynamic
    runs)
    reports/**
    (where
    the
    skill
    saves
    its
    report)

    No accounts or API keys needed. The skill drives the local mamcp MCP server, which reads samples from samples/ (mounted read-only) and stores sandbox outputs in artifacts/. The skill writes its report to reports/. Hash lookups (VirusTotal etc.) are optional, send only the sample's hash, and need your own key.

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the heavy lifting of malware triage by using Ghidra and capa to safely decompile code, extract obfuscated strings, and generate YARA rules without manual manual intervention.

    You must have the mamcp MCP server installed and running; this server acts as the bridge between the AI agent and the forensic tools like Ghidra and FLOSS.

    The skill supports a wide range of formats, including Windows PE binaries, malicious Office documents (macros), PDFs containing JavaScript, and LNK files.

    The skill follows a strict protocol that includes defanging all Indicators of Compromise (IOCs) to prevent accidental execution or navigation to malicious domains during the reporting phase.

    Yes, for samples that use custom packers, the skill can utilize the dynamic detonation feature to capture memory dumps and analyze the payload after it has unpacked in the sandbox.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Free