Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Server Platforms
Discussion regarding any server based ubuntu release.

 
Thread Tools Display Modes
Old December 12th, 2005   #1
M3ta7h3ad
Just Give Me the Beans!
 
Join Date: Feb 2005
Beans: 73
WPA vs WEP

Seeing a post in the Ubuntu support thread sparked this up

The Question:
Quote:
In YOUR opinion what is the most secure system
So yeah, in your experience (no theory involved here... just practical experience) which do you find best for wireless security.

My Opinion:

After trying to crack my home network using WEP with a 128 bit cypher, it took 4 days (actually about 4 and 3/4 days) of packet collection (I had a large ftp transfer going generating traffic along with a few websites that were "auto refresh" things intended at dDosing scam sites generating the network packets needed) before I successfully broke the encryption and got the correct key to join the network.

My mate next door (well 2 doors up.. I get 60% signal from his network ) helped me generate the heavy amount of network traffic for those 4 days also.

He then setup a WPA-PSK network (my router only supports WEP), for testing. I set my windows XP laptop up collecting packets and came back to it a few hours later. It had crashed. Disaster it had collected about 3 and a half hours worth of packets (I believe it was a few 100,000 packets [edit: Looking at the screenshot it was just over 300,000 packets]) and that was it.

It was late at night and I couldnt be arsed leaving the laptop running overnight so I just tried running wepcrack on what I had. Within 6mins it had found 2 keys (according to my screenshot).

The following screenshot is about half way through the process.



At the end it had found about 6 keys for 3 and a half hours worth of packet collecting. It turned out my friend had set the key rotation to 30mins or so IIRC (it was a while ago).

