Monday, April 16, 2007

Installing Aircrack-ng

An easy way to install aircrack-ng (aircrack is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, thus making the attack much faster compared to other WEP cracking tools. In fact, aircrack is a set of tools for auditing wireless networks.) and get the newest version.

y3dips@tarantula:~$ svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
A aircrack-ng/airoscript
A aircrack-ng/airoscript/LICENSE
A aircrack-ng/airoscript/AUTHORS
A aircrack-ng/airoscript/CHANGELOG
A aircrack-ng/airoscript/airoscript.sh
A aircrack-ng/airoscript/README
A aircrack-ng/test
A aircrack-ng/test/makeivs.c
A aircrack-ng/test/password.lst
A aircrack-ng/test/wep.shared.key.authentication.cap
A aircrack-ng/test/wpa.cap
A aircrack-ng/test/wpa2.eapol.cap
A aircrack-ng/test/wep.open.system.authentication.cap
A aircrack-ng/LICENSE
A aircrack-ng/VERSION
A aircrack-ng/Makefile.osx
A aircrack-ng/AUTHORS
A aircrack-ng/airmon-ng
A aircrack-ng/ChangeLog
A aircrack-ng/patches
A aircrack-ng/patches/zd1211rw_inject_2.6.17.patch
A aircrack-ng/patches/madwifi-ng-r2277.patch
A aircrack-ng/patches/linux-wlan-0.2.5.packet.injection.patch
A aircrack-ng/patches/hostap-kernel-2.6.18.patch
A aircrack-ng/patches/rtl8187_2.6.20v2.patch
A aircrack-ng/patches/madwifi-old-r1417.patch
A aircrack-ng/patches/prism54-svn-20050724.patch
A aircrack-ng/patches/rtl8180-0.21v2.patch
A aircrack-ng/patches/hostap-driver-0.4.7.patch
A aircrack-ng/patches/ipw2200-1.1.4-inject.patch
A aircrack-ng/patches/zd1211rw_inject_2.6.20.patch
A aircrack-ng/patches/ieee80211_inject.patch
A aircrack-ng/patches/old
A aircrack-ng/patches/old/zd1211rw_malformed.patch
A aircrack-ng/patches/old/rtl8187_1010.0622.patch
A aircrack-ng/patches/old/madwifi-ng-r1475_disable_retry_raw.patch
A aircrack-ng/patches/old/linux-wlan-0.2.3.packet.injection.patch
A aircrack-ng/patches/old/rt2500-cvs-20051008-prismheader.patch
A aircrack-ng/patches/old/rt2500-cvs-2005112305.patch
A aircrack-ng/patches/old/rt2500-cvs-20050724.patch
A aircrack-ng/patches/old/madwifi-ng-r1520.patch
A aircrack-ng/patches/old/hostap-driver-0.4.5.patch
A aircrack-ng/patches/old/rt2570-cvs-20051008-prismheader.patch
A aircrack-ng/patches/old/rtl8187_1010.0622v2.patch
A aircrack-ng/patches/old/hostap-driver-0.3.9.patch
A aircrack-ng/patches/old/madwifi-ng-r1730.patch
A aircrack-ng/patches/old/rt2570-cvs-2005112305.patch
A aircrack-ng/patches/old/madwifi-ng-r1713.patch
A aircrack-ng/patches/old/rt2570-cvs-20050824.patch
A aircrack-ng/patches/old/rtl8187_2.6.20.patch
A aircrack-ng/patches/old/madwifi-ng-r1526.patch
A aircrack-ng/patches/old/madwifi-ng-r1545.patch
A aircrack-ng/patches/old/rtl8180-0.21.patch
A aircrack-ng/patches/old/madwifi-ng-r1486.patch
A aircrack-ng/patches/old/hostap-kernel-2.6.16.patch
A aircrack-ng/patches/old/madwifi-cvs-20051025.patch
A aircrack-ng/patches/old/madwifi-ng-r1983.patch
A aircrack-ng/patches/old/madwifi-ng-r1679.patch
A aircrack-ng/patches/old/madwifi-ng-r1886.patch
A aircrack-ng/patches/old/madwifi-cvs-20050814.patch
A aircrack-ng/patches/old/madwifi-cvs-20050707.patch
A aircrack-ng/patches/old/ipw2200-1.1.3-inject.patch
A aircrack-ng/patches/old/wlanng-0.2.1-pre26.patch
A aircrack-ng/patches/old/madwifi-ng-r1457-1473_disable_retry_raw.patch
A aircrack-ng/src
A aircrack-ng/src/airtun-ng.c
A aircrack-ng/src/uniqueiv.c
A aircrack-ng/src/crc.c
A aircrack-ng/src/aireplay-ng.c
A aircrack-ng/src/kstats.c
A aircrack-ng/src/airdecap-ng.c
A aircrack-ng/src/sha1-mmx.S
A aircrack-ng/src/crypto.c
A aircrack-ng/src/aircrack-ng.c
A aircrack-ng/src/ivstools.c
A aircrack-ng/src/airodump-ng.c
A aircrack-ng/src/crctable.h
A aircrack-ng/src/crypto.h
A aircrack-ng/src/pcap.h
A aircrack-ng/src/common.c
A aircrack-ng/src/version.h
A aircrack-ng/src/packetforge-ng.c
A aircrack-ng/manpages
A aircrack-ng/manpages/aircrack-ng.1
A aircrack-ng/manpages/airodump-ng.1
A aircrack-ng/manpages/ivstools.1
A aircrack-ng/manpages/airtun-ng.1
A aircrack-ng/manpages/airmon-ng.1
A aircrack-ng/manpages/aireplay-ng.1
A aircrack-ng/manpages/kstats.1
A aircrack-ng/manpages/airdecap-ng.1
A aircrack-ng/manpages/packetforge-ng.1
A aircrack-ng/manpages/makeivs.1
A aircrack-ng/Makefile.NetBSD
A aircrack-ng/README
A aircrack-ng/Makefile.other
A aircrack-ng/evalrev
A aircrack-ng/INSTALLING
A aircrack-ng/Makefile.OpenBSD
A aircrack-ng/Makefile.cygwin
A aircrack-ng/Makefile
A aircrack-ng/packages
A aircrack-ng/packages/PKGBUILD
A aircrack-ng/packages/slack-desc
A aircrack-ng/packages/aircrack-ng.spec
Checked out revision 297.

