Kali Linux Raspberry Pi

How to get into Monitor-Mode

--------------------------------------------------------------------------------------

My wifi interface for packet capture is: TP-LINK TL-WN722N. Very popular for the Pi interface.

First thing first is you need to update then download the latest Aircrack-ng version. You should already be in root mode in Kali Linux, no need for sudo at the beginning of the command.

  • apt-get update
  • apt-get install aircrack-ng -y

This will install all the packages and programs you will need to run in Monitor Mode from the Aircrack-ng suite and will be able to capture packets. First check what name of your interface is.

  • ifconfig -a

Now to place an interface in Monitor Mode you must first have an interface that has a chipset that will be able to do this. Not all WiFi interfaces have this chipset and ability.

  • airmon-ng check

This will check all networking processes being used from the system.

  • airmon-ng check kill

This will kill all services that were showing. This is needed to be done.

  • airmon-ng start wlan0 <- (your interface name)

Your interface name should end with "mon" at the end. Mine is "wlan0mon".

This will take a second to transfer. You now should be in monitor mode. This monitor mode will not let you to the internet nor connect to a network. Because you have turned this off to capture packets. It can only do one at a time.

To turn off monitor mode and to return to your own connected network:

  • airmon-ng stop wlan0mon

To turn network services back on:

  • service network-manager restart

There you have it. You can now move on to capturing packets!

Fluxion

"Fluxion is the future of MITM WPA attacks."

--------------------------------------------------------------------------------------

Well I can across this program in the past few days and finally downloaded it and tried it. This is the go to for quick MITM, Bruteforce, all of the above for the WiFi crackin'!

So to download this type in these commands:

  • apt-get install git
  • apt-get update
  • git clone https://github.com/wi-fi-analyzer/fluxion.git

This should download it into whatever your current directory is. You must now CD into the Fluxion directory. LS to show the files and notice the Installer.sh is shell file:

  • ./Installer.sh

This will go through it's process of all the programs it needs to use Fluxion. This could take up to 10-15 minutes depending on how much you need downloaded and installed.

Once that is complete you can start it up by running the shell ./fluxion file:

  • ./fluxion

This now will open and you will be prompted to navigate through the choices they give you on screen.