A botnet architecture made by Command and Control (C&C) and some bots.
·
Report Bug
·
Request Feature
Table of Contents
Botnet occurs commonly in today's cyber attacks, resulting in serious threats to our network assets and organization's properties.
Botnets are collections of compromised computers (Bots) which are remotely controlled by a common command-and-control (C&C) infrastructure which is used to distribute commands to the Bots for malicious activities such as distributed denial-of-service (DDoS) attacks, sending large amount of SPAM and other nefarious purposes.
This tool can be used to simulate a botnet and control all the Bots by a single CLI offered by C&C. Using the CLI you can tell Bots to perform a bunch of cyber attacks:
- DDoS
- send email batch
- spoof software/hardware info about Bot
- python (version>=3.10)
- mininet (not mandatory but suggested for simulating a net)
- Clone the repo
git clone https://github.com/EdoardoAllegrini/botnet
- Install mininet (http://mininet.org/walkthrough/)
cd ~ git clone https://github.com/mininet/mininet # if it's not already there mininet/util/install.sh -w
- Give botnet/run_botnet.sh 'x' permission
cd botnet chmod +x ./run_botnet.sh
- Run the net:
cd botnet ./run_botnet.sh - Open at least two terminals:
mininet> xterm h1 mininet> xterm h2
- On h1 execute the Command an Control:
python3 CC_main.py
- On other hosts (h2, ..., hx where x=6) execute the Bot:
python3 bot_main.py
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Edoardo Allegrini - website
Project Link: https://github.com/EdoardoAllegrini/botnet