Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 72 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Wirelessarrow Wifi encryption explained
EH-Net
May 25, 2013, 08:11:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Wifi encryption explained  (Read 18213 times)
0 Members and 1 Guest are viewing this topic.
Svenxix
Newbie
*
Offline Offline

Posts: 17


View Profile
« on: November 08, 2010, 01:33:32 PM »

In order to connect to a secure wireless network, the user needs to use a pre-shared key. But once a connection is established between the router and the computer, what key is used to encrypt the data? Does the router invent a new PSK and passes a different one to each host or do all the connected hosts use the same psk to encrypt their data?
Logged
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #1 on: November 08, 2010, 01:52:17 PM »

I could tell you the answer, but learning it would be better.

If you have the tools to try it:
2 or 3 computers with wifi
1 wifi router.

Use airodump do capture the data. You can have the data going between boxes, or out to the internet. Then try decrypting the data with your known psk, and use wireshark to look at the resulting file.

You can find how to do most of that looking at the aircrack-ng website. You'll want airodump-ng, and airdecap-ng. Both are part of the aircrack-ng suite.
Logged

OSWP, Sec+
Svenxix
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #2 on: November 09, 2010, 08:40:30 PM »

Thanks, I'll go ahead and give that a try. I just need to get a wireless card that supports monitor mode. 
Logged
TheXero
Full Member
***
Offline Offline

Posts: 112


Try Harder!


View Profile WWW
« Reply #3 on: December 10, 2010, 10:00:37 AM »

I use an Alfa Networks AWUS036H USB adapter

I sure anyone would agree this has to be the worlds best adapter around for this use Smiley
Logged

H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 865



View Profile
« Reply #4 on: December 10, 2010, 12:54:29 PM »

@TheXero Do you use you card on Windows or Linux?

It may be me, but mine works well on Windows but I had problems last year on Ubuntu and Backtrack 3.

I haven't tried it since then...
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #5 on: December 10, 2010, 03:48:34 PM »

H1t M0nk3y

I've used mine on Debian and on Bactrack 3/4/4r1. Debian gave me SOME problems, but only when using it for trying to be an access point, not a tool for attacks.

I've got 2 of the same USB card and love it. Former roommate uses his in windows and ubuntu no problem.
Logged

OSWP, Sec+
TheXero
Full Member
***
Offline Offline

Posts: 112


Try Harder!


View Profile WWW
« Reply #6 on: December 12, 2010, 11:21:03 AM »

I primarly use it with Windows 7, with no issues

However I was using it through the training period for my OSWP cert in VMware Workstation for BackTrack 3, and 4/R1

Mine gets used alot, as its my primary method of connecting to the internet these days lol (on Windows)
Logged

Svenxix
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #7 on: December 12, 2010, 10:52:33 PM »

I’m at a bit of a loss here. I just bought the Alfa Networks AWUS036H USB adapter, but I still can’t get it into monitor mode. I’m running Windows 7, and I’ve installed the driver that came on the CD with it. The problem is that I still can’t sniff any packets with it. I run wire shark and select the appropriate interface. I’ve also made sure that the “capture packets in promiscuous mode” checkbox has been selected in the capture options. However, I still can only see packets destined for my nic or broadcasts.
I’m getting desperate here. Any suggestions?
Logged
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #8 on: December 13, 2010, 01:02:02 AM »

I haven't used the card in windows. Are you sure that Windows7 supports Promiscuous mode for that card?
Logged

OSWP, Sec+
TheXero
Full Member
***
Offline Offline

Posts: 112


Try Harder!


View Profile WWW
« Reply #9 on: December 13, 2010, 04:20:14 AM »

I have never done monitor mode on Windows, only on Linux

Although aircrack-ng has window binary's, its not supported

You will also need airpcap in order to enable monitor mode on the card

Logged

BillV
Hero Member
*****
Offline Offline

Posts: 1892


View Profile WWW
« Reply #10 on: December 13, 2010, 07:27:38 AM »

Well, you're not going to do much with that card on Windows anyway.

The best tool I've seen for looking around at wireless networks while on Windows is inSSIDer (http://www.metageek.net/products/inssider). There's also Vistumbler (http://www.vistumbler.net/) but not really my preference.

You will not be able to inject packets with that adapter on Windows (as far as I'm aware).

I've used the AWUS036H and the AWUS036NH on both Windows and Linux with no issues. The H model seems to get better results despite the NH supposedly having more power.

You'd be better off booting a virtual machine with the BT4 pre-built VM and VMware Player or you could use VirtualBox. Once on Linux, it'll be much easier...

airmon-ng start wlan0
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.067 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.