Emp3r0r

SecurityDesign and media

Stealthy, Linux-first multi-operator C2 with a self-healing mesh, in-memory execution, AI-driven MCP assistant, and autonomous evasion loop.

Your AI app calls the Emp3r0r MCP server, which does the security and design and media work and sends the result back to the chat.

About Emp3r0r

Emp3r0r is a community MCP server from jm33-m0, filed in our directory under security and design and media. Stealthy, Linux-first multi-operator C2 with a self-healing mesh, in-memory execution, AI-driven MCP assistant, and autonomous evasion loop.

At a glance

Publisher
jm33-m0 (community)
Runs
See the README for setup
Written in
Go
License
GPL-3.0
GitHub stars
2,243

How to set up Emp3r0r

  1. Follow the install steps in the Emp3r0r README; it is written in Go, so have that toolchain ready.
  2. Check the Emp3r0r README for keys or settings; the registry lists none that Emp3r0r requires.
  3. Add Emp3r0r to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Emp3r0r tools to confirm the connection.
  5. Run one read-only task with Emp3r0r first, and keep your app asking before each tool call until the results look right.

Emp3r0r compared with similar servers

  • Jshookmcp by vmoranv has fewer GitHub stars than Emp3r0r (2.1k against 2.2k); both are community servers, and both run locally.
  • Toolhive by stacklok has more GitHub stars than Emp3r0r (2.4k against 2.2k); both are community servers, and both run locally.
  • Qu1cksc0pe by CYB3RMX has fewer GitHub stars than Emp3r0r (2.1k against 2.2k); both are community servers, and both run locally.

Before you connect Emp3r0r

  • Give Emp3r0r its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Emp3r0r tool call until you trust what it does with them.
  • Treat text that Emp3r0r fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Emp3r0r on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Emp3r0r

How marketing and sales teams put Emp3r0r to work, by company size. Pick the size closest to yours and start Emp3r0r on one use case.

Small business

  • A small business can use Emp3r0r to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask Emp3r0r whether a tool or vendor has known issues before connecting it to customer data.
  • A small business can use Emp3r0r to resize and adapt one design for every channel instead of hiring for each version.
  • Emp3r0r runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use Emp3r0r to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect Emp3r0r to scan campaign sites and forms before launch, not after an incident.
  • Creative teams can connect Emp3r0r so agents produce variants for testing while designers keep control of the master files.
  • Start Emp3r0r on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Emp3r0r in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use Emp3r0r to keep evidence for audits, showing which agents reached which data and when.
  • Enterprises can use Emp3r0r with brand rules and approved assets only, so generated work stays inside the brand system.
  • Emp3r0r is a community server, so have security review the code and pin a version before Emp3r0r touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Emp3r0r README

From jm33-m0/emp3r0r on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

emp3r0r

Linux-first multi-operator C2 built to stay quiet and keep working. Self-healing mesh with assisted discovery, in-memory execution with encrypted storage, scriptable agents, cross-platform BOFs, SOCKS5 pivoting, an AI-driven OPSEC-screened MCP server, an autonomous evasion lab that detonates and hardens payloads against local EDR telemetry, and a modular C agent delivered by a sleep-masking stager.

What is emp3r0r?

emp3r0r started as a Linux post-exploitation framework with interactive remote shells and autonomous network pivoting. Over time it grew into a multi-operator C2 featuring modular Go and C agents, a self-healing P2P mesh, in-memory execution across Linux and Windows, and an OPSEC-screened MCP server that lets operators turn their own private AI harness into a fully interactive, natural-language C2 interface.

Features

Extensibility
Scriptable agents

Every agent has an embedded Starlark engine. A module can add post-exploitation logic without rebuilding the agent or uploading an interpreter. Scripts run inside the agent process and use built-in APIs for file I/O, HTTP, process execution, and other common work. They can also call Win32 functions and Linux syscalls through the agent's API proxy. When a script needs an API that is not already present, it can load a DLL or SO from encrypted memfs or the C2 with mem_load_library, call its exports, and unload it when done. Linux eBPF modules use the same path to load libbpf.

Modules are a Starlark file and a small JSON manifest loaded in memory by the agent. Compiled modules use the same in-memory delivery path to run native code.

Compiled modules

BOF, ELF, RV32, and PICO modules run in the agent process:

  • Windows COFF/BOF objects with typed argument packing.
  • Linux ELF relocatable objects loaded from memory by the in-memory loader.
  • Portable RISC-V BOFs (--riscv): the C2 compiles BOF sources for riscv32-linux-musl, links them with musl and any static riscv_libraries into a self-contained guest executable, and runs them inside the on-demand rvvm_linux RV32IMA interpreter on any Linux agent architecture.
  • Crystal-Kit PICO modules with SilentMoonwalk call stack spoofing.

The repository ships Kerbeus-BOF, Remote-OPs, and a Situational Awareness suite for Windows and Linux. On Windows, modules can run under a borrowed access token.

Linux modules and eBPF

Linux modules are Starlark scripts with access to the kernel through libbpf. The agent maps libbpf when a module needs it and exposes its API as Go-backed builtins. This uses the same on-demand loader that mem_load_library exposes; libbpf is just another shared object the module asks for. A script can enumerate BPF objects, attach programs, manage maps and links, and start or stop uprobes.

