Install aircrack-ng on ubuntu 16.04 LTS

let us begin with the installation of the necessary packages that aircrack-ng to work on ubuntu, open a terminal and type the following:

  • apt-get -y install libssl-dev libnl-3-dev libnl-genl-3-dev ethtool

Now that the necessary packages are installed, we download the latest version of aircrack-ng, unpacking and installation.

In this article I have aircrack-ng version 1.2 RC3-tested.

Further, in the terminal:

  • sudo wget
  • sudo tar -zxvf aircrack-ng-1.2-rc3.tar.gz
  • sudo cd aircrack-ng-1.2-rc3
  • sudo make sudo make install

After we install aircrack-ng, it is necessary to update the IEEE OUI file. The OUI is usually used to make 802 IEEE-defined MAC addresses, and we need to get aircrack-ng works.

Further, in the terminal:

  • sudo airodump-ng-oui-update

(may take some time, do not worry if the 5 or less takes somewhat longer)

Explained private share
A MAC address is an almost unique identification number assigned to a device on an Ethernet network. In the OSI model is a MAC address in the data link layer (more specifically: de Media Access Control-sublaag). MAC stands for “Media Access Control” and is also called hardware address or physical address listed. It ensures that devices can communicate in an Ethernet network with each other. Virtually every network device has a fixed, manufacturer specific MAC address. MAC addresses are only locally relevant. As soon as a packet passes a router changes both the source- as the destination MAC address. The MAC address is usually referred to in hexadecimal form, for example 00:0C:6And:D2:11:E6. In it through the IEEE-802 standard certain numbering (MAC48) are there 281.474.976.710.656 (2566) unique capabilities. There is already a new standard because it is expected that the unique numbering ever 'on’ will hit. In principle, every device must have a unique MAC address, and no two may be the same in a network. This is achieved by assigning a different range of addresses to each manufacturer of network equipment. Manufacturers may use any address but once. On the first 24 bits of a MAC address (of Organizational Unique Identifier (YES)) the manufacturer of the equipment can be derived.[1] A host on a local network starts a connection by querying the MAC address of the receiving party. If no static reference is created on the host this is done with the Address Resolution Protocol and the broadcast MAC address FF:FF:FF:FF:FF:FF. To reduce the use of broadcasts are once scholar networking sites usually temporary cached locally. A network switch remembers the MAC addresses of connected devices in the CAM table (content addressable memory) so that traffic can be switched between two systems in question and not all cables have to be sent in a star network. This is very conducive to the speed of the network. A MAC address can also be used to form a EUI-64-IPv6 address. Some ISPs use the MAC address to identify their customers. If your Internet connection stops working after installing a new computer or network, , one should ask the service provider to carry out an ARP flush, or one can with a software trick mimic the previous MAC address (mac-cloning). By sending ARP packets with spoofed MAC addresses (arp-spoofing) it is possible to perform a man-in-the-middle-attack. Also, it can be sent from a plethora of ARP packets with random MAC addresses at a number of switches, lead to its' thinking’ that their CAM table is worthless so they then forward all packets from all ports and effectively change into a hub (cam-table-flooding). An attacker could then drain all local network traffic using a packet sniffer. The use of MAC addresses in a wireless network in order to verify the authenticity of users is the possibility of simulating any serious security solution.

As aircrack-ng installed on Ubuntu 16.04 LTS, Now we go our wireless card into monitor mode places, In this way we know that everything is working.

Further terminal:

  • sudo airmon-ng start wlan0

This will be your wireless card into monitor mode places, you will see that it has created a new interface, namely wlan0mon. With this we will continue to see which networks are around us.

Further terminal:

  • sudo airodump-ng wlan0mon

If you can see the networks that surround your home network, aircrack-ng is successfully installed


  • Alexis

    Good evening ,
    cool your tutorial d`installation , `j`arrive but not to install the necessary packages that aircrack-ng going to work on ubuntu.
    when typing the command apt-get -y install libssl-dev libnl-3-dev-libnl genl-3-dev ethtool
    j`obtiens this response Unable to lock the administration directory (/var / lib / dpkg /). Do you have root privileges ?
    plz help me to solve this problem `….
    thank you,

    • mythras

      I speak Dutch
      translated by google translate 🙂

      installing in the terminal # sudo apt-get -y installer libssl-dev libnl-3-dev libnl-genl-3-dev ethtool. sudo gives you the rights to install

  • great website,how to create the website?

  • from this link i know how to installing thus, thankyou.
    have nice day

Leave a Reply

Your email address will not be published. Required fields are marked *