While I didnt have the ability to connect to the network (the key changing prevents that to a certain extent.. and the keys I had found had expired prior to having the chance to logon and do a net send message saying "ha! I win" I was able to decrypt the packets captured, which included unencrypted IRC messages including my mates IRC password, his girlfriends email credentials, and various other bits of personal information.

So.... in my experience while WEP once cracked allows complete unhindered access to a network until the key is changed. WPA seems worryingly weak in comparison requiring 3 hours worth of packet collection and several keys broken, resulting in the compromise of personal data transmitted over a network.

I am aware now that WEP is weaker now from being able to "force" packets to be generated (I've watched a video capture of someone cracking 128bit wep in 10 minutes), but if this is default security on WPA I am rather worried.

What do you think?

Last edited by M3ta7h3ad; December 12th, 2005 at 06:27 PM..
M3ta7h3ad is offline   Reply With Quote
Old December 12th, 2005   #2
cactus
A Carafe of Ubuntu
 
cactus's Avatar
 
Join Date: Jun 2005
Location: The desert.
Beans: 77
Ubuntu Breezy 5.10
Re: WPA vs WEP

psk (pre shared keys) is the weaker WPA implementation.
If your test partner was setting a very weak initial passphrase, that can effect it as well..

But generally, I dont rely on the encryption overly much. Yeah, I setup WPA to keep the casual passerby out.. But I require a VPN tunnel, or a tunneled/encrypted web proxy. Depends on the setup I am going for.

Like I said though. I use WPA, and most of my traffic is either encrypted.. or I don't really care about it (it is either encrypted from my box to the destination--stunnel or ssh-tunnel/ssh, or it goes over the internet in the clear anyway). I mean.. there could easily be someone sitting on an upstream node from me dumping each and every packet I send.
__________________
In the middle of our life's way
I found myself in a wood so dark
That I couldn't tell where the straight path lay.
--Inferno, canto 1:1
cactus is offline   Reply With Quote
Old December 12th, 2005   #3
[Rui]
5 Cups of Ubuntu
 
[Rui]'s Avatar
 
Join Date: Oct 2005
Location: Lisboa, Portugal
Beans: 27
Ubuntu 6.10 Edgy
Re: WPA vs WEP

WPA, WEP... both innefective. Better try to setup a VPN, altough that's not exactly trivial.
[Rui] is offline   Reply With Quote
Old December 13th, 2005   #4
LordHunter317
Tall Cafè Ubuntu
 
Join Date: Nov 2004
Beans: 2,614
Re: WPA vs WEP

Quote:
Originally Posted by cactus
psk (pre shared keys) is the weaker WPA implementation.
WPA-PSK/RC4 is no better. WPA-PSK/AES can just fine, if your keys can't be found by a dictionary attack on the passphrase.

Only, getting gear where that's possible is difficult.

In practice, not bothering with 802.11 link-layer security at all and using a VPN or other encrypted mechanism where necessary is the best course of action. This is no different from any physical LAN, really.
LordHunter317 is offline   Reply With Quote
Old December 13th, 2005   #5
bionnaki
Dark Roasted Ubuntu
 
Join Date: Aug 2005
Beans: 1,028
Re: WPA vs WEP

Quote:
Originally Posted by [Rui]
WPA, WEP... both innefective. Better try to setup a VPN, altough that's not exactly trivial.
how do you do this?
bionnaki is offline   Reply With Quote
Old December 13th, 2005   #6
atoponce
Ubuntu Member
 
atoponce's Avatar
 
Join Date: May 2005
Location: Ogden, Utah
Beans: 522
Ubuntu 8.10 Intrepid Ibex
Re: WPA vs WEP

I use WPA-Radius at home, although it is probably overkill. WEP would work just fine for me as I use directional atennas keeping 80% of the signial within 2 feet of the outer brick of the house. Get to the sidewalk only 10 feet away, and the signal constantly drops. VPN would be nice, but it just isn't necessary.

Of course, I am Mr. Paranoid, so I have MAC address filtering as well, and only allow certain static IPs on the network. If that isn't enough, the IP tables are "different" and I don't broadcast the SSID.

There are plenty of security measures you can take to ensure that your wireless connection is secure. Common sense would also say not to leave valuable data on the network.
__________________
Blog
atoponce is offline   Reply With Quote
Old December 13th, 2005   #7
M3ta7h3ad
Just Give Me the Beans!
 
Join Date: Feb 2005
Beans: 73
Re: WPA vs WEP

I would also believe VPN is the way to go for home networks.

I know about the "other" tactics of hidden SSID, use of directional antennas, mac filtering, and dhcp scoping/non-standard ip address.

Just what surprised me the most after this test is that WPA was being touted as "the daddy" of encryption schemes for link layer security (to coin the above phrase used by lordhunter ), and home users were in effect being told that it would protect their data from any nasty folk.

When in truth, 3 hours requiring no trickery to generate traffic, and I cracked several keys, if I was a little faster on my toes I would have been able to simply login and join his network (providing he doesnt have any other anti-intrusion methods on). Seems a wee bit like false security to me.
M3ta7h3ad is offline   Reply With Quote
Old December 13th, 2005   #8
Chris Tucker
Gee! These Aren't Roasted!
 
Chris Tucker's Avatar
 
Join Date: Oct 2005
Location: Swift Current, Newfoundland, Canada
Beans: 205
Kubuntu 6.06
Re: WPA vs WEP

hmmm /me thinks /me needs to change his wep key more often

i think my network is like an all you can eat buffet! with signs and all!
i live in a tiny town, right now one of VERY few with a laptop, and the only one with a wireless network. i like my signal to reach as far as possible, for convienience, doing some netstumbling myself i get pretty good range, soon to be even better working on an antenna mod
anyone driving by at the speed limit sees my network for at least 15sec... yea.. ive been using the same key since i got the router.. time to change that key...
Chris Tucker is offline   Reply With Quote
Old December 13th, 2005   #9
bionnaki
Dark Roasted Ubuntu
 
Join Date: Aug 2005
Beans: 1,028
Re: WPA vs WEP

Quote:
Originally Posted by atoponce
I use WPA-Radius at home, although it is probably overkill. WEP would work just fine for me as I use directional atennas keeping 80% of the signial within 2 feet of the outer brick of the house. Get to the sidewalk only 10 feet away, and the signal constantly drops. VPN would be nice, but it just isn't necessary.
how do you set up directional atennas?

Quote:
Of course, I am Mr. Paranoid, so I have MAC address filtering as well, and only allow certain static IPs on the network. If that isn't enough, the IP tables are "different" and I don't broadcast the SSID.
I have mac filtering as well and disable ssid broadcast. Not sure how to only allow my static IP on my wireless network using my router (linksys wrt54g)...any ideas?
bionnaki is offline   Reply With Quote
Old December 13th, 2005   #10
atoponce
Ubuntu Member
 
atoponce's Avatar
 
Join Date: May 2005
Location: Ogden, Utah
Beans: 522
Ubuntu 8.10 Intrepid Ibex
Re: WPA vs WEP

You can purchase direction atennas at most any electronics store. Although they are labeled "directional", the nature of radio waves is omnidirectional. However, they work pretty well for the most part.

What firmware are you using for your router? The default? Can't do it. Get an updated firmware from Sveasoft, and it's possible.
__________________
Blog
atoponce is offline   Reply With Quote

Bookmarks

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


All times are GMT -4. The time now is 10:40 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry