Skip to content

Sysplant

Your Windows syscall hooking factory - feat Canterlot's Gate - All accessible over MCP

Install

$git clone https://github.com/x42en/sysplant

Install command taken from the project's README or registry entry. Always review code before running it.

..:: SysPlant ::..

Your Syscall Factory (feat. Canterlot's Gate)

SysPlant is a python generation tool of the currently known syscall hooking methods. It currently supports following gates (aka: iterators):

  • Hell's Gate : Lookup syscall by first opcodes
  • Halos's Gate : Lookup syscall by first opcodes and search nearby if first instruction is a JMP
  • Tartarus' Gate : Lookup syscall by first opcodes and search nearby if first or third instruction is a JMP
  • FreshyCalls : Lookup syscall by name (start with Nt and not Ntdll), sort addresses to retrieve syscall number
  • SysWhispers2 : Lookup syscall by name (start with Zw), sort addresses to retrieve syscall number
  • SysWhispers3 : SysWhispers2 style but introduce direct/indirect/random jump with static offset
  • Canterlot's Gate ! :unicorn: :rainbow: (from an initial idea of MDSEC article) but who was missing a pony name : Lookup syscall using Runtime Exception Table (sorted by syscall number) and detect offset to syscall instruction for random jumps.
  • Custom Allows you to choose an iterator and a syscall stub method (direct / indirect / random / egg_hunter) which describe the way your NtFunctions will be effectively called.

:warning: DISCLAIMER
Please only use this tool on systems you have permission to access.
Usage is restricted to Pentesting or Education only.
All credits are based on my own research, please feel free to claim any method if I made mistakes...


Introduction

This personal project aims to be a simple tool to better understand & generate different syscall retrieval methods, and being able to play with direct / indirect / egg_hunter syscall stub. The first goal was to get my hands into NIM and then it overflow to C, C++ and Rust :wink: ...
SysPlant has been developped for Linux users, some stuff might be broken within Windows or Mac. PR are welcome if you found anything that does not work as expected.

Supported Languages

Language Status Cross-compile from Linux
NIM :white_check_mark: Stable nim c -d=release -d=danger -d=strip --opt=size -d=mingw --cpu=amd64
C :white_check_mark: Stable x86_64-w64-mingw32-gcc -Wall -s -static -masm=intel
C++ :white_check_mark: Stable x86_64-w64-mingw32-g++ -Wall -s -static -masm=intel
Rust :white_check_mark: Stable cargo build --release --target x86_64-pc-windows-gnu

MCP Server

SysPlant ships with a built-in Model Context Protocol (MCP) server, allowing AI coding assistants (Claude Code, Cursor, Windsurf, etc.) to generate syscall code directly from their chat interface.

# stdio (default — plug into your AI client)
python bridge_mcp_sysplant.py

# SSE or Streamable HTTP for web-based clients
python bridge_mcp_sysplant.py --transport sse --port 9090

Similar plugs

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Never stop coding. Free MIT AI gateway: one endpoint, 359 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex,…