• home
  • drivers & patch
  • tutorials
  • pentest-tools
  • wordlists
    • wordlists-tools
  
Tweet My status    Share

Install Aircrack-ng, Airoscript-ng, Airdrop-ng, Besside-ng on Ubuntu

Aircrack-NG is an 802.11 WEP and WPA/WPA2-PSK keys cracking program that can recover keys once enough data packets have been captured. It can be used for auditing wireless networks.

Update your OS and install these ESSENTIAL and recommended package

NOTE: Before continuing, make sure NOT to be active in Synaptic the Repositories "Proposed" and "Backports":


Copy sudo dpkg --configure -a && sudo apt-get install -f && sudo apt-get update Copy sudo apt-get install linux-headers-$(uname -r) build-essential make patch subversion openssl libssl-dev zlib1g zlib1g-dev libssh2-1-dev libnl1 libnl-dev gettext autoconf tcl8.5 libpcap0.8 libpcap0.8-dev python-scapy python-dev cracklib-runtime macchanger-gtk tshark ethtool
Install/update "IW"
(Wireless Configuration Utility for drivers based on Stacks-mac80211)

[Firt option] Install iw from Ubuntu repository through Synaptic


Copy sudo apt-get install iw

[RECOMMENDED OPTION] Alternatively compiling the latest version available from IW source


Copy sudo mkdir /usr/src/drivers && cd /usr/src/drivers/ Copy sudo wget http://kernel.org/pub/software/network/iw/iw-3.11.tar.bz2 -O - | sudo tar -jxv Copy cd iw* Copy sudo make && sudo make install

If present, before you continue, uninstall Aircrack-NG and delete the old directory

If installed from Ubuntu repositories through "Synaptic" package manager, use this procedure:


Copy sudo apt-get remove --purge aircrack-ng

If however you have installed aircrack-ng-1.1.tar.gz package or compiled Aircrack-NG from source code (SVN version), also use this procedure for future updates:


Copy cd ~/aircrack-ng;sudo make uninstall && sudo make clean Copy rm -rf ~/aircrack-ng

Installing Aircrack-NG with Airolib-NG support on Ubuntu
(requires SQLite3 installed)

Install SQLite

[Firt option] Installation of SQLite 3 from Ubuntu repository through Synaptic


Copy sudo apt-get install sqlite3 libsqlite3-dev

[Second Option] Alternatively compiling SQLite 3 3.7.3 from source


Copy sudo mkdir /usr/src/drivers && cd /usr/src/drivers/ Copy sudo wget http://www.sqlite.org/sqlite-3.7.3.tar.gz -O - | sudo tar -xvz Copy cd sqlite* Copy sudo ./configure --disable-tcl Copy sudo make && sudo make install
To check the version of SQLite 3 installed
Copy sqlite3 --version

Compiling Aircrack-NG SVN + Airolib-ng without experimental (unstable) programs

This download requires a bit of time, don't stop/exit from your terminal to completion.


Copy cd ~/ && svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng Copy cd ~/aircrack-ng && make sqlite=true Copy sudo make sqlite=true install

Install Aircrack-NG SVN + Airolib-NG with experimental (unstable) programs

Recommended installation

Install the entire suite of latest Aircrack-NG including experimental programs such us: Tkiptun-NG, Wesside­-NG, Besside-­NG, Easside­-NG/Buddy-­ng.

And also download external scripts such us: Airdrop-NG, Airgraph-NG, Airoscript-NG, Versuck-NG.

NOTA:

In the last month, experimental programs are frequently updated to be improved.

So I suggest to install this working release and installable with the usual method, pending the final changes.


Copy rm -rf ~/aircrack-ng/scripts/airdrop-ng ~/aircrack-ng/scripts/airgraph-ng ~/aircrack-ng/scripts/airoscript-ng && cd ~/aircrack-ng/scripts/ Copy svn co -r 2048 http://svn.aircrack-ng.org/trunk/scripts/airdrop-ng/ airdrop-ng && svn co -r 2048 http://svn.aircrack-ng.org/trunk/scripts/airgraph-ng/ airgraph-ng && svn co -r 1000 http://svn.aircrack-ng.org/branch/airoscript-ng/ airoscript-ng Copy make sqlite=true unstable=true Copy sudo make sqlite=true unstable=true install

Image sse2

Installing Airoscript-NG on Ubuntu

Build Airoscript-NG

Copy cd ~/aircrack-ng/scripts/airoscript-ng Copy sudo make
NOTE:

Airoscript-NG requires opening with the privileges of "root".


Copy sudo airoscript-ng

