fe00 aircrack-ng - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

Networking Network related discussions (including general TCP/IP stuff, routing, etc).

Reply
 
Thread Tools Display Modes
  #1  
Old March 5th, 2011, 23:06
walterjwhite walterjwhite is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default aircrack-ng

Hi all,

I recently started using FreeBSD and am playing around with aircrack-ng. I ran aircrack-ng in Linux and it worked fine for my card. However, in FreeBSD, I am unable to reproduce the same thing I did in Linux.

Do I need to patch aircrack-ng to make it work as I found in another thread, or should it work as is?

This is the process I followed in Linux:
http://www.aircrack-ng.org/doku.php?id=cracking_wpa

Now, FreeBSD does not have an airmon command, so I read that I have to set the device to promiscuous mode?

I didn't get any further than that.


Walter
Reply With Quote
  #2  
Old March 6th, 2011, 12:00
Alt's Avatar
Alt Alt is offline
Member
 
Join Date: Nov 2008
Location: Mother Russia
Posts: 726
Thanks: 32
Thanked 77 Times in 71 Posts
Default

I have been playing around this, too.. afaik, not all cards are supported/patched for aircrack use. I got Atheros 5xxx and aireplay-ng was not worked for me (FreeBSD 7.0 Stable). For airodump-ng I created device in monitor mode and got airodump from it, monitor mode is initializing like that:
Code:
ifconfig wlan0 create wlandev ath0 wlanmode monitor

Last edited by DutchDaemon; March 6th, 2011 at 22:36.
Reply With Quote
  #3  
Old March 6th, 2011, 15:23
walterjwhite walterjwhite is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Alt,

Thanks for your reply - I believe I tried that (and the device was put into promiscuous mode).

What else would I do from there? Can you also break the command down? What is ath0? I guess it is the monitor interface FreeBSD will create?


Walter
Reply With Quote
  #4  
Old March 6th, 2011, 17:03
Alt's Avatar
Alt Alt is offline
Member
 
Join Date: Nov 2008
Location: Mother Russia
Posts: 726
Thanks: 32
Thanked 77 Times in 71 Posts
Default

ath0 is parent WLAN interface for wifi device.
I dont have notebook i tested it atm and dont remeber command used.. was something like this
Code:
ifconfig wlan0 create wlandev ath0 wlanmode monitor
airodump-ng -w dumpfile
aircrack-ng dumpfile*
With this i was able to crack WEP key, but for WPA this is not possible without aireplay-ng. aireplay-ng was not working for my Atheros card, dont know why.. Which card do you have? Maybe you are more lucky =)
Reply With Quote
  #5  
Old March 6th, 2011, 17:32
walterjwhite walterjwhite is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have an Intel 4965 and I read somewhere that it is fully supported. So, in theory it should work.


Walter
Reply With Quote
  #6  
Old March 8th, 2011, 19:11
walterjwhite walterjwhite is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I run the commands to capture packets, the command returns immediately.

Any ideas?


Walter
Reply With Quote
  #7  
Old March 8th, 2011, 19:35
Alt's Avatar
Alt Alt is offline
Member
 
Join Date: Nov 2008
Location: Mother Russia
Posts: 726
Thanks: 32
Thanked 77 Times in 71 Posts
Default

Most good idea will be copypaste what you do and what you get
Reply With Quote
  #8  
Old March 8th, 2011, 19:57
walterjwhite walterjwhite is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I ran the commands you listed above, the output was null or "\n" (a line return).

I checked dmesg and didn't see any errors there or syslog. I need to read more as to where else the error output would be.

Walter
Reply With Quote
  #9  
Old March 8th, 2011, 21:06
Alt's Avatar
Alt Alt is offline
Member
 
Join Date: Nov 2008
Location: Mother Russia
Posts: 726
Thanks: 32
Thanked 77 Times in 71 Posts
Default

Ok i read some mans for you xD
Code:
airodump-ng -w dumpfile wlan0
[..gather some info..]
aircrack-ng *.cap
That will not work on WPA, its WEP only and you should capture some keyframes, it should take a time..
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
aircrack-ng monitor mode patch for FreeBSD Alt Installation and Maintenance of FreeBSD Ports or Packages 17 June 27th, 2012 23:25
aircrack-ng with ral0 driver Seeker Networking 26 November 29th, 2011 13:11
aircrack-ng from ports missing in pkg_info list after.. aleph Installation and Maintenance of FreeBSD Ports or Packages 1 February 6th, 2011 19:58


All times are GMT +1. The time now is 02:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0