
We are back! It's been a few months since our last update and we want to get things rolling again. We took a couple months off to finish polishing up our Premier C2 and tunneling solution beaverbyte. But we're back and ready to keep rolling out Ankou updates for you!
Ankou is a modern, modular command-and-control (C2) platform designed to let operators move fast without sacrificing tradecraft. Every component—from the transport relay to the desktop client—ships with a quickstart script so you can clone the repository, set your implant keys, run the provided commands, and start experimenting immediately. The built-in AI companion lowers the learning curve for new operators while giving seasoned teams a force multiplier for deep target analysis. Ankou includes three default agents ready for your team to cutomize - you can also create entirely new handlers for a new, fresh, never before seen agent just for your team.

| Component | Description |
|---|---|
Server (server/) |
Go-based API + WebSocket hub with GraphQL schema, persistent tasking, loot storage, JWT auth, and HMAC-protected agent endpoints. Generates TLS certificates, secrets, and SQLite databases on first run (go run .). |
Ghost Relay (ghost-relay/) |
Disposable front-end that speaks multiple transports (HTTPS, HTTP/3 QUIC, SSH, SMB/WebSocket) and replays traffic to the server. Every protocol lives in an accept_*.go module, so adding a new transport is as simple as copying a template. |
Agents (agents/<name>/) |
Reference implants (geist, phantasm, shade) that demonstrate different transport stacks and command sets. Each agent handles HMAC signing, task execution, and loot return. |
Client (frontend/) |
Electron/Vite desktop app with live dashboards, listener management, filesystem explorers, AI assistant panel, and loot views. Run npm install && npm run electron to launch. |
Mapped together they form a layered C2 architecture that keeps the real server hidden while letting you extend transports or agent behaviors independently.
server/agent_handlers/handler_*.json). The UI instantly surfaces supported commands for operators to use.<cmdankou> tags) let you execute AI-suggested commands straight from the chat, keeping operations quick yet auditable.


| Agent | Platform | Language | Protocol / Transport |
|---|---|---|---|
| geist | Windows | Rust and Go | HTTP3/QUIC |
| phantasm | Windows | Rust and Go | HTTPS |
| anomaly | Windows | Node.js (inject in C) | HTTPS |
| shade | Linux | Go | SSH |
| wraith | Linux | Rust | HTTP3/QUIC |
See Agent Catalog for details on each agent's design, protocol, and tasking model.
The AI assistant and Poly Engine both speak the OpenAI API. You can point Ankou at any OpenAI-compatible backend:
Defaults and usage:
- API Base URL: Defaults to http://localhost:11434/v1 (works out of the box for Ollama/LM Studio).
- API Key: Optional; only needed for providers that require auth (e.g., OpenAI). Leave blank for local backends that don’t require keys.
- Both the AI chat panel and Poly Engine share these settings, so you configure once and reuse.
ghost-relay/relay.config as AGENT_HMAC_KEY - you will need it to build an agent)cd ghost-relay
go mod tidy
go run .
# or
go build .
cd server
go mod tidy
go run .
# or
go build .
Need more detail? Consult the full guides: - Architecture Overview & Quickstart - Adding a New Agent, Handler, and Listener - Ghost Relay: Adding a New Transport
The Ankou client can be packaged as standalone desktop applications for Windows, Linux, and macOS:
cd frontend
# Build for Windows (NSIS installer + portable .exe)
npm run dist:win
# Build for Linux (AppImage + .deb package)
npm run dist:linux
# Build for macOS (DMG for Intel and Apple Silicon)
npm run dist:mac
# Build for all platforms
npm run dist:all
You can also simply run the application with npm instead if you'd rather not build it:
npm build
npm run electron
Outputs are placed in frontend/release/:
- Windows: Ankou C2-0.1.0-x64.exe (installer) and portable version
- Linux: Ankou C2-0.1.0-x64.AppImage and .deb package
- macOS: Ankou C2-0.1.0-x64.dmg (Intel) and Ankou C2-0.1.0-arm64.dmg (Apple Silicon)
See frontend/BUILD.md for detailed build instructions, troubleshooting, and configuration options.
We're actively iterating on: - Rust agent integration for Geist and Phantasm to make them smaller and deadlier right out of the box - Golang base templates for Geist, Shade and Phantasm to make them more feature complete and easier to extend. - Better agentic excution to make your life easier. - More C2 protocol support out of the box so you can use more of our stuff as templates to make awesome tools.
Open a GitHub issue with feature suggestions or rough concepts—we prioritize ideas the community needs. Pull requests are welcome too; check the docs linked above for guidance before you dive in.
Q: My agent registration request returns HTTP 502. What did I miss?
A: The listener is paused. Open the desktop client, go to Listeners, find the listener the agent should use, and click Resume. Once the listener shows as running, registration will succeed. If this is not the case you may have built your agent without a leading slash in front of the endpoint.
Q: How can I leave feedback or suggest features?
A: Create a GitHub issue. Be as detailed as possible—screenshots, logs, or workflow descriptions help us prioritize and respond quickly.
Q: Why is each agent one monolithic file? A: We got the best results with Polyengine by delivering a single file to the LLM, we know it can make understanding the codebase harder, but we wanted to push the limits of what AI could do for us.
Usage of this tool
Ankou is strictly intended for ethical research, security testing, and defense purposes only. We do not condone or support any malicious activity, unauthorized access, or actions violating laws or the rights of others.
By using this software, you agree to comply with all applicable laws and regulations in your jurisdiction. The code is provided as-is, without warranty of any kind. Use at your own risk.
Stay stealthy, stay modular. Ankou keeps your operations agile while letting you experiment with the latest tradecraft, AI workflows, and transport mechanisms—all without leaving your own infrastructure.
$ claude mcp add Ankou \
-- python -m otcore.mcp_server <graph>