Jean Martins: Jeanfmc - Github.io

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

28/11/2018 Hacking: Aircrack-ng on Mac OsX | Cracking wi-fi without kali in parallels | Jean Martins

Jean Martins

jeanfmc.github.io

Hacking: Aircrack-ng on Mac OsX


| Cracking wi-fi without kali
in parallels
12 DE FEBRUARY DE 201812 DE FEBRUARY DE 2018 /
MARTINS JEAN
Hi there,
i expended many many hours looking a way to use the aircrack-ng
in the Linux Kali in Parallels. But with out success. Searching on
google, the alternative was buy a usb wifi, but i didn’t and now i’m
using the aircrack-ng natively on mac.

For crack wifi passwords, fallow these steps. 

1. Install the brew:

Maybe you already have the homebrew installed in your mac, but if
not, INSTALL RIGHT NOW!!! The homebrew is like the linux apt-
get, and will provide to you things that the apple don’t.

https://martinsjean256.wordpress.com/2018/02/12/hacking-aircrack-ng-on-mac-cracking-wi-fi-without-kali-in-parallels/ 1/10
28/11/2018 Hacking: Aircrack-ng on Mac OsX | Cracking wi-fi without kali in parallels | Jean Martins

2. Install the aircrack-ng and create


necessary links:

With the homebrew installed, use this command:

brew install aircrack-ng

With the aircrack-ng installed, use this command:

sudo ln -s /usr/local/Cellar/aircrack-ng/1.1_2/bin/aircrack-ng
/usr/local/bin/aircrack-ng

Now the command are able to be used. The homebrew install folder
are “/usr/local/Cellar” and this command created a link of this folder
to be used directly on terminal. Other tool that will be necessary is
the airport. So we will create a other link too.

sudo ln -s
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
/usr/local/bin/airport

3. Find a target to crack:

Ok, now we have our very useful tools prepared to start. Check if


your wifi are turn-in and let’s see wifis that are close.

airport -s

This is the list of wifi able. Are three important information that we
need look for, the RSS, channel and BSSID.

Chose the connection with less RSSI, the less is better. In this case
i’ll crack the last one.

https://martinsjean256.wordpress.com/2018/02/12/hacking-aircrack-ng-on-mac-cracking-wi-fi-without-kali-in-parallels/ 2/10
28/11/2018 Hacking: Aircrack-ng on Mac OsX | Cracking wi-fi without kali in parallels | Jean Martins

Turn-off your connection but maintain the wifi turned-in. If you


don’t do, the interface en0 will be active and busy.

airport -z

4. Capturing a four way handshake:

Sniff the channel selected.

airport <interface> sniff <channel>

This command will sniff the traffic on channel and log on tmp
folder. You can see the log file with:
https://martinsjean256.wordpress.com/2018/02/12/hacking-aircrack-ng-on-mac-cracking-wi-fi-without-kali-in-parallels/ 3/10
28/11/2018 Hacking: Aircrack-ng on Mac OsX | Cracking wi-fi without kali in parallels | Jean Martins

ls /tmp/airportSniff*.cap

Get the name of the file because we will use them in the next step.
This file is very important because it will contain the hash captured
by the handshake. And the brute force will try broke this hash
comparing with each line of the wordlist file.

6. Forcing a handshake with deauth –


(Death Authentication):

On Kali we can use the aireplay command, but on mac we don’t


have this tool. My suggestion is the JamWiFi
(http://macheads101.com/pages/downloads/mac/JamWiFi.app.zip).
With this software you can make a death authentication attack and
force a auto 4way handshake. Just press Scan, chose the target and
press Deauth to restart all connections.

Chose the network press JAM, Do it! and Done.

7. Starting the brute force by CPU:

Use this command:

aircrack-ng -1 -a 1 -b <BSSID> <cap_file> -w <wordlist>

The first information are about the tries, and the second one will
show each word of your wordlist that has been try.

https://martinsjean256.wordpress.com/2018/02/12/hacking-aircrack-ng-on-mac-cracking-wi-fi-without-kali-in-parallels/ 4/10
28/11/2018 Hacking: Aircrack-ng on Mac OsX | Cracking wi-fi without kali in parallels | Jean Martins

And a long time after…

The Key FOUND! So, enjoy it.

8. Getting out:

To turn off the monitoring mode kill airport the process.

If it dosen’t work check if the JamWifi are scanning, you need close
it..

And it’s it, good look for find a wifi with a poor password…

https://martinsjean256.wordpress.com/2018/02/12/hacking-aircrack-ng-on-mac-cracking-wi-fi-without-kali-in-parallels/ 5/10

You might also like