MalwareAnalyzerMCP
Analizador de malware MCP
Un servidor MCP especializado para Claude Desktop que permite ejecutar comandos de terminal para el análisis de malware.
Características
Ejecutar comandos de terminal con tiempos de espera configurables
Leer la salida de procesos en ejecución o completados
Comandos especializados de análisis de malware (
file,strings,hexdump,objdump,xxd)Gestión de procesos limpia con cierres elegantes
Implementación de JavaScript puro: no se requiere ningún paso de compilación
Related MCP server: Desktop Commander MCP
Instalación
# Install dependencies
npm installUso
Ejecución del servidor
# Start the server directly
node index.js
# Or use npm script
npm start
# With debugging proxy (logs all communications)
npm run debugIntegración con Claude Desktop
Para integrar este servidor MCP con Claude Desktop:
Abra la configuración de Claude Desktop (menú Claude → Configuración)
Haga clic en "Desarrollador" y luego en "Editar configuración".
Actualice su configuración para incluir:
{
"mcpServers": {
"MalwareAnalysisMCP": {
"command": "node",
"args": [
"/path/to/MalwareAnalysisMCP/index.js"
]
}
}
}Nota : reemplace
/path/to/MalwareAnalysisMCPcon la ruta real al directorio de su proyecto.
Reiniciar Claude Desktop
Depuración
Para ver toda la comunicación entre Claude Desktop y el servidor MCP:
Actualice la configuración de Claude Desktop para utilizar el proxy de depuración:
{
"mcpServers": {
"MalwareAnalysisMCP": {
"command": "node",
"args": [
"/path/to/MalwareAnalysisMCP/mcp-debug-proxy.js"
]
}
}
}Verifique los registros en el directorio
logs
Notas de compatibilidad
Requiere Node.js 18 o superior
Compatible con Node.js v22+ usando módulos ESM
API
Herramientas básicas
comando_shell
Ejecuta un comando de terminal y devuelve su ID de proceso, salida y estado bloqueado.
Parámetros:
command(cadena): El comando a ejecutar en la terminaltimeout_ms(número, opcional): tiempo de espera en milisegundos (predeterminado: 30000)
Devoluciones:
pid(número): ID del procesooutput(cadena): Salida del comandoisBlocked(booleano): si la ejecución del comando está bloqueada o agotada
salida de lectura
Lee la salida de un proceso en ejecución o completado.
Parámetros:
pid(número): El ID del proceso desde el cual leer la salida
Devoluciones:
output(cadena | nulo): la salida del proceso, o nulo si no se encuentra el proceso
Herramientas especializadas de análisis de malware
Las siguientes herramientas especializadas están disponibles para el análisis de malware:
archivo
Analizar un archivo y determinar su tipo.
Parámetros:
target(cadena): archivo de destino a analizaroptions(cadena, opcional): Opciones adicionales de la línea de comandos
Ejemplo:
{
"target": "suspicious.exe",
"options": "-b"
}instrumentos de cuerda
Extraer cadenas imprimibles de un archivo.
Parámetros:
target(cadena): archivo de destino a analizarminLength(número, opcional): longitud mínima de la cadena a mostrarencoding(cadena, opcional): codificación de cadena (s = 7 bits, S = 8 bits, b = 16 bits big-endian, l = 16 bits little-endian, etc.)options(cadena, opcional): Opciones adicionales de la línea de comandos
Ejemplo:
{
"target": "suspicious.exe",
"minLength": 10,
"encoding": "l"
}volcado hexadecimal
Mostrar el contenido del archivo en formato hexadecimal.
Parámetros:
target(cadena): archivo de destino a analizarlength(número, opcional): Número de bytes a mostraroffset(número, opcional): desplazamiento inicial en el archivooptions(cadena, opcional): Opciones adicionales de la línea de comandos
Ejemplo:
{
"target": "suspicious.exe",
"length": 256,
"offset": 1024
}volcado de objetos
Mostrar información de archivos de objeto.
Parámetros:
target(cadena): archivo de destino a analizardisassemble(booleano, opcional): desensamblar secciones ejecutablesheaders(booleano, opcional): muestra el contenido de los encabezados de secciónoptions(cadena, opcional): Opciones adicionales de la línea de comandos
Ejemplo:
{
"target": "suspicious.exe",
"disassemble": true
}xxd
Crea un volcado hexadecimal con representación ASCII.
Parámetros:
target(cadena): archivo de destino a analizarlength(número, opcional): Número de bytes a mostraroffset(número, opcional): desplazamiento inicial en el archivocols(número, opcional): formatea la salida en un número específico de columnasbits(booleano, opcional): cambia a bits (binario) dumpoptions(cadena, opcional): Opciones adicionales de la línea de comandos
Ejemplo:
{
"target": "suspicious.exe",
"cols": 16,
"bits": true
}Licencia
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