Skip to main content
Glama
MalwareAnalyzerMCP

MalwareAnalyzerMCP

MalwareAnalyzerMCP

Ein spezialisierter MCP-Server für Claude Desktop, der die Ausführung von Terminalbefehlen zur Malware-Analyse ermöglicht.

Merkmale

  • Führen Sie Terminalbefehle mit konfigurierbaren Timeouts aus

  • Lesen Sie die Ausgabe von laufenden oder abgeschlossenen Prozessen

  • Spezialisierte Befehle zur Malware-Analyse ( file , strings , hexdump , objdump , xxd )

  • Sauberes Prozessmanagement mit ordnungsgemäßem Herunterfahren

  • Reine JavaScript-Implementierung – kein Build-Schritt erforderlich

Related MCP server: Desktop Commander MCP

Installation

# Install dependencies
npm install

Verwendung

Ausführen des Servers

# Start the server directly
node index.js

# Or use npm script
npm start

# With debugging proxy (logs all communications)
npm run debug

Integration mit Claude Desktop

So integrieren Sie diesen MCP-Server in Claude Desktop:

  1. Öffnen Sie die Einstellungen von Claude Desktop (Claude-Menü → Einstellungen).

  2. Klicken Sie auf „Entwickler“ und dann auf „Konfiguration bearbeiten“.

  3. Aktualisieren Sie Ihre Konfiguration, um Folgendes einzuschließen:

{
  "mcpServers": {
    "MalwareAnalysisMCP": {
      "command": "node",
      "args": [
        "/path/to/MalwareAnalysisMCP/index.js"
      ]
    }
  }
}

Hinweis : Ersetzen Sie /path/to/MalwareAnalysisMCP durch den tatsächlichen Pfad zu Ihrem Projektverzeichnis.

  1. Starten Sie Claude Desktop neu

Debuggen

So zeigen Sie die gesamte Kommunikation zwischen Claude Desktop und dem MCP-Server an:

  1. Aktualisieren Sie Ihre Claude Desktop-Konfiguration, um den Debug-Proxy zu verwenden:

{
  "mcpServers": {
    "MalwareAnalysisMCP": {
      "command": "node",
      "args": [
        "/path/to/MalwareAnalysisMCP/mcp-debug-proxy.js"
      ]
    }
  }
}
  1. Überprüfen Sie die Protokolle im logs

Hinweise zur Kompatibilität

  • Erfordert Node.js 18 oder höher

  • Kompatibel mit Node.js v22+ unter Verwendung von ESM-Modulen

API

Grundlegende Werkzeuge

Shell-Befehl

Führt einen Terminalbefehl aus und gibt dessen Prozess-ID, Ausgabe und Blockierungsstatus zurück.

Parameter:

  • command (Zeichenfolge): Der im Terminal auszuführende Befehl

  • timeout_ms (Zahl, optional): Timeout in Millisekunden (Standard: 30000)

Widerrufsfolgen:

  • pid (Zahl): Prozess-ID

  • output (Zeichenfolge): Befehlsausgabe

  • isBlocked (Boolesch): Ob die Befehlsausführung blockiert ist/das Zeitlimit überschritten wurde

Ausgabe lesen

Liest die Ausgabe eines laufenden oder abgeschlossenen Prozesses.

Parameter:

  • pid (Zahl): Die Prozess-ID, aus der die Ausgabe gelesen werden soll

Widerrufsfolgen:

  • output (Zeichenfolge | null): Die Prozessausgabe oder null, wenn der Prozess nicht gefunden wird

Spezialisierte Tools zur Malware-Analyse

Für die Malware-Analyse stehen folgende Spezialtools zur Verfügung:

Datei

Analysieren Sie eine Datei und bestimmen Sie ihren Typ.

Parameter:

  • target (Zeichenfolge): Zu analysierende Zieldatei

  • options (Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen

Beispiel:

{
  "target": "suspicious.exe",
  "options": "-b"
}

Saiten

Extrahieren Sie druckbare Zeichenfolgen aus einer Datei.

Parameter:

  • target (Zeichenfolge): Zu analysierende Zieldatei

  • minLength (Zahl, optional): Mindestlänge der anzuzeigenden Zeichenfolge

  • encoding (Zeichenfolge, optional): Zeichenfolgenkodierung (s=7-Bit, S=8-Bit, b=16-Bit Big-Endian, l=16-Bit Little-Endian usw.)

  • options (Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen

Beispiel:

{
  "target": "suspicious.exe",
  "minLength": 10,
  "encoding": "l"
}

Hexdump

Zeigt den Dateiinhalt im Hexadezimalformat an.

Parameter:

  • target (Zeichenfolge): Zu analysierende Zieldatei

  • length (Zahl, optional): Anzahl der anzuzeigenden Bytes

  • offset (Zahl, optional): Start-Offset in der Datei

  • options (Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen

Beispiel:

{
  "target": "suspicious.exe",
  "length": 256,
  "offset": 1024
}

objdump

Informationen aus Objektdateien anzeigen.

Parameter:

  • target (Zeichenfolge): Zu analysierende Zieldatei

  • disassemble (boolesch, optional): Ausführbare Abschnitte zerlegen

  • headers (Boolesch, optional): Zeigt den Inhalt der Abschnittsüberschriften an

  • options (Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen

Beispiel:

{
  "target": "suspicious.exe",
  "disassemble": true
}

xxd

Erstellen Sie einen Hexdump mit ASCII-Darstellung.

Parameter:

  • target (Zeichenfolge): Zu analysierende Zieldatei

  • length (Zahl, optional): Anzahl der anzuzeigenden Bytes

  • offset (Zahl, optional): Start-Offset in der Datei

  • cols (Zahl, optional): Formatieren Sie die Ausgabe in die angegebene Anzahl von Spalten

  • bits (Boolesch, optional): Wechseln Sie zum Bit-Dump (Binär)

  • options (Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen

Beispiel:

{
  "target": "suspicious.exe",
  "cols": 16,
  "bits": true
}

Lizenz

ISC

Available Tools

7 tools
fileC

Analyze a file and determine its type

Example usage:

  • Basic file identification: { "target": "suspicious.exe" }

  • With options: { "target": "suspicious.exe", "options": "-b" }

Inputs: target (required), options.

hexdumpA

Display file contents in hexadecimal format

Example usage:

  • Standard hexdump: { "target": "suspicious.exe" }

  • With length limit: { "target": "suspicious.exe", "length": 256 }

  • With offset: { "target": "suspicious.exe", "offset": 1024 }

Inputs: target (required), options, length, offset.

objdumpB

Display information from object files

Example usage:

  • Display file headers: { "target": "suspicious.o" }

  • Disassemble code: { "target": "suspicious.exe", "disassemble": true }

  • Show section headers: { "target": "suspicious.exe", "headers": true }

Inputs: target (required), options, disassemble, headers.

read_outputC

Read output from a running or completed process.

Inputs: pid (required).

shell_commandB

Execute a command in the terminal with timeout. Command will continue running in background if it doesn't complete within timeout.

Inputs: command (required), timeout_ms.

stringsB

Extract printable strings from a file

Example usage:

  • Basic strings extraction: { "target": "suspicious.exe" }

  • With minimum length: { "target": "suspicious.exe", "minLength": 10 }

  • With encoding: { "target": "suspicious.exe", "encoding": "l" }

Inputs: target (required), options, minLength, encoding.

xxdA

Create a hexdump with ASCII representation

Example usage:

  • Standard xxd dump: { "target": "suspicious.exe" }

  • With length limit: { "target": "suspicious.exe", "length": 256 }

  • With column formatting: { "target": "suspicious.exe", "cols": 16 }

  • Binary bits mode: { "target": "suspicious.exe", "bits": true }

Inputs: target (required), options, length, offset, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 7 tools

    Disambiguation2/5

    Several tools have overlapping purposes that could cause confusion. The 'hexdump' and 'xxd' tools both create hexadecimal representations of files with similar options, making them difficult to distinguish. Additionally, 'read_output' and 'shell_command' both deal with process execution but have unclear boundaries, as 'shell_command' mentions background execution while 'read_output' focuses on output reading.

    Naming Consistency3/5

    The naming conventions are mixed but still readable. Most tools use descriptive names like 'file', 'hexdump', 'objdump', and 'strings', which follow a consistent noun-based pattern. However, 'read_output' uses a verb_noun format while 'shell_command' uses a noun_noun format, creating minor inconsistency. The overall naming is functional but lacks a unified pattern.

    Tool Count4/5

    With 7 tools, the count is reasonable for a malware analysis server, falling within the typical 3-15 range. It covers core analysis tasks like file identification, hex dumping, and string extraction. However, it feels slightly thin for comprehensive malware analysis, as it lacks tools for network analysis, behavior monitoring, or threat intelligence integration, which are common in this domain.

    Completeness2/5

    There are significant gaps in the tool surface for malware analysis. While basic file inspection tools are present, there is no coverage for dynamic analysis (e.g., sandbox execution), network traffic analysis, registry monitoring, or malware classification. The server focuses on static analysis only, leaving agents unable to perform common malware investigation workflows, which will likely cause failures in real-world scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.
      19
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that provides 294 malware analysis tools behind an AI-driven interface, enabling natural language investigation of binaries.
      265
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server that integrates Ghidra for binary analysis, enabling decompilation, disassembly, and advanced reverse engineering tasks through Claude Code.
      17
      MIT