ssh_harvest is the worked example. It finds a pattern in sshd, attaches a long-lived uprobe, streams captured credentials, and keeps the probe running until --disable.

The loader can map any .so a module declares or supplies, including raw bytes provided by the script.

In-memory operation
In-memory library loader

memmod maps shared libraries into the agent's address space and calls their exports in place. On Windows it loads PE DLLs. On Linux it loads ELF .so files and applies relocations, imports, and symbol lookups without LoadLibrary or dlopen.

The PE side follows WireGuard's memmod. The ELF side follows Sliver and sliverarmory/reflektor. memdeps sits on top: a module declares a dependency, the agent verifies its cached copy in encrypted memory storage against the SHA-256 sent by the C2 (refreshing it from the C2 on a mismatch), maps it for one operation, then unmaps it.

Starlark modules can use the same loader directly with mem_load_library. They are not limited to APIs that are already loaded in the agent or target process.

Encrypted memory storage

Agent file operations use an in-memory AES-GCM encrypted filesystem. Large files spill to disk only as encrypted blobs with no identifying headers. Agents that take part in the P2P mesh cache files in this filesystem and share them with peers.

C2 communication
Agent identity

The first successful check-in pins the agent's public key and signed UUID. Later check-ins must use the same identity. A different key or signature is rejected instead of quietly replacing the old agent. Removing an agent is an operator decision.

C2 and peer connections use ephemeral ECDH keys for each session. A compromised long-term key cannot decrypt traffic from earlier sessions.

Listeners and transport

The C2 supports HTTP, TCP, and UDP listeners. Agents can use beacon-style HTTP polling, streaming HTTP/2, or a QUIC UDP channel. HTTP/2 and QUIC are build-time options (with_h2conn, with_quic). QUIC obfuscates datagrams with a per-build key by default. The --quic-standard-key flag disables that and speaks stock QUIC.

HTTP polling uses a malleable request profile from the C2 config. TLS fingerprints can be randomized with uTLS. Behind an ECH-capable CDN, --doh and --ech hide the inner SNI from the ClientHello. Control messages use CBOR rather than JSON.

Custom transports

Agent-to-C2 traffic can run over any reliable byte stream, such as Tor, DNS, SMB, a cloud API, or a custom protocol, without changing authentication, encryption, modules, or file transfers.

A custom transport has two parts: a small dialer compiled into the Go or C agent, and an external bridge process on the C2 host. The bridge can be written in any language and forwards streams to the running server over a local Unix socket (bridge.sock), so adding or switching transports does not require rebuilding or restarting the C2. Multiple bridges can run at the same time for different agents.

A reference Tor hidden-service transport (with_transport_tor for Go agents, TRANSPORT=tor for C agents) and bridge are included. See the custom transport guide.

Delivery
Stager and sleep masking

The Linux stager talks to the kernel through direct syscalls, needs no libc on the target, and keeps transports and packers pluggable: HTTP, TCP, UDP, libcurl, or libssl for delivery, and RC4 or LZSS for packing. It can fetch the C agent at runtime or embed its PIC with --agent-pic, leaving the downloader and listener configuration out of the artifact.

The agent's sleep mask lives in the stager. While it sleeps, the stager flips the agent's executable pages to non-executable and encrypts the agent images, heap, and stack. No anonymous executable mapping is left behind, and executable mappings return only when the agent wakes and runs. Everything the mask covers is encrypted, and the provider is pluggable, so a custom implementation can replace the default XOR scheme.

C agent

The C agent is deliberately thin: a C2 beacon with no built-in features. It implements only file I/O, network I/O, and dynload helpers that resolve code already present on the host. Everything else arrives as BOF modules, and both the native BOF loader (coffloader_linux) and the RV32IMA interpreter (rvvm_linux) are dependency modules mapped from memory at run time instead of being linked in.

Operators generate it with generate_c:

generate_c --type glibc --arch amd64 --cc your.domain.com
generate_c --type glibc --arch amd64 --cc your.domain.com --interval 60 --jitter 50 --poll-window 5 --offline-grace 0
Network movement
P2P mesh

Agents can discover each other and relay traffic through a gossip mesh. Peer links use camouflage mTLS 1.3, Windows SMB named pipes, or KCP over UDP, and every hop is encrypted. If a relay dies or the C2 becomes unreachable, traffic can move through another peer.

Files can also move directly between peers. The agent keeps fetched files in encrypted memory storage and serves them to peers on request. If no peer has a file, the agent fetches it from the C2.

Pivoting

The C2 can run a SOCKS5 listener that relays through an agent. The operator can use it from inside the WireGuard tunnel or start tun2socks with a route. For example:

socks_start 1080
tun2socks start --route 10.10.0.0/24

Only the listed subnet goes through the agent. Everything else keeps using the operator's normal connection. Tools that do not support a proxy can still reach the agent-side network.

Credentials
Windows tokens and Kerberos

