📜 ⬆️ ⬇️

Running Aircrack-ng and Reaver on Android

When there is nothing to do or how I installed aircrack and reaver on android.
I wondered if I should try installing kali-linux on android via linux installer, but then I changed my mind and decided to just install reaver and aircrack on the phone. But then the question arose how to transfer WiFi to monitor mode.

image

On the Internet about the launch of reaver'a and aircrack'a under android'om little information, mainly on XDA-Developers . Based on what I read from XDA, in order to put WiFi into monitor mode, you need to compile / install custom drivers for WiFi on your phone, which, moreover, is not a fact that they will work ... Well, in general, I didn’t read anything good there Unless found reaver compiled under android. But with the aircrack'om there was a problem, I was looking for it for a long time and tediously, but I found a static version for armel.
So the floor is done, it remains to deal with the monitor mode.
Again, on the XDA there was an article about it, but there it was required to install custom drivers and in my core. I thought it was too much, I thought maybe it would work out without it. I started a terminal emulator on my phone and started to pick up. As a result, I found out that both the drivers and the adapter support the monitor mode, but it was not so easy to translate the adapter into this very mode. But good Google helped me deal with this problem.
So almost everything is ready. Run airodump-ng :

image
')
Oh miracle it works.
Well, by the way, now you can try to start reaver :

image

Does it even work?
But each barrel of honey has its own fly in the ointment:

image

From the above screenshot, it can be seen that the reaver key search speed is 7 seconds per key, which is of course regrettable. Wait until he chooses the password to the router would be unwise, so I did not.
The test was the SE Xperia Mini, but on newer, more powerful phones, I think the process will go faster.

Instruction:


Suddenly, someone will come in handy.

A warning! The author is not responsible for the consequences; everything you do you do at your own peril and risk.


All that I did, I did on Android ICS 4.0.4 (I don’t know if it will work for others, but I think it should be on 4.xx).

We will need:

  1. Phone with Android'om on board (In this case, SE Xperia Mini, 512 RAM, 1 GHz, Android ICS 4.0.4 );
  2. Ruth is right;
  3. Terminal emulator or equivalent;
  4. Reaver and aircrack compiled under android (you can download it here or collect your own);
  5. Router (In this case, TP-Link to the model account - I do not know);
  6. A computer with ADB installed is optional but convenient;
  7. And most importantly - straight arms, without them - no way.

So let's start

There are two options:
  1. Copy the utility to the SD card and remount it for execution;
  2. Remount / system for recording and drop it there.

I chose the second method.

Next, we need to start WiFi in monitor mode (while the monitor is running, the WiFi will be a bit unstable).
First you need to create an instance of the monitor, for this we go to the terminal and write:
su iw phy0 interface add mon0 type monitor 

mon0 can be replaced by any other name

As a result, we get something like this:

image

If you type netcfg see the following:

image

Where wlan0 and mon0 are exactly what we need.
For the monitor to work WiFi must be enabled in the phone settings

Remained a little.

Run airodump

 netcfg mon0 up cd ////airodump ./airodump -i mon0 


image

To stop, press Ctrl + C (turn down the volume, then C on the English layout - true for Android Terminal Emulator).

Run reaver

 cd ////reaver ./reaver -i mon0 -b 11:22:33:44:55:66 -vv 

11: 22: 33: 44: 55: 66 as you understood it is necessary to replace the necessary network with the BSSID

image

To stop, press Ctrl + C (turn down the volume, then C on the English layout - true for Android Terminal Emulator).

Afterword

Sifting through reaver is of course slow, but maybe the process will go faster on newer powerful phones.
Besides reaver, there are airbase-ng, aircrack-ng, airdecap-ng, airdecloak-ng, aireplay-ng, airodump-ng, airserv-ng, airtun-ng, besside-ng, besside-ng-crawler, packetforge -ng, wash can someone come in handy.

And I also want to warn you that ...


UPD: For those who do not have iw, you can take it here
For those who do not have ifconfig, you need to install busybox
For those who do not have iwconfig, you can find it here.

Source: https://habr.com/ru/post/190554/


All Articles