Icarus

siRust Rust
C2
Maldev
Icarus

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.