~/felixhub.dev

krousinator

A modular offensive-security framework: a Kubernetes-hosted C2 and a Rust botnet client.

rustsecurityc2kubernetes

What it is

Krousinator is a modular offensive-security framework I built to understand how command-and-control (C2) infrastructure and RATs are actually structured and detected. It orchestrates, deploys, and manages remote payloads across a distributed network of clients, combining stealthy communication, a scalable server design, and low-level injection.

It has two halves: the Kroushive, a command-and-control server that runs in my Kubernetes cluster, and the Krousinator, the Rust client payload that runs on a target machine and connects back to it.

What it does

Kroushive, the C2 server

Runs inside a Kubernetes cluster for high availability. Manages client sessions, issues commands, logs events, exposes an API for operators, handles reverse WebSocket connections, and writes back to a central database. Scales horizontally to control large numbers of clients.

Krousinator, the client

The Rust payload dropped on a target machine. Establishes a persistent, stealthy connection to the Kroushive, executes commands, reports system information, and supports modular payloads that can be extended at runtime.

Built in Rust on K3s

Core binaries are compiled from Rust; the Kroushive runs in Docker/Podman containers on my K3s cluster, fronted by a Cloudflare reverse proxy.

How it fits together