Presentasi

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 29

Wireless LAN Security

 Setup & Optimizing Wireless Client in Linux


 Hacking and Cracking Wireless LAN

 Setup Host Based AP ( hostap ) in Linux & freeBSD

 Securing & Managing Wireless LAN : Implementing

802.1x EAP-TLS EAP-PEAP-MSCHAPv2 , FreeRADIUS


+ dialupadmin + MySQL with Windows XP SP2 &
Linux Client using wpa_supplicant ( DEMO  )
 Make Deep Security (99%) with WPA2

Wifi Protected Access = 802.1x + ( TKIP or CCMP )


How to Setup & Optimizing Wireless
Client in Linux
 Wireless Client Adapter Recommended for Linux
User
http://www.seattlewireless.net/index.cgi/HardwareComparison
http://www.seattlewireless.net/index.cgi/Client_5fAdapters_5f802_5f11b
 Recommended to use latest kernel
 Tips & Tricks using wlan-ng driver
 Tips & Tricks using Orinoco compatible
 Tips & Tricks using hostap
Use latest kernel and configure to
support your hardware
 Get a latest Kernel & unpack
Get from http://www.kernel.org
 Configure your kernel source to support
wireless lan drivers ( non-harmradio ) &
wireless extensions and your adapter
( pcmcia/PCI/USB ).
 make menuconfig ( I’m love in it :p )
For PCMCIA cards
Make fun with your kernel
 make
 make modules_install

 copy yourbzimage and System Map to

/boot
 Configure your boot loader ;

For LILOman  , don’t forget to type lilo –v


and reboot your computer to use your
new kernel
Tips & Trick using wlan-ng
driver
 Works only for prism2/2.5/3 cards
 Get latest wlan-ng package from the net

http://www.linux-wlan.com/download.html
 Unpack, hack the source , configure to your

kernel, compile and install


Find words “sens” ( sensitivity ) in source code using
mc or grep tools ;
Compile and install wlan-ng module

 [root@lognight root]# cd /usr/src/linux-wlan-ng-0.2.1pre21/


 [root@lognight linux-wlan-ng-0.2.1pre21]# make all; make install;

For Pcmcia Card Adapter, install pcmcia-cs first.


The latest package is recommended.
Get from http://pcmcia-cs.sourceforge.net/
I use pcmcia-cs-3.2.8.
 [root@lognight src]# tar -zxvf pcmcia-cs-3.2.8.tar.gz
 [root@lognight src]# cd pcmcia-cs-3.2.8
 [root@lognight pcmcia-cs-3.2.8]#
Compiling and installing, setting
configuration pcmcia-cs and starting
pcmcia daemon
 make all
 make install

Now go to /etc/pcmcia and edit *.conf and


*.opts

 /etc/init.d/pcmcia start
Starting PCMCIA services: cardmgr[23313]: watching 1 socket
done.
wlan-ng version

wlan-ng bundle with


primary and station
firmware.
Automatically
upgrades your
firmware into ram

NIC version Identity

Primary Firmware
version

Station Firmware version

Serial Number Adapter


Tips & Trick using Orinoco
driver
 Only for Orinoco compatible cards
(Lucent/Cabletron, Hermes, Orinoco, Prism2 )
 Get latest orinoco package from net
http://savannah.nongnu.org/cvs/?group=orinoco
http://ozlabs.org/people/dgibson/dldwd/
http://airsnort.shmoo.com/
 Unpack, compile and install to your kernel
[root@lognight root]# cd /usr/src/orinoco-0.15rc1
[root@lognight orinoco-0.15rc1]# vi orinoco.c
Find words “sens” ( sensitivity ) in source code using mc or grep
tools ; Edit them
We can also tune the txpower. It’s only used for prior to 0.15rc1 version. Txpower in
the new version orinoco no longer reported ‘cause unreliable
 make
 make install
 Go to /etc/pcmcia ; edit pcmcia.conf ;
restart pcmcia daemon
dmesg
lsmod & iwconfig
Tips & Tricks using hostap
driver
 Only for Prism2/2.5/3 Cards
 Get latest stable hostap-driver package from net

http://hostap.epitest.fi/releases/
Unpack, hack the source, compile and install to
your kernel

[root@lognight src]# cd hostap-driver-0.2.4/


[root@lognight hostap-driver-0.2.4]#
Find words “sens” ( sensitivity ) in source code using
mc or grep tools ; Edit them

 make
 cd /etc/pcmcia
 mv hostap_cs.conf pcmcia.conf
 restart pcmcia daemon /etc/init.d/pcmcia restart
dmesg & lsmod
iwconfig
THANKS
Setup and Optimizing
Wireless Client in Linux OS
by
Josua M Sinambela
Pengguna OpenSource
email : [email protected]
[email protected]

You might also like