Linux C2 agent for AdaptixC2. Written in C with TCP and HTTP transports.
- TCP and HTTP callback channels
- File operations: upload, download, zip, cp, mv, rm, mkdir, cat, ls
- Process management: ps, kill, shell, background jobs
- Interactive terminal (PTY) over encrypted relay
- SOCKS-style TCP tunneling with AES-CTR encryption
- Tradecraft: anti-debug checks, memfd exec (fileless execution), process name spoofing
- MessagePack serialization (vendored mpack)
- Compression (vendored miniz)
make tcp # TCP transport
make http # HTTP transport
Or with CMake:
mkdir build && cd build
cmake -DTRANSPORT=tcp .. # or -DTRANSPORT=http
make
Requires OpenSSL, pthreads, and libutil. HTTP transport also requires libcurl.
src/ main entrypoints + core logic
include/ headers
src/tradecraft/ anti-debug, memfd exec, process name spoofing
lib/mpack/ vendored MessagePack C library
lib/miniz/ compression library
For authorized security testing and research only.