Redox is a C2 framework in its infancy written using Rust and has been tested on Windows and Debian distros. It comes with the implant (client) which can be compiled for different platforms. Once you set your server ip in the client implant and run your server, the clients will connect one at a time and you will be able to interact with the connected devices one at a time.
When the implant is ran as user level, you can read and write to disk, run executables, download & transfer files from the C2 or remote locations and all the things you can normally do in a shell.
- Add File transfer
- Organize and display all current connections
- Run implant in memory only
- Hide network traffic
- Add tty support, for now tee relevant commands
File | Description |
---|---|
server | Server program that listens for client connections via TCP |
client | Client program that connects back to server listening for connections via TCP |
This repository does not provide binaries, you will need to compile them yourself.
Install Rust
Follow instructions for your platform and install. Make sure environment variables are correct and that you have a config.toml file in your cargo directory if needed.
Linux users make sure you have pkg-config installed
sudo apt install pkg-config
This is the basic structure of all project folders:
project
├── Cargo.toml
└── src
└── main.rs
Cargo.toml contains the dependencies and the configuration for the compilation. main.rs is the main file that will be compiled along with any directories that contain libraries.
For compiling the project, go into each project directory and execute:
cargo build
this will give you executables you can use portably in each environment: Windows and Linux.
If you want to build the final "release" version execute:
cargo build --release
Change port declarations (line 264 - 265 Server side, and line 189-191 on the implant) and launch server.
Place implant on desired device and run the program.
For quickly running the project, go into each project directory and execute:
cargo run