NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 08-15-2002   #16 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
step-by-step

what you need:

- configured pcmcia_cs-3.1.31 source tree
- already running pcmcia card services (kernel or package, doesn't matter; mine is subversion 33)
- prism2 based card
- hermes based card

steps to compile and implement the drivers for the prism card:
- untar the airjack package
- go to the airjack-v0.6.2-alpha dir and type make
- copy the driver (airjack_cs.o) to your modules path
- run depmod
- plugin your prism card and have look in your /var/log/messages file
- find the corrosponding entry for your card type (mine is Intersil PRISM2 Reference Design 11Mb/s WLAN Card)
- edit your config (or wlan-ng.conf) file in /etc/pcmcia
- look for the string you found in messages for your card
- change the "bind" entry from "prism2_cs" or "orinoco_cs" to "airjack_cs"
- restart pcmcia card services
- plugin your card and type lsmod in your console (there should now be an entry airjack_cs)
- type ifconfig -a ; there should now be an interface called aj0
- if so, your done with the first part, if not have a look on your logfile for info

steps to compile and implement the patched drivers for the orinoco card:
- copy the /airjack-v0.6.2-alpha/patches/orinoco.c.patch to /usr/src/pcmcia-cs-3.1.31/wireless/
- patch the driver using: patch -p0 < orinoco.c.patch
- in the /usr/src/pcmcia-cs-3.1.31/wireless/ directory type "make"
- if something goes wrong, make sure that you have previously configured your pcmcia source tree by doing a "make config" in the pcmcia-source dir
- after the drivers are compiled, copy them to your modules dir (be sure to make a backup of your working drivers)
- run depmod again
- restart your pcmcia card services and plugin your orinoco card
- check with lsmod and in /var/log/messages that the correct drivers have been loaded
- if so, your done, if not check everything again

compiling the airjack tools:
- change to /airjack-v0.6.2-alpha/tools/ and type "make"
- after compilation type "make monkey-jack" (you can also edit the makefile to make the last two steps one)
- when all tools are compiled, try to use ./setmac <interface name> <mac address> and look if the mac address of your orinoco card has changed, if so, everything is fine now

using the airjack tools:
- plugin both cards (prism2 and orinoco)
- go to your airjack/tools dir (or whereever you cp'd the binarys) and play around with the tools
- bring up the interface aj0
example: ./wlan_jack -b xx:xx:xx:xx:xx:xx -c 11 -i aj0
the xx is for the mac of your access-point
if you type ./wlan-jack (or the other ones) you get the usage hints

recommendation: read the powerpoint presentation of abaddon; it contains useful hints
if you got still problems, just ask, i'll see if i can help you

cheers

c0rnholio
c0rnholio is offline   Reply With Quote
Old 08-16-2002   #17 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
kung-fu

yeah, well the code is quite clearly thrown together in a hurry (but i did disclaim that in the docs for it)...

that functionality will be added to the linux kernel if you have the patience to wait on my new driver (give me a couple months), but when im finished it will work on aironet lucent and prism2 cards (thats pretty much any 802.11b card you could have)...

around the same time i should be able to have something going to break leap, pptp, and ipsec with shared secret...

--Abaddon
abaddon is offline   Reply With Quote
Old 08-16-2002   #18 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
you dont really need that pcmcia version

any version should really do, you'll just have to change it in the make file...
abaddon is offline   Reply With Quote
Old 08-16-2002   #19 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
nice howto

mind if i snag that and put it in the docs dir (with your name still on it of course)?

--Abaddon
abaddon is offline   Reply With Quote
Old 08-16-2002   #20 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Talking pleased to meet you here...

very nice piece of code
thx for this. also the ppt is great, the arguments are the same i use in my presentations, but the tools are realy cool...some kinda funny to watch the clients disconnect, and doing the "man in the air" stuff

cheers

PS: i hope i didn't miss something on my step-by-step guide
c0rnholio is offline   Reply With Quote
Old 08-16-2002   #21 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
Quote:
Originally posted by sparafina


It's source, there are some includes missing from the tools that are not in cygwin, but it looks like they can be compiled. I'm a little more concerned about compiling the drivers
i wouldnt count on the package working well with cygwin, primarily because the drivers will not work under windows, the author (im sorta close to him) has no plans on such a port (though others are welcome if that sort of things apeals to them)...

*shrug* sorry guys, but i simply do not have enough time to do this for windows...

maybe something like a bootable linux iso with a frontend is in order...have your cake and eat it too so to speak...

anyways back to work...

--Abaddon
abaddon is offline   Reply With Quote
Old 08-16-2002   #22 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Re: nice howto

Quote:
Originally posted by abaddon
mind if i snag that and put it in the docs dir (with your name still on it of course)?

--Abaddon
thx man, feel free to use it
keep on that good work
c0rnholio is offline   Reply With Quote
Old 08-16-2002   #23 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
Re: pleased to meet you here...

im glad its working for you, to be honest its not really tested much outside of my lab, and then only on my dell laptop, so im glad the code is functional for other people...

there is an arm port that ive been meaning to put up there and ive heard that someone has made a qt front end that fits perfectly into the new ipaq familiar graphics frontend...

--Abaddon

p.s. so does this mean i have your permision to quote you on the howto in the docs?...

Quote:
Originally posted by c0rnholio
very nice piece of code
thx for this. also the ppt is great, the arguments are the same i use in my presentations, but the tools are realy cool...some kinda funny to watch the clients disconnect, and doing the "man in the air" stuff

cheers

PS: i hope i didn't miss something on my step-by-step guide
abaddon is offline   Reply With Quote
Old 08-16-2002   #24 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
Re: Re: nice howto

cool thanks...

--Abaddon

Quote:
Originally posted by c0rnholio


thx man, feel free to use it
keep on that good work
abaddon is offline   Reply With Quote
Old 08-21-2002   #25 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
news on kismet and airjack

from the CVS Devel-Changelog:

Added detection of deauthentication packets

means, the airjack tools will be discovered...kismet is now a wireless scanner, sniffer and now becomes portions of a wireless ids

this really rocks....
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Old 08-21-2002   #26 (permalink)
JimmyPopAli
Registered Member
 
JimmyPopAli's Avatar
 
Join Date: Apr 2002
Location: Washington the state
Posts: 242
Re: news on kismet and airjack

Quote:
Originally posted by c0rnholio
[kismet is now a wireless scanner, sniffer and now becomes portions of a wireless ids
I'm wondering what's coming next, hopefully it'll be module support.
JimmyPopAli is offline   Reply With Quote
Old 08-22-2002   #27 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
Re: news on kismet and airjack

you're really wasting your time if thats all you'
re looking for, problem is that real access points really do send out these frames, they are there for a reason, airjack doesnt do anything out of spec in that attack, its the 802.11 standard thats the problem...if these so called ids abilities are only looking for the existance of the frame, then they are not going to do anything but give false positives till you are blue in the face...

--Abaddon


Quote:
Originally posted by c0rnholio
from the CVS Devel-Changelog:

Added detection of deauthentication packets

means, the airjack tools will be discovered...kismet is now a wireless scanner, sniffer and now becomes portions of a wireless ids

this really rocks....
abaddon is offline   Reply With Quote
Old 08-22-2002   #28 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Re: Re: news on kismet and airjack

Quote:
Originally posted by abaddon
you're really wasting your time if thats all you'
re looking for, problem is that real access points really do send out these frames, they are there for a reason, airjack doesnt do anything out of spec in that attack, its the 802.11 standard thats the problem...if these so called ids abilities are only looking for the existance of the frame, then they are not going to do anything but give false positives till you are blue in the face...

--Abaddon


well, first of all i think that decoding pakets to see whats going is not waste of time and hey, if things like this is all i were looking for, then i've probably never touched a linux system (i think you know what i mean)
i know that normal 802.11b managment traffic includes deauth and deass paket, but under normal circumstances there wouldn't be a deauth or deass storm...and that's what i think he implemented..just detecting flood's of this type.
but we'll have to wait until he finished work on that to say more about this, since it's still devel-code
btw, mike have never stated it's an ids, that was just my interpretation..because i needed to find a name for what i think it is...

however, i'm curious on the next release of your tools, and also curious of the things mike will implement next...

cheers
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Old 08-22-2002   #29 (permalink)
abaddon
Registered Member
 
Join Date: Aug 2002
Location: bar
Posts: 25
Re: Re: Re: news on kismet and airjack

true a storm of them wouldnt be normal network traffic, but i can do a great deal of damage with just a handfull (7 or less, sometimes as few as one), that would look exactly like an AP (and yes many AP's regularly deauth or disassoc stations for various reasons)...im not saying he's wasting his time, im just saying that you should be careful before you go so far as to consider that an IDS, you need alot more than that if you want a real IDS...

as for the next things i'll be coming out with im working on one driver to work on all three 802.11b card types and will support normal modes of operations (infrastructure, adhoc, and host-AP)...these will be linux drivers, they will run in 802.11b native mode (not imulating ethernet)...the best part is they will offer airjack type abilities and should be much more stable than the first proof of concept code i have up there right now...one last thing to look for is for me to have my cvs servers back online so i can have some real development going on (ive been moving into a new house and all my servers have been offline)...

as for kismet, im interested in what he's working on next as well, its a cool program maybe in the future we could see a joint project of some kind (no sense in everyone working on the same goals in different directions)...

--Abaddon

p.s. if you dont know what we're talking about, check this page out...
http://802.11ninja.net

Quote:
Originally posted by c0rnholio

well, first of all i think that decoding pakets to see whats going is not waste of time and hey, if things like this is all i were looking for, then i've probably never touched a linux system (i think you know what i mean)
i know that normal 802.11b managment traffic includes deauth and deass paket, but under normal circumstances there wouldn't be a deauth or deass storm...and that's what i think he implemented..just detecting flood's of this type.
but we'll have to wait until he finished work on that to say more about this, since it's still devel-code
btw, mike have never stated it's an ids, that was just my interpretation..because i needed to find a name for what i think it is...

however, i'm curious on the next release of your tools, and also curious of the things mike will implement next...

cheers
abaddon is offline   Reply With Quote
Old 08-22-2002   #30 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Re: Re: Re: Re: news on kismet and airjack

true a storm of them wouldnt be normal network traffic, but i can do a great deal of damage with just a handfull (7 or less, sometimes as few as one), that would look exactly like an AP (and yes many AP's regularly deauth or disassoc stations for various reasons)...im not saying he's wasting his time, im just saying that you should be careful before you go so far as to consider that an IDS, you need alot more than that if you want a real IDS...

ack! i totally agree with you in that point...(i've already implemented commercial ids's so i know what it's about ...horrible sometimes, but that's another sad story)

as for the next things i'll be coming out with im working on one driver to work on all three 802.11b card types and will support normal modes of operations (infrastructure, adhoc, and host-AP)...these will be linux drivers, they will run in 802.11b native mode (not imulating ethernet)...the best part is they will offer airjack type abilities and should be much more stable than the first proof of concept code i have up there right now...one last thing to look for is for me to have my cvs servers back online so i can have some real development going on (ive been moving into a new house and all my servers have been offline)...

sounds cool....i wish i could contribute something to those projects, but i'm to lame to do professional coding...maybe when i have more time, i'm gonna read all the books about coding perl, c, c++ i've already bought, and that are currently only wasting space in my bookshelf

as for kismet, im interested in what he's working on next as well, its a cool program maybe in the future we could see a joint project of some kind (no sense in everyone working on the same goals in different directions)...


yeah, sound nice too...could be a great merge

see ya
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 10:53 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.