Re: How secure is the WPA-PSK wireless encryption

astiglic_at_okiok.com
Date: 01/13/05


Date: 13 Jan 2005 06:03:17 -0800


Martin Bodenstedt wrote:
> Sebastian Gottschalk wrote:
> > Martin Bodenstedt wrote:
> >>
> >>But a dictionary attack is not "Brute Force"...
> >
> > TKIP was created to avoid such attacks at all...
>
>
> ... and wisely chosen keys will!

The best protection is to use 802.1x with a RADIUS (or TACACS+ or
whatever) that generates a session key and sends it to the wireless
device via an encrypted tunnel (and changes the session key
periodically). This type of authentication is based on EAP (Extensible
Authentication Protocol), and there are many flavors. My favorite are
PEAP and EAP-TTLS, both establish a TLS connection with the RADIUS
server and then do an EAP authentiation to authenticate the user. The
difference between PEAP and EAP-TTLS is that EAP-TTLS supports more
authentication protocols (but PEAP supports a good share, EAP one-time
passwords, EAP generic tokens card (think SecurID) or EAP MSCHAPv2).
PEAP was developped by Cisco, Microsoft and RSA Security, EAP-TTLS by
Funk Software and Certicom, both have been submitted to IETF.

The problem with PSK (Pre-Shared Key) is indeed the fact that most
devices implement it by generating the pre-shared key derived from a
password and is thust vulnerable to a password search attack
(dictionary attack). Even if you use TKIP, with TKIP there is a
four-way handshake that is done in order to establish a session key,
you can sniff this and uses as a bases for your dictionnary attack
(brute force also can work if you think the person chosed a very weak
password). The attack can be done offline once the packets have been
sniffed.

If you don't have 802.1X, and you can't generate a random key directly,
that is if you must enter a password that will be used to derive the
key, choose a very strong password (passphrase if possible).

Most devices implement the key derivation based on PKCS#5 PBKDFv2, but
I seem to remember that there was some publication about devices that
implemented a weak key derivation function which made things much
worse.

Also note that WPA has 2 "modes", backwards compatibility mode where it
uses WEP-TKIP, and AES-CCM, make sure you use AES-CCM it seems to be
better (based on a better design which is probably more secure, it uses
a MAC based on AES and note Mike).

A good book on the subject of 802.11 security is Wi-Foo, there happens
to be a free chapter that discusses the vulnerability of PSK, see the
section Cracking TKIP: The New Menace:
http://www.wi-foo.com/wi-foo_samplechapter.pdf

There is also a bunch of information on the web about 802.1X, PEAP,
EAP-TTLS, TKIP, WPA/WEP, etc.

--Anton



Relevant Pages

  • Re: problems with RADIUS and PEAP witha WG302 WAP and a Dell laptop
    ... When you go into the remote access policy profile, on the Authentication ... checkboxes, like MS-CHAP v2, you are not configuring PEAP -- you are ... To configure PEAP, click on the "EAP Methods" button. ... the server is going to use by clicking Edit. ...
    (microsoft.public.internet.radius)
  • Re: PEAP-TLS vs EAP-TLS
    ... and PEAP is that PEAP is a two-step process where 1) the RADIUS server is ... authenticated to the client via the RADIUS server's certificate, ... encrypted TLS channel is set up for 2) client authentication (either using ... But I wonder how much more secure PEAP-TLS is than EAP-TLS, ...
    (microsoft.public.windows.server.security)
  • Re: Configuration of an Aironet 1130AG
    ... Cisco 1130AG Documentation: ... An incorrect username and password on the RADIUS server. ... An incorrect PEAP configuration. ... MS PEAP machine authentication does not work with the ADU supplicant. ...
    (comp.dcom.sys.cisco)
  • Re: W2K3, IAS, Cisco 1200 AP, PEAP, and MAC authentication
    ... > I am having a heck of a time getting PEAP working with MAC ... > scanners to access my 802.11b network and configuring them for static ... > created an AD user with the MAC address as the user name and password. ... > I configured the access point to do MAC authentication against the ...
    (microsoft.public.internet.radius)
  • RE: PEAP based 802.1x LAN authentication
    ... Authentication, EAP Methods. ... Do you have PEAP added here? ... edit and make sure the certificate that you want to use is selected. ... the server certificate is now stored in "Personal " ...
    (Focus-Microsoft)