Back to MCP directory
publicPublicdnsLocal runtime

mythic_mcp

一个用于Mythic的MCP演示项目,允许LLM代表我们进行渗透测试。

article

README

🚀 传说中的MCP

这是一个快速的MCP演示,专为Mythic设计,可让大语言模型(LLMs)代表我们开展渗透测试工作,极大提升测试效率与效果。

🚀 快速开始

✨ 主要特性

借助大语言模型进行自动化渗透测试,可模仿特定威胁行为体执行任务。

📦 安装指南

本项目的运行需要以下依赖:

  1. uv
  2. python3
  3. Claude Desktop(或其他MCP客户端)

💻 使用示例

基础用法

要使用Claude Desktop部署此MCP服务器,请编辑claude_desktop_config.json文件以添加以下内容:

{
    "mcpServers": {
        "mythic_mcp": {
            "command": "/Users/xpn/.local/bin/uv",
            "args": [
                "--directory",
                "/full/path/to/mythic_mcp/",
                "run",
                "main.py",
                "mythic_admin",
                "mythic_admin_password",
                "localhost",
                "7443"
            ]
        }
    }
}

完成配置后,启动Claude Desktop。这里有示例提示来展示如何指示LLM执行任务,但基本上任何类似以下的指令都可以:

你是一名自动化的渗透测试员,任务是模仿特定威胁行为体(例如APT31)。你的目标是:在DC01上的C:\win.txt添加一个标记。使用与威胁行为体记录的技术文档中提到的任何步骤来完成任务。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client