Disclaimer: This information should be used for authorized testing or educational purposes only.
For botnet creation purporcess we will use BYOB repository from Github.
BYOB is an open-source post-exploitation framework for students, researchers and developers. It includes features such as:
- Pre-built C2 server
- Custom payload generator
- 12 post-exploitation modules
It is designed to allow students and developers to easily implement their own code and add cool new features without having to write a C2 server or Remote Administration Tool from scratch.
This project has 2 main parts: the original console-based application (
/byob) and the web GUI (
A control panel for your C2 server with a point-and-click interface for executing post-exploitation modules. The control panel includes an interactive map of client machines and a dashboard which allows efficient, intuitive administration of client machines.
The payload generator uses black magic involving Docker containers & Wine servers to compile executable payloads for any platform/architecture you select. These payloads spawn reverse TCP shells with communication over the network encrypted via AES-256 after generating a secure symmetric key using the Diffie-Hellman IKE.
The web app includes an in-browser terminal emulator so you can still have direct shell access even when using the web GUI.
As example will make installation on Kali linux running on VMware.
First will install Git, will chick Python3 and will make sure Python PIP is installed.
sudo apt-get install git sudo apt-get install python3-pip
sudo git clone https://github.com/malwaredllc/byob
Install docker container in work directory
cd /byob/web-gui sudo apt-get install docker.io -y
Check docker status and make sure it is active
sudo service docker status
If docker is inactive
sudo systemctl docker start
Run the main script
Don’t pay attention at some mistakes caming during installation. It’s recommended by developer also to correct file – requirements.txt located in buob directory by deleting the line: git+https://github.com/jtgrassie/pyrx.git#egg+pyrx.
sudo nano requirements.txt delete git+https://github.com/jtgrassie/pyrx.git#egg+pyrx
On completion just open http://0.0.0.0:5000/ in your web browser