WLAN Fundamantals

Session x Lab x

Installing Airsnort on Windows XP

Based on Mike's Guide to Airsnort on Windows XP: http://airsnort.shmoo.com/win_setup.html

Step 1: use Windows XP Virtual Machine

Start the Windows XP Virtual Machine installed on the lab computers.

Step 2: Get Airsnort

 

pages/pdf/WLAN-H07/Airsnort.zip

Click on the link: http://sourceforge.net/projects/airsnort and go to the download area to get the most recent version. Save to file to a directory on the computer.

A complete packadge can also be downloaded from: http://www.archaicbinary.net/general/downloads/wirelesspack.zip.html

Step 3: Download WinRAR (if necessary)

WinRAR is a shareware file archiver. Pocket RAR, a version of the file archiver for the Pocket PC platform, is available as freeware. It is one of the few applications that are able to create RAR archives natively, as the encoding method is held to be proprietary.
en.wikipedia.org/wiki/WinRAR
WinRar is required to extract the Airsnort files to a directory on your computer. If you do not already have it, download this trial copy (WinRAR 3.42), install it, and then use it to extract Airsnort.
If your computer already has WinRAR you can execute the installation file directly when downloading.

Step 4: Extract the files

Open the downloaded Airsnort file with WinRAR. You should see something like:

Use to uncompress the files.

It is suggested for this lab to put Airsnort in this directory (C:\Program Files\airsnort-0.2.7e\). Once selected click OK.

Once the extraction is complete you can close WinRAR.

 

Step 5: GTK

Initially created for the graphics program the GIMP, the GIMP Toolkit (abbreviated as GTK+) is one of the two most popular widget toolkits for the X Window System, intended for creating graphical user interfaces. en.wikipedia.org/wiki/Gtk
GTK is available from http://sourceforge.net/project/downloading.php?groupname=gimp-win&filename=gtk%2B-2.10.13-setup.exe&use_mirror=superb-east

Click Next

Click Next

Select a directory under Airsnort such as: C:\Program Files\airsnort-0.2.7e\GTK

Then click Next

Click Next

Click Install

During the installation you can follow the progress on the window. Once complete choose the language support

Click the selection box and then click Finish.

Select the language:

and click OK to complete the installation.
 

Step 6: Glib

GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
Glib 2.4.7
A supporting package needed by Airsnort. Download and unzip it to your harddrive. I put it here: (c:\Program Files\airsnort-0.2.7e\glib-2.4.7).

Step 7: Pango

Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ toolkit. Pango forms the core of text and font handling for GTK+.
Pango 1.4.1
A supporting package needed by Airsnort. Download and unzip it to your harddrive. I put it here: (c:\Program Files\airsnort-0.2.7e\pango-1.4.1).

Step 8: ATK

 
ATK 1.8.0
A supporting package needed by Airsnort. Download and unzip it to your harddrive. I put it here: (c:\Program Files\airsnort-0.2.7e\atk-1.8.0).

Step 9: Device drivers

Realtek RTL8180 Driver
This link is for my driver (Belkin PCMCIA & D-Link PCI Cards), but to install a different driver to work with Airopeek, download your driver from Airopeek that is matched to your Wireless card manufacturer and model. Here is their support section for other cards.
Now to get this driver from Airopeek to work, goto your windows driver system directory (c:\windows\system32\drivers) and create a copy of your current Ethernet card Driver for a backup.

Then rename the new driver you just downloaded from Airopeek as the same name of your current Ethernet card driver. You can find this by going to your hardware Device Manager and looking up the current driver name and location.

Then copy that new file into the driver directory replacing the current driver. Since you've made a backup, if any goes wrong you can restore the copy. Reboot your computer for the new driver to take effect. The reason we have to 'trick' the computer in this way is because Windows for some dumb reason doesn't want you to be able to change what driver your hardware uses at will.

Airopeek should now work if it's going to with your card. Otherwise consider buying a compatible wireless card.

Step 10: Modify Path

Click on the Start Button and right click 'My Computer' and choose Properties.

At the top choose the Advanced Tab, then click on the Enviroment Variables button at the bottom.

In the System Variables area, choose Path and click 'Edit'. At the end of the Variable Value copy and paste this line in, or type it in. Make sure you change it to something different if you put the Airsnort files in a different area then C:\Program Files\Airsnort.
 

C:\PROGRAM FILES\THINKPAD\UTILITIES;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\Common Files\Lenovo;C:\Program Files\Lenovo\Client Security Solution;C:\Program Files\WatchGuard\wsm8\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\airsnort-0.2.7e\GTK\bin;C:\Program Files\Airsnort\atk\bin;C:\Program Files\Airsnort\glib\bin;C:\Program Files\Airsnort\gtk\bin;C:\Program Files\Airsnort\pango\bin;C:\Program Files\Airsnort\bin


[ Path: C:\Program Files\Airsnort\atk\bin;C:\Program Files\Airsnort\glib\bin;C:\Program Files\Airsnort\gtk\bin;C:\Program Files\Airsnort\pango\bin;C:\Program Files\Airsnort\bin ]

Click OK, then OK again, and last OK again.

Step 11: Copy files

Copy the Peek5.sys and peek.dll from the Airopeek directory (C:\Program Files\WildPackets\AiroPeek Demo) to the Airsnort /bin directory. (C:\Program Files\airsnort-0.2.7e\bin)
 

For some reason my copy of Airopeek would not work until I also downloaded two more DLL's, which I easily found on the internet. So we're going to just put the following in your Airsnort directory.

 

Step 12: download files

Download iconv.dll to your Airsnort bin directory.

Download intl.dll to your Airsnort bin directory.

Step 13: Start Airsnort

Now, if you've been able to get this far, just double click on the Airsnort icon and it should come up!

 
İMarc-Andre Leger, jeudi, 17 janvier 2008 04:52:57 -0500