сряда, 12 септември 2012 г.

Check your WiFi network strength

Everybody says: 8 symbols are enough...
I am not so sure. If we use a bad password, we make our wifi net very vulnerable to the open world.
For example an wifi protected with WPA2 and a pass with 8-9 digits only can be opened (with simple desktop pc) for couple of seconds. If we have 15-16 symbol not pretty nitty pass, it'll take 4-6 hours.
Let's take a look how to check our wifi strength:

1. First we need to download the source of the program called reaver, needed libraries, to build and to install it.

wget http://reaver-wps.googlecode.com/files/reaver-1.4.tar.gz
tar -xzvf reaver-1.4.tar.gz
apt-get install libpcap-dev sqlite3 libsqlite3-dev libpcap0.8-dev
cd reaver-1.4/src
make install

2.  We have to install and build aircrack-ng from source

apt-get install build-essential libssl-dev
wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
tar -zxvf aircrack-ng-1.1.tar.gz && cd aircrack-ng-1.1

3. We must make a modification in common.mak, without it the build process will fail

pico common.mak
# modify this line:
CFLAGS          ?= -g -W -Wall -Werror -O3
# to look like this:
CFLAGS          ?= -g -W -Wall -O3
# run as admin:
make install

4. Final step is to put our wlan card (wlan0) into monitoring mode and to start the reaver

airmon-ng start wlan0
airodump-ng mon0
sudo reaver -i mon0 -b 00:00:00:00:00:00

5. And the last - to wait until you've get the result.