Skip to content

EdoardoAllegrini/botnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Botnet

A botnet architecture made by Command and Control (C&C) and some bots.

· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

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

(back to top)

Built With

  • Python

(back to top)

Getting Started

Prerequisites

  • python (version>=3.10)
  • mininet (not mandatory but suggested for simulating a net)

Installation

  1. Clone the repo
    git clone https://github.com/EdoardoAllegrini/botnet
  2. 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
  3. Give botnet/run_botnet.sh 'x' permission
    cd botnet
    chmod +x ./run_botnet.sh

(back to top)

Usage with mininet

  1. Run the net:
    cd botnet
    ./run_botnet.sh
  2. Open at least two terminals:
    mininet> xterm h1
    mininet> xterm h2
  3. On h1 execute the Command an Control:
    python3 CC_main.py
  4. On other hosts (h2, ..., hx where x=6) execute the Bot:
    python3 bot_main.py

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Edoardo Allegrini - website

Project Link: https://github.com/EdoardoAllegrini/botnet

(back to top)

About

Botnet architecture made by Command and Control (C&C) and some bots.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors