Aircrack-ng
Welcome, Guest. Please login or register.
February 09, 2010, 04:47:45 am

Login with username, password and session length
Search:     Advanced search
31095 Posts in 5430 Topics by 14832 Members
Latest Member: playefslile
* Home Help Search Login Register
+  Aircrack-ng
|-+  General Discussion
| |-+  General Discussion
| | |-+  Windows injection - all of aircrack ported to cygwin
« previous next »
Pages: [1] 2 3 ... 11 Print
Author Topic: Windows injection - all of aircrack ported to cygwin  (Read 57058 times)
sorbo
Newbie
*
Posts: 39


Windows injection - all of aircrack ported to cygwin
« on: April 22, 2007, 09:37:36 pm »

The aircrack [and replay] stuff is almost ready to run on windows.  Here is a fairly recent build from SVN that runs on windows:
http://dl.aircrack-ng.org/aircrack-ng-svn-win.zip

There is one missing link however - a DLL and a driver that can inject =(.  You'll have to replace the existing driver by one that can inject and have a DLL that will make the link between the air* tools and the driver.  Only a few "special" drivers allow to capture/inject packets under Windows.

Drivers
----------
* Commview drivers
   Here is a list of compatible adapters:
   http://www.tamos.com/products/commwifi/adapterlist.php

   To use it, simply install
    http://www.tamos.com/bitrix/redirect.php?event1=download&event2=commwifi&event3=&goto=/files/ca5.zip
    and follow their driver installation guide

    Here is how packet capture/injection works with this driver:
    http://trac.aircrack-ng.org/ticket/72

* rt2560 (= rt2500)
   Here is the link to the driver
   http://users.belgacom.net/bn967347/download/rt2560_driver_1_0_0_8.zip

    Here is a sample program that uses this driver:
    http://users.belgacom.net/bn967347/download/rt2560_app_test_echo_1_1.zip

* Wildpackets driver
   It has been reported that these drivers also allow to inject (data can already be captured with them).

   Here is a list of compatible adapters:
   http://www.wildpackets.com/support/downloads/drivers

How to use it with airodump-ng and aireplay-ng
------------------------------------------------------------
1. Open a command line (Start -> Execute -> cmd.exe) and go where you extracted the zip file then start airserv-ng     (found in aircrack-ng-svn-win.zip archive).  For example, with commview.dll
   
     airserv-ng -d commview.dll

     It will open the adapter and open a socket to allow capturing/writing to the card.

2. Open another command line and start airodump-ng that will connect to airserv-ng
     
    airodump-ng 127.0.0.1:666
   
    It will start airodump-ng and hop between channels.  "127.0.0.1:666" is the name of the adapter (airodump-ng was modified to also allow to connect to airserv-ng).

3. To use aireplay-ng, open a command line and the use it with "127.0.0.1:666" as adapter name.

See www.aircrack-ng.org for more documentation about airodump-ng and aireplay-ng.  These programs have the same parameters as on Linux.

Develop your own DLL
-----------------------------
Look at osdep/cygwin.c for the API - it's quite straight forward.  The read call is allowed to block, making the implementation even simpler.  The DLL to interact with commview, rt2560 or wildpackets may already have been developed - you should search on the Internet before trying to re-implement them.
Logged
ulle2006
Newbie
*
Posts: 15


Re: Windows injection - all of aircrack ported to cygwin
« Reply #1 on: May 04, 2007, 08:46:48 am »

I have installed commview and the driver.
(i have a supported Netgear wga311 with atheros chip)

But i don t know how to run airplay/or ho injecting IVs
« Last Edit: May 04, 2007, 08:48:58 am by ulle2006 » Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: Windows injection - all of aircrack ported to cygwin
« Reply #2 on: May 04, 2007, 02:51:53 pm »

Then read the wiki and especially the tutorials!  Nobody is going to hold your hand and walk you through it baby step at a time.

d.
Logged
assyrix1
Newbie
*
Posts: 9


Re: Windows injection - all of aircrack ported to cygwin
« Reply #3 on: May 07, 2007, 11:46:33 am »

I have installed commview and the driver.
(i have a supported Netgear wga311 with atheros chip)

But i don t know how to run airplay/or ho injecting IVs

does that mean that there is already a DLL for atheros available? i was looking on the net but cannot find it.
Logged
wschrabi
Newbie
*
Posts: 34


Re: Windows injection - all of aircrack ported to cygwin
« Reply #4 on: May 07, 2007, 12:43:34 pm »

You wrote:
1. Open a command line (Start -> Execute -> cmd.exe) and go where you extracted the zip file then start airserv-ng    (found in aircrack-ng-svn-win.zip archive).  For example, with commview.dll
   
    airserv-ng -d commview.dll

    It will open the adapter and open a socket to allow capturing/writing to the card.


How can it do it with the Wildpackets driver? I have a atheros card with is compatilble to the new Wildpackets driver.
The New commview has no commview.dll only a cv2k.dll. Is that the right one?
When I do: airserv-ng -d ck2k.dll
I got:
airserv-ng: wi_open(): No such File or directory.

I can not find the reason. Thanks for help.
« Last Edit: May 07, 2007, 05:15:39 pm by wschrabi » Logged
TuTuFF
Full Member
***
Posts: 135



Re: Windows injection - all of aircrack ported to cygwin
« Reply #5 on: May 07, 2007, 01:03:26 pm »

Guys,

Just a general note.  Sorbo, DarkAudax and the other members of the team work long and hard to bring us the excellent software we know and love.  Many (if not all) of the questions (certainly in this thread) being asked can be answered in the wiki and/or tutorials or by reading through associated documentation carefully.  Handholding really is not part of the project support (although i dare say if you were prepared to pay the going ratres for personalised support they may be arranged!).  A little judiscious reading and some experimentation will go a long way.  In this manner we can leave the Aircrack team to do what they do best, that is developing the capabilities of the suite rather than answering redundant questions (whcih are already answered in released documentation).

Anyone (even me!) can get a fairly decent grasp of both the aircrack-ng suite and ieee802.11 as a whole with a little study.  Ther tutorials on the wiki are exceptionally well thought out and clearly written, as well as being up-to-date; following them carefully (always checking for typos which proved to be the cause of 99% of my problems) will give a good grasp of aircrack as a whole.  Following up this knowledge and reading the "Links, References and Other Learning Materials" will broaden your knowledge considerably (believe it or not the Microsoft link, 1st in the list, is both short and very informative).

Help the team to help you, by helping yourselves!  If I can do it (and I am the world`s laziest b****d, then I`m sure you can!)
Logged
wschrabi
Newbie
*
Posts: 34


Re: Windows injection - all of aircrack ported to cygwin
« Reply #6 on: May 07, 2007, 01:23:33 pm »

I search all over the wiki, but my Qs are:

Must I use:

airserv-ng -d peek.dll

If I use the wildpackets driver? I ahve a 3COM supported card. I can monitor with win version aor aircrack.
Tks
Walter
Logged
Mister_X
Administrator
Hero Member
*****
Posts: 3159


WWW
Re: Windows injection - all of aircrack ported to cygwin
« Reply #7 on: May 07, 2007, 07:26:28 pm »

You wrote:
1. Open a command line (Start -> Execute -> cmd.exe) and go where you extracted the zip file then start airserv-ng    (found in aircrack-ng-svn-win.zip archive).  For example, with commview.dll
   
    airserv-ng -d commview.dll

    It will open the adapter and open a socket to allow capturing/writing to the card.


How can it do it with the Wildpackets driver? I have a atheros card with is compatilble to the new Wildpackets driver.
The New commview has no commview.dll only a cv2k.dll. Is that the right one?
When I do: airserv-ng -d ck2k.dll
I got:
airserv-ng: wi_open(): No such File or directory.

I can not find the reason. Thanks for help.


You have to install commview driver for your card (that can be found after installing it).
For commview.dll, it doesn't come from commview, so you'll have to search on internet.

Quote
I search all over the wiki, but my Qs are:

Must I use:

airserv-ng -d peek.dll

If I use the wildpackets driver? I ahve a 3COM supported card. I can monitor with win version aor aircrack.
Tks
Walter

You'll have to search to find if there's such dll for airserv-ng on internet.
Logged
wschrabi
Newbie
*
Posts: 34


Re: Windows injection - all of aircrack ported to cygwin
« Reply #8 on: May 07, 2007, 08:42:54 pm »

Thks Mister X. Now I have CommView for Wifi 5.6 with the driver for my 3COM PCMCIA Card. CommView WOrks fine!
And I loaded the commview.dll from http://darkircop.org/commview.dll and I tried:

airserv-ng -d commview.dll and I got:
C:\aircrack-ng-0.8-win\bin\WIN2>airserv-ng -d commview.dll
Opening card commview.dll
airserv-ng: wi_open(): No such file or directory

C:\aircrack-ng-0.8-win\bin\WIN2>


What can I do? Please help.
Walter
Logged
Mister_X
Administrator
Hero Member
*****
Posts: 3159


WWW
Re: Windows injection - all of aircrack ported to cygwin
« Reply #9 on: May 07, 2007, 09:05:38 pm »

Are you sure you're using the right version, because airserv-ng is only in 1.0-dev and did you put it in the same directory as airserv-ng?
Logged
sorbo
Newbie
*
Posts: 39


Re: Windows injection - all of aircrack ported to cygwin
« Reply #10 on: May 07, 2007, 09:33:06 pm »

make sure u have ca2k.dll [it is shipped with commview] in the same dir of commview.dll

Also, you might wanna try recompiling the windows stuff - quite a lot changed by now probably.
Logged
wschrabi
Newbie
*
Posts: 34


Re: Windows injection - all of aircrack ported to cygwin
« Reply #11 on: May 07, 2007, 10:13:09 pm »

Tks no I got no error: But here is the next problem:
C:\aircrack-ng-0.8-win\bin\WIN2>airserv-ng -d commview.dll
Opening card commview.dll
airserv-ng: wi_open(): No error

C:\aircrack-ng-0.8-win\bin\WIN2>airodump-ng 127.0.0.1:666
Connecting to 127.0.0.1 port 666...
Failed to connect
C:\aircrack-ng-0.8-win\bin\WIN2>airserv-ng -d commview.dll -c 6
Opening card commview.dll
airserv-ng: wi_open(): No error

C:\aircrack-ng-0.8-win\bin\WIN2>airodump-ng 127.0.0.1:666
Connecting to 127.0.0.1 port 666...
Failed to connect
C:\aircrack-ng-0.8-win\bin\WIN2>


I have the Firewall open. What to do?
Tks for help.
Walter









Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: Windows injection - all of aircrack ported to cygwin
« Reply #12 on: May 07, 2007, 10:48:32 pm »

Walter,

I don't think airserv-ng is starting properly.   It should look something like:

   Opening card ath0
   Setting chan 1
   Opening sock port 666
   Serving ath0 chan 1 on port 666

This is from a linux system but Windows should be similar.

You can do "netstat -an" and make sure a process is listening on port 666.

d.
Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: Windows injection - all of aircrack ported to cygwin
« Reply #13 on: May 08, 2007, 01:56:01 am »

Walter,

The other reason that you would get:

C:\aircrack-ng-0.8-win\bin\WIN2>airserv-ng -d commview.dll
Opening card commview.dll
airserv-ng: wi_open(): No error

Is if your card was not enabled in Windows.  Or recognized by Windows.

d.
Logged
wschrabi
Newbie
*
Posts: 34


Re: Windows injection - all of aircrack ported to cygwin
« Reply #14 on: May 08, 2007, 06:25:24 am »

Dear Friend,
the card is recognized by Windows properly, as CommView Wifi works fine with it.
Could it be that the new dll is too new for airserv-ng?
Tks
Walter
Logged
Pages: [1] 2 3 ... 11 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Aircrack-ng | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!