BoNeSi: The DDoS Botnet Simulator

From Elvis Wiki

Summary

BoNeSi is an Open-Source Tool developed by Deutsches Forschungszentrum fuer Kuenstliche Intelligenz. It is used to test DoS and DDoS attacks and analyze their impact. It supports different types of traffic like HTTP and ICMP.

Requirements

  • Operating system: 2x Ubuntu 18.04 bionic amd64 Ubuntu Download
  • Packages: git, make, gcc, libpcap, apache2

Installation Guide

Step 1

Install and start the Apache web server on the target machine

sudo apt-get update
sudo apt-get install apache2
sudo systemctl start apache2

Step 2

Install the following packages on the attacker machine

sudo apt-get update
sudo apt-get install libpcap-dev build-essential git automake

Step 3

Clone the Github repository Github BoNeSi

git clone https://github.com/Markus-Go/bonesi.git

Step 4

Change to the directory and compile

cd bonesi
./configure
make
make install

Step 5

There are many ways how to use BoNeSi.

The first one is to flood the web server with TCP requests:

./src/bonesi -p tcp -d eth0 <TARGET:80>

Another way is to flood the target with ip spoofed request.

The file 50k-bots is a text file which contains random generated IP addresses which are used to flood the target:

./src/bonesi -p tcp -i 50k-bots -d eth0 <TARGET:80>

References