Installing Airgraph-NG on Ubuntu

- This tool creates an file image of network received with Airodump-NG

For install Airgraph-NG


Copy cd aircrack-ng/scripts/airgraph-ng Copy sudo make install

For uninstall Airgraph-NG


Copy cd aircrack-ng/scripts/airgraph-ng && sudo make uninstall


Examples of the image file created using Airgraph-NG


Image Airgraph-NG  Image Google Earth

Installing Airdrop-NG on Ubuntu

Building Airdrop-NG

NOTE FOR UBUNTU:

requires installation of "python-dev" of your Python version installed


Copy cd ~/aircrack­ng/scripts/airdrop-­ng Copy sudo python install.py

Update IEEE's OUI public database


Copy cd ~/aircrack­ng/scripts/airdrop-­ng Copy sudo airdrop­ng ­-u

########################
#           Welcome to AirDrop-ng           #

########################
Going to support/ to install new oui.txt...
Writing OUI file
Completed Successfully

Useful Aircrack-NG commands

For update IEEE's OUI public database (from release 1.0 rc4 r1616)

Copy sudo airodump-ng-oui-update
To check the installed version of Aircrack-NG

Copy aircrack-ng --help | head -n 5
To verify the correct installation and compatibility with new SSE2-SHA1 support

Copy aircrack-ng -u Aircrack-ng -u
To run the WPA cracking speed test

Copy aircrack-ng -S Aircrack-ng -u
To limit the CPU usage if you reach too high temperatures
(if you have a multiprocessor PC)

Copy aircrack-ng -p Number_of_CPU
To export the capture file/Handshake in oclHashcat format

Copy aircrack-ng -J Test-OCL Your_Captured_File.cap

Error Aircrack-NG fixed channel mon0: -1

To mitigate the Aireplay-NG issue --> "mon0 is on channel -1" without patching drivers using the option "--ignore-negative-one"

Copy sudo aireplay-ng -0 2 -a 00:16:XX:XX:XX:XX -c 00:46:XX:XX:XX:XX --ignore-negative-one mon0
To mitigate the Airodump-NG issue --> "Monitor Mode: Fixed channel mon0: -1" without patching drivers using the option "--ignore-negative-one"

Copy sudo airodump-ng --ignore-negative-one mon0
To verify the correct operation of Airolib-NG and SQLite

Airolib-ng Test

Update Aircrack-NG on BackTrak 5

For update Aircrack-ng SVN

Follow the same procedure as for Ubuntu without remove/uninstall Aircrack-NG, changing only the installation directory/path.
(correct directory --> "/pentest/wireless/")


Copy cd /pentest/wireless ­
Click on the images attached below for enlarge

Aggiornare BackTrack 5    Aggiornare BackTrack 5

Configuring the CPU Frequency Scaling Monitor on Ununtu
(to optimize the CPU-clock)

After the new implementation of SH1-SSE2 code, the velocity and number of K/s is greatly increased and improved.

During the WPA crack process (brute force or dictionary attack) the CPUs present and recognized by the program, now works always at 100%, but this also increases the temperature of processors.

I suggest to use the setting "ondemand", this in order to lower the CPU temperature and improve the autonomy of the battery, when used the Notebook, but if the temperatures reach or exceed 100 degrees Celsius, select the option "powersafe".

Reconfigure Gnome­-Applets

Copy sudo dpkg-reconfigure gnome-applets

Select --> "YES" to question, for enable the permissions of "root".

Click the image

And finally, add the icon of "cpufreq-­selector" in the top panel of Ubuntu: --> Click on the new icon added, and you can select different modes for single CPU.

Personally, i suggest you the setting "Ondemand", both to lower temperatures, in order to improve the battery life when used with Notebook.

IMPORTANT NOTE:

Centrino Duo processor, is designed to work with critical temperatures around 100 degrees Celsius.

Do not be alarmed if the work temperatures is 85/90°, but does not exceed for a long time.

In case, the increase was higher than these values, I suggest you take the icon of CPU frequency and changing the option to "On Demand" in "POWERSAVE", or setting the CPU clock fixed at 1 GHz.


Enjoy, Jano

Written: 23/Gen/2009
Updated: 05/Sep/2013

Disclaimer


Ubuntu Logo
Aircrack-ng Logo



 In this Site & Aircrack-NG
Aircrack-ng Site

For support or additional documentations refer to the Official Website of Aircrack-NG



To support this site



©2010-2012 JanoWeb.NET | All Rights Reserved | Terms & Policy |
Valid XHTML 1.0 TransitionalValid CSS 3Creative Commons Licenses WebSite Reputation