y3dips@tarantula:~/aircrack-ng$ make
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng -lpthread
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/airdecap-ng.c src/crypto.c src/common.c src/crc.c -o airdecap-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/packetforge-ng.c src/common.c src/crc.c -o packetforge-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/ivstools.c src/common.c -o ivstools
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/kstats.c -o kstats
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` test/makeivs.c -o makeivs
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/aireplay-ng.c src/common.c src/crc.c -o aireplay-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/airodump-ng.c src/common.c -o airodump-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`./evalrev` src/airtun-ng.c src/common.c src/crc.c src/crypto.c -o airtun-ng

y3dips@tarantula:~/aircrack-ng$ sudo make install
Password:
install -d /usr/local/bin
install -m 755 aircrack-ng airdecap-ng packetforge-ng ivstools kstats /usr/local/bin
install -m 755 makeivs /usr/local/bin
install -d /usr/local/man/man1
install -m 644 ./manpages/* /usr/local/man/man1
install -d /usr/local/sbin
install -m 755 aireplay-ng airodump-ng airtun-ng /usr/local/sbin
install -m 755 airmon-ng /usr/local/sbin

y3dips@tarantula:~/aircrack-ng$ aircrack-ng

Aircrack-ng 0.7 r297 - (C) 2006,2007 Thomas d'Otreppe
Original work: Christophe Devine
http://www.aircrack-ng.org

usage: aircrack-ng [options] <.cap / .ivs file(s)>

Common options:

-a : force attack mode (1/WEP, 2/WPA-PSK)
-e : target selection: network identifier
-b : target selection: access point's MAC
-q : enable quiet mode (no status output)

Static WEP cracking options:

-c : search alpha-numeric characters only
-t : search binary coded decimal chr only
-h : search the numeric key for Fritz!BOX
-d : debug - specify mask of the key (A1:XX:CF:YY)
-m : MAC address to filter usable packets
-n : WEP key length : 64/128/152/256/512
-i : WEP key index (1 to 4), default: any
-f : bruteforce fudge factor, default: 2
-k : disable one attack method (1 to 17)
-x or -x0 : disable last keybytes bruteforce
-x1 : enable last keybyte bruteforcing (default)
-x2 : enable last two keybytes bruteforcing
-y : experimental single bruteforce mode
-s : show ASCII version of the key

WEP and WPA-PSK cracking options:

-w : path to a dictionary file (multiple
dictionnaries can be specified.
See manpage for more information)

--help : Displays this usage screen

No file to crack specified.

Happy "wifi hacking" then ..

9 comments:

  1. Thank you very much!
    I was screwed up by the building process, and this post really helps me a lot!

    ReplyDelete
  2. Thank you soo much!!
    This really helped me out and saved me so much time!!!!!

    ReplyDelete
  3. @Anonymous: u welcome, hope it helps

    ReplyDelete
  4. Do this patch the drivers for you as well? or you still have to manually patch them? Thanks in advance!!!

    ReplyDelete
  5. I still dont understand..!!how to install it..?what am i supposed to run..?i cant find any executable to run..

    ReplyDelete
  6. sumpah deh ga ngerti..!!

    ReplyDelete
  7. Ok its installed and working,well it was now it says no file to crack specified

    ReplyDelete
  8. Anonymous[1]: yes indeed
    Anonymous[2]: run aricrack-ng
    Anonymous[3]: sumpah deh gitu doank
    Anonymous[4]: supply an IV file that capture all the traffic, generally it has ".cap" as an extension.

    ReplyDelete
  9. after the first command , it doesn't work anymore
    the command make
    i typed in : cd aircrack-ng ; and then make
    but it doesn't work
    can you help me ?

    ReplyDelete