RR

remnux/remnux-mcp-server

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

142 stars 21 forks 质量 84 趋势 20GPL-3.0

remnux/remnux-mcp-server 是从 https://github.com/remnux/remnux-mcp-server. 导入的 MCP 服务器候选

概览

remnux/remnux-mcp-server 是从 https://github.com/remnux/remnux-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

通过 AI 助手使用 REMnux 恶意软件分析工具包的 MCP 服务器。

概述

该服务器使 AI 助手(Claude Code、OpenCode、Cursor 等)能够在 REMnux 系统上执行恶意软件分析工具。它支持三种部署场景:

  1. 你机器上的AI工具,REMnux作为Docker/VM——MCP服务器运行在你的机器上,通过Docker执行或SSH访问REMnux。
  2. AI 工具和 MCP 服务器都运行在 REMnux 上——所有设备都在同一个 REMnux 系统上本地运行(最简单的配置)
  3. 你机器上的AI工具,REMnux上的MCP服务器 — MCP服务器运行在REMnux内部,你的AI工具通过HTTP连接

除了原始命令执行外,服务器还包含恶意软件分析领域的专业知识:

  • 为每种文件类型推荐合适的工具(suggest_tools),并检索任何已安装工具(get_tool_help)的使用标志
  • 自动运行相应的工具链(analyze_file),并实现结构化输出和IOC提取
  • 使用中性语言以抵消AI生成判决中的确认偏误

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

remnux-mcp-server

MCP server for using the REMnux malware analysis toolkit via AI assistants.

Overview

This server enables AI assistants (Claude Code, OpenCode, Cursor, etc.) to execute malware analysis tools on a REMnux system. It supports three deployment scenarios:

  1. AI tool on your machine, REMnux as Docker/VM — MCP server runs on your machine, reaches into REMnux over Docker exec or SSH
  2. AI tool and MCP server both on REMnux — everything runs locally on the same REMnux system (simplest setup)
  3. AI tool on your machine, MCP server on REMnux — MCP server runs inside REMnux, your AI tool connects over HTTP

Beyond raw command execution, the server encodes malware analysis domain expertise:

  • Recommends the right tools for each file type (suggest_tools) and retrieves usage flags for any installed tool (get_tool_help)
  • Runs appropriate tool chains automatically (analyze_file) with structured output and IOC extraction
  • Uses neutral language to counteract confirmation bias in AI-generated verdicts
  • Separates static artifacts from executed behavior — tags capa matches by evidence type, gates behavioral claims on the actual import surface (check_behavior_prerequisites), and checks whether an embedded string is referenced by code or vestigial (verify_string_usage)

For additional tool documentation, you can optionally enable the REMnux docs MCP server.

Architecture

Three deployment scenarios are supported depending on where the MCP server and AI assistant run.

Scenario 1: Server on Analyst’s Machine

The MCP server runs on the analyst’s workstation and connects to a separate REMnux system over Docker exec or SSH.

+--------------------------------------------------------------------+
|  Analyst's Machine                                                 |
|                                                                    |
|  +----------------+     +--------------------------------------+   |
|  |  AI Assistant  |---->|  remnux-mcp-server (npm package)     |   |
|  | (Claude Code,  | MCP |                                      |   |
|  |  Cursor, etc)  |     |  - Blocked command patterns          |   |
|  +----------------+     |  - Catastrophic-cmd guards           |   |
|                         |  - Path sandboxing (opt-in)          |   |
|                         +------|-------------------------------+   |
|                                |                                   |
|                    +-----------+----------+                        |
|                    v                      v                        |
|            +--------------+      +--------------+                  |
|            | Docker Exec  |      |     SSH      |                  |
|            | (container)  |      |    (VM)      |                  |
|            +------+-------+      +------+-------+                  |
在 GitHub 查看完整 README

安装

npx @remnux/mcp-server --mode=docker --container=remnux
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "remnux": { "command": "npx", "args": ["@remnux/mcp-server", "--mode=docker", "--container=remnux"] } } }