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 installVerwendung
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 debugIntegration mit Claude Desktop
So integrieren Sie diesen MCP-Server in Claude Desktop:
Öffnen Sie die Einstellungen von Claude Desktop (Claude-Menü → Einstellungen).
Klicken Sie auf „Entwickler“ und dann auf „Konfiguration bearbeiten“.
Aktualisieren Sie Ihre Konfiguration, um Folgendes einzuschließen:
{
"mcpServers": {
"MalwareAnalysisMCP": {
"command": "node",
"args": [
"/path/to/MalwareAnalysisMCP/index.js"
]
}
}
}Hinweis : Ersetzen Sie
/path/to/MalwareAnalysisMCPdurch den tatsächlichen Pfad zu Ihrem Projektverzeichnis.
Starten Sie Claude Desktop neu
Debuggen
So zeigen Sie die gesamte Kommunikation zwischen Claude Desktop und dem MCP-Server an:
Aktualisieren Sie Ihre Claude Desktop-Konfiguration, um den Debug-Proxy zu verwenden:
{
"mcpServers": {
"MalwareAnalysisMCP": {
"command": "node",
"args": [
"/path/to/MalwareAnalysisMCP/mcp-debug-proxy.js"
]
}
}
}Ü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 Befehltimeout_ms(Zahl, optional): Timeout in Millisekunden (Standard: 30000)
Widerrufsfolgen:
pid(Zahl): Prozess-IDoutput(Zeichenfolge): BefehlsausgabeisBlocked(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 Zieldateioptions(Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen
Beispiel:
{
"target": "suspicious.exe",
"options": "-b"
}Saiten
Extrahieren Sie druckbare Zeichenfolgen aus einer Datei.
Parameter:
target(Zeichenfolge): Zu analysierende ZieldateiminLength(Zahl, optional): Mindestlänge der anzuzeigenden Zeichenfolgeencoding(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 Zieldateilength(Zahl, optional): Anzahl der anzuzeigenden Bytesoffset(Zahl, optional): Start-Offset in der Dateioptions(Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen
Beispiel:
{
"target": "suspicious.exe",
"length": 256,
"offset": 1024
}objdump
Informationen aus Objektdateien anzeigen.
Parameter:
target(Zeichenfolge): Zu analysierende Zieldateidisassemble(boolesch, optional): Ausführbare Abschnitte zerlegenheaders(Boolesch, optional): Zeigt den Inhalt der Abschnittsüberschriften anoptions(Zeichenfolge, optional): Zusätzliche Befehlszeilenoptionen
Beispiel:
{
"target": "suspicious.exe",
"disassemble": true
}xxd
Erstellen Sie einen Hexdump mit ASCII-Darstellung.
Parameter:
target(Zeichenfolge): Zu analysierende Zieldateilength(Zahl, optional): Anzahl der anzuzeigenden Bytesoffset(Zahl, optional): Start-Offset in der Dateicols(Zahl, optional): Formatieren Sie die Ausgabe in die angegebene Anzahl von Spaltenbits(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 toolsfileC
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
Scored across 7 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.91-
- AlicenseAqualityDmaintenanceA 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.196MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides 294 malware analysis tools behind an AI-driven interface, enabling natural language investigation of binaries.265MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that integrates Ghidra for binary analysis, enabling decompilation, disassembly, and advanced reverse engineering tasks through Claude Code.17MIT