Icarus
Rust
C2
Maldev

A Command and Control server and his agent written in Rust๐ฆ!
[!warning] ๐งThis project is still in development!
Features
- ๐จโ๐ป AES-256 encrypted traffic
- ๐ Agent auto update
- ๐ค Agent persitence
- ๐ Task Queuing
Features to come
- ๐ AV & EDR evasion
- ๐ฑโ๐ค Agent Stealth Infection
- โข Agent nuke
- ๐ File Transfer
- ๐ธ Screenshot
- ๐ป Web Interface
- ๐ค Auto Deployment
Installation
Pre-requisites
Have Rust installed on your machine. You can install it by following the instructions on the official website.
Clone the repository
git clone https://github.com/Code-Barru/icarus.git
cd icarus
Change the Server addr in setup/main.rs
.
Build the project
cargo build --release
Launch the database
docker-compose up -d
Setup environment variables
export DATABASE_URL=postgres://icarus:icarus@localhost/icarus
export RSA_PRIVATE_KEY_PATH=path/to/private_key.pem # Optional, default is private_key.pem
export RUST_LOG={info,debug,error,trace} # Optional, default is info
Can also be set in a .env
file.
Apply the migrations
cd server
diesel migration run
Create server distribution folder && copy binaries
mkdir dist
cp ../target/release/agent.exe dist/
cp ../target/release/setup.exe dist/
Launch the server
cargo run -p server --release
You now just have to upload โsetupโ to the target !
License
This project is licensed under the MIT License - see the LICENSE file for details.
Legal disclaimer
Usage of this tool for attacking targets without prior mutual consent is illegal. Itโs the end userโs responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.