Aircrack-ng installation on Raspberry Pi

Whats needed?

  • A Raspberry Pi (I used a Pi 2)

The Problem:

There are some older binaries available within the raspian repository.
Unfortunatly the Aircrack-ng suite from the repository did not contain every binary we need.

If we want to test our WIFI security, we need an ability to check that. Therefore we need the whole suite of aircrack-ng which is not available on raspbian itself.

The Solution:

We need to download the latest code (or a specific version you prefere) then compile and install on our little raspberry pi.

Note/Advice/Hint

Please be advised that this guide also enables you to test/crack other WIFI’s than yours..
THIS IS NOT LEGAL!
So please just use the Aircrack-ng suite on your own WIFI.

Step I — Preparation

Install all nessecary packages for compilation and capturing

sudo apt-get update && \
sudo apt-get install libssl0.9.8 libssl-dev \
build-essential autoconf automake libtool \
pkg-config libnl-3-dev libnl-genl-3-dev \
libssl-dev libsqlite3-dev libpcre3-dev \
ethtool shtool rfkill zlib1g-dev libpcap-dev screen

Download the sourcecode ( Check for Latest Version here ):

wget https://download.aircrack-ng.org/aircrack-ng-1.3.tar.gz

Extract your Download:

tar -zxvf aircrack-ng-1.3.tar.gz

Step II — Compiling

Configure the software

cd aircrack-ng-1.3 && \
autoreconf -i && \
./configure --enable-shared --with-experimental

Compiling with full force of your Raspberry Pi…
This takes a while…so get yourself a new hot coffee :-)

make -j 4

Step III — Installation

After a few minutes you’ll be able to type the next command.
Now we’re going to install everything:

make install

After doing all the steps above, you can use all aircrack-ng tools from the suite.

Available binaries:

airbase-ng              aircrack-ng             airdecap-ng             airdecloak-ng           aireplay-ng             airmon-ng               airodump-ng             airodump-ng-oui-update  airolib-ng              airserv-ng              airtun-ng               airventriloquist-ng

Update OUI-Table

sudo airodump-ng-oui-update

Thats it, now your software technically able to use the aircrack-ng suite.

Step IV — Usage

Guide comming soon and will be linked here…

Sources:

https://www.aircrack-ng.org/
https://robots.thoughtbot.com/
https://www.cyberciti.biz/

Working as a IT-Operations engineer at NeXenio, a spin-off by Hasso-Plattner-Institute for products around a digitial workspace.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store