On Windows, emp3r0r can use an access token from another process for Go modules, Starlark, and BOFs. Modules accept --token for an existing token, --user for a disposable netonly session, and --ticket for a Kerberos ticket.

A netonly session keeps the agent's local identity and borrows the target user only for outbound authentication. A ticket can be imported into the same session, so the network identity becomes the ticket's identity while the local process stays unchanged. Because the session is disposable, the credential material can be purged when the operation is done.

AI and automation
MCP server and OPSEC screen

[!WARNING] The MCP server exposes the operator surface to an AI harness and creates a large attack surface. Run it in a dedicated VM or container with no host credentials, no production C2 keys, and restricted egress.

The server speaks the Model Context Protocol over stdin/stdout so external clients such as Claude Code and Codex can select targets, inspect and run modules, use typed filesystem and process tools, transfer files, read job output, reload modules, and build Go or C agents.

Every mutating tool call passes through a deterministic OPSEC screen before reaching the target. The screen classifies module metadata and command lines into telemetry capabilities (such as process creation, filesystem writes, CLR loading, and credential access), noise bands, and reversibility, then enforces the operator's mcp.json policy (allow, warn, or block) and writes pre- and post-execution records to the audit log. The C2 still enforces WireGuard peer identity, single-owner target locks, and job ownership. Tool help is served over MCP; for changing the server, see the MCP development guide.

Read-only tools expose the module registry, target detail, job output, and the operator log, and review_command computes the same deterministic OPSEC verdict without executing anything.

MCP trusts the operator harness and treats target output as hostile data. emp3r0r does not control the harness and cannot mitigate all AI-related threats; isolation and the harness's own security controls remain the operator's responsibility. The screen, source-edit review, payload reversion, and prompt instructions reduce attack surface but do not guarantee containment. A model that can edit source or build inputs can execute code on the operator host, including through a Makefile or another build input when a build-script change is blocked. The loop prompt is a soft guardrail against prompt injection, not a defense. Use complete host or VM isolation for autonomous work. See AI security for model-risk and reporting scope.

Autonomous evasion loop

detect_loop builds loader_windows for Windows or stager_linux with a C agent PIC wrapped by the editable malasada producer for Linux, detonates it in a local LitterBox or LitterBox-compatible PenguinBox sandbox, and runs three model workers: a planner that chooses the next hypothesis, an editor that edits module, agent, or producer source, rebuilds, and re-tests, and a debugger that inspects the sandbox when the payload never checks in. Every cycle is also recorded in a shadow go-git repository under the detection store. Windows imports RedEdr, Moneta, pe-sieve, HollowsHunter, HSB, Patriot, Blender, YARA, CheckPlz, HolyGrail, and every configured EDR profile; Linux imports Tracee syscall/LSM events, Falco alerts, ELF findings, and YARA matches. All traces share one SQLite store with a platform tag, so every verdict maps back to a module file, line, and column. The loop labels the mechanism under test in every cycle and reverts a regression to the best earlier payload.

Before choosing a mechanism, the model reads a cached reference notebook through KnowledgeSearch and KnowledgeRead. knowledge-sync refreshes that offline cache from an MCP notebook server, so the loop itself makes no network calls. The prompt classifies findings by detection surface, asks for a falsifiable telemetry prediction per cycle, and requires source evidence before an edit.

A final host-side check polls for the generated agent UUID and, on Windows, optionally runs a small BOF before the loop reports success. The loop uses the console's C2 connection for agent generation and single-UUID verification. Every dispatch and denial is written to the operator audit log. Source and build edits are code execution; review and prompt rules reduce exposure but do not contain the model, so run the loop in an isolated VM or container. See the detection testing guide for stages, approvals, and the MCP equivalents.

Build profiles
Modular agent builds

Agent features are selected at build time with with_* tags, including the agent transport. The kit ships the Go toolchain, garble, and the editable go_agent source; generate builds an agent on demand with only the feature tags selected by its options. Pass generate --agent-tags to set an exact feature set and generate --list-agent-tags to print the reference. --full/--targets still control prebuilt release artifacts, and --agent-tags selects their exact feature set; --list-agent-tags prints the available tags.

C2 server binaries keep the full feature set, so one server can handle every agent variant.

Documentation

Support

If emp3r0r is useful in your security research or testing, you can support development through GitHub Sponsors.

Questions about Emp3r0r

What is the Emp3r0r MCP server?

Stealthy, Linux-first multi-operator C2 with a self-healing mesh, in-memory execution, AI-driven MCP assistant, and autonomous evasion loop. Emp3r0r is maintained by jm33-m0 on GitHub at jm33-m0/emp3r0r, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Emp3r0r MCP server?

Emp3r0r doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (jm33-m0/emp3r0r). Like most servers, Emp3r0r ends with a command or URL you paste into your AI app's MCP config.

Does Emp3r0r need an API key?

The registry lists no required keys for Emp3r0r. Check the Emp3r0r README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Emp3r0r an official MCP server?

No. Emp3r0r is a community server maintained by jm33-m0. Community servers can be excellent; read the code and the open issues before you give Emp3r0r access to company data.

What license is Emp3r0r under?

Emp3r0r is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of Emp3r0r; the service it connects to has its own terms.