
Ntobjmanager Mcp
io.github.lupingQAQ由 GitHub 账号 lupingQAQ 发布v1.0.0更新于 Oct 24, 2026
Stateful Windows RPC attack-surface research for AI agents: 22 tools on NtObjectManager.
概览
一个仅限 Windows 的 MCP 服务器,通过 NtObjectManager 为 AI 助手提供有状态的 Windows RPC 攻击面研究工具。
- 可以做什么
- 解析 PE 文件中的 RPC 服务器,查看接口、端点和运行中的服务,并在多次调用间保留解析状态。连接 RPC 服务器,列出带 opnum 映射的方法,用存储的返回对象调用方法,并断开会话。在实验虚拟机中通过常驻客户机运行空间执行 PowerShell。套用固定的 CVE 挖掘流程:上下文句柄扫描、攻击面清点、默认试运行的模糊测试、可劫持接口发现、ETW 检查、ALPC 安全审计和标志位解码。导出生成的 C# 客户端源码、构建 NDR 结构体、抢占 ALPC 端口并列出用户可启动的任务。管理会话变量和解析缓存,每次调用都写入审计日志。
- 适用场景
- 适用于在隔离的实验虚拟机上开展经授权的 Windows RPC 安全研究和 CVE 方法论工作,让助手在步骤之间保留实时 RPC 会话和已解析对象,而不必反复执行一次性 PowerShell。不适用于生产或日常使用的主机。
- 运行要求
- 在 Windows PowerShell 5.1 上以本地 Python stdio 进程运行(pwsh 7 未测试)。需要安装 NtObjectManager PowerShell 模块和 Python 的 mcp 包。部分工具(ETW 跟踪、ALPC 安全描述符)需要管理员权限;虚拟机工具需要预先配置好的实验虚拟机。
安装
在 SourceWeft 中
- 打开 控制台中的 Ntobjmanager Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🛰️ NtObjectManager-MCP
Stateful Windows RPC Research MCP — 2024–2026 CVE methodologies as one-click tools
[Python] [License] [PowerShell] [MCP]
🌐 中文版
What is NtObjectManager-MCP?
A Model Context Protocol server that gives an AI agent live, stateful access to Windows RPC attack-surface research, built on James Forshaw's NtObjectManager (NtCoreLib).
Three things a generic PowerShell MCP cannot do — and the reason this exists:
- Stateful RPC connections — a persistent PowerShell engine keeps parsed
RpcServerobjects and connected RPC clients alive across tool calls:rpc_connectonce,rpc_callmany times (auth handshakes, context-handle chains, session variables survive). - CVE methodology as fixed tools — the standard hunting workflows from 2024–2026 public research are one-click, not prompt-engineering.
- Stateful execution inside a lab VM — the same one-engine principle applied
in the guest:
rpc_vm_execkeeps variables and connected RPC clients alive across calls through a single persistent guest runspace, never a fresh shell per call (the vmrun fallback is reported asstateful: false).
Tool Matrix (24)
Core stateful pipeline
VM lab bridge (stateful guest execution)
2024–2026 CVE methodology tools
Every tool call is appended to output/mcp_audit.log.
Field-Tested (real machine, full hunting round)
🚀 Quick Start
Claude Code:
Any MCP client (e.g. OpenCode opencode.json):
Example: context-handle type confusion (CVE-2025-48815 pattern)
store_as / {"__var__"} is the core chain primitive: RPC return objects flow
between calls without serialization round-trips, which is exactly what
producer→consumer handle-confusion testing needs.
📁 Project Structure
🛡️ Honest Capability Boundaries
📖 Documentation
- ARCHITECTURE.md — engine protocol, state model, design decisions
- CHANGELOG.md — R1–R13 decision history incl. two PS 5.1 marshaling bugs
- SECURITY.md — authorized use, VM isolation, MSRC disclosure
- CONTRIBUTING.md — development invariants and test requirements
⚠️ Disclaimer
For lawful security research, education, and authorized testing only.
rpc_call invokes real RPC methods and can crash services — run it against an
isolated VM, never a production or daily-driver host. Vulnerabilities found
through this tool must follow responsible disclosure (MSRC).
📄 License
MIT — Copyright (c) 2026 ntobjmanager-mcp Contributors
来源:README.md,提交 0c3f0f6
工具
0版本历史
1- v1.0.0最新Sep 30, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分