RPL Attacks Framework is aimed to provide a simple and convenient way to generate simulations and deploy malicious motes for a Wireless Sensor Network (WSN) that uses Routing Protocol for Low-power and lossy devices (RPL) as its network layer.
With this framework, it is possible to easily define campaign of simulations either redefining RPL configuration constants, modifying single lines from the ContikiRPL library or using an own external RPL library. Moreover, experiments in a campaign can be generated either based on a same or a randomized topology for each simulation.
A few test cases made with the framework:
1. flooding attack.
2. versioning attack.
3. blackhole attack.
Usage and install requirements:
git clone https://github.com/dhondta/rpl-attacks.git && cd rpl-attacks
sudo pip install -r requirements.txt
sudo pip3 install -r requirements.txt
Install system requirements
sudo apt-get install build-essential binutils-msp430 gcc-msp430 msp430-libc msp430mcu mspdebug binutils-avr gcc-avr gdb-avr avr-libc avrdude openjdk-7-jdk openjdk-7-jre ant libncurses5-dev lib32ncurses5
sudo apt-get install gfortran libopenblas-dev liblapack-dev
sudo apt-get install build-essential python-dev libffi-dev libssl-dev
sudo apt-get install python-numpy python-scipy
sudo apt-get install libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
sudo apt-get install imagemagick libcairo2-dev libffi-dev