How to Install Wifite on the Raspberry Pi
Today I will be introducing you to a python script software that make WiFi hacking a piece of cake. The program is called Wifite and it aim’s at being an all-in-one WiFi hacking tool that uses the set it and forget philosophy. Wifite is just a python script that automates other tools WiFi tools like: aircrack-ng, reaver, cowpatty, and pyrit. Cowpatty and Pyrit are not required to run Wifite but aircrack-ng and reaver are needed to perform WPS attacks as well as WPA cracking and attacks. Wifite allows you to crack WEP, WPA/2 and WPS enabled networks with just a few commands and will do all the dirty work for you.
The main features Wifite is that it will automatically try to crack or hack selected SSID’s using different methods like Pixie Dust attacks or attempting to crack WPA2 passwords with the word-list you provide. Remember that the cracker is only as strong as the word-list you provide.
I will be installing Wifite on a clean install of Raspbian Jessie Lite, you can use the GUI version if you like but I will be running all the commands from an SSH connection. I will assume you have Raspbian running on your Raspberry Pi but the tutorial should work for any Debian based Linux Distro.
To install Wifite on a Raspberry Pi 3 running Raspbian Jessie
You will need the following:
- Raspberry Pi
- 8GB Micro SD Card (You can use a bigger SD Card to store more videos on your server)
- 2.5A Power Supply
- A WiFi Adapter capable of going into Monitor Mode (You can find a list of my favorite WiFi adapters here)
I will be installing Wifite on a clean version of Raspbian on my Raspberry Pi 3. We will first need to install the aircrack-ng suite onto our Raspberry Pi 3 so let’s begin by installing the libraries that are needed to get aircrack-ng to work on the Raspberry Pi. Type in the following command:
sudo apt-get -y install libssl-dev libnl-3-dev libnl-genl-3-dev ethtool
Now that we have the libraries downloaded and installed, run the following commands to download the latest version of aircrack-ng and then we’ll unzip it and install it. You may want to check out the aircrack-ng download page here and verify the url of the latest linux version. I tested this tutorial with aircrack-ng 1.2-RC4.
tar -zxvf aircrack-ng-1.2-rc4.tar.gz
sudo make install
After we have built aircrack-ng from the source and installed it we will need to update the IEEE OUI file. The OUI is most often used to create IEEE 802-defined MAC addresses and we need it to run aircrack-ng
Now that we have aircrack installed we can begin installing Wifte. Wifite is just a python script that automates other programs so we will not find Wifite using the apt-get command, instead will we be downloading the script straight from the GitHub page for Wifite. Type the following command to download the Wifite python script and to configure the permissions:
wget -O wifite.py https://github.com/derv82/wifite/raw/master/wifite.py
chmod +x wifite.py
That’s basically it. You should be able to run Wifite using the following command:
You can find all the instructions for how to run Wifite by running the help script with the following command. Everything is pretty self explanitory:
sudo ./wifite.py -help