Jump to content

Wi-Fi Protected Access

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qutorial (talk | contribs) at 03:12, 6 February 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Wi-Fi Protected Access (WPA and WPA2) is a certification program created by the Wi-Fi Alliance to indicate compliance with the security protocol created by the Wi-Fi Alliance to secure wireless computer networks. This protocol was created in response to several serious weaknesses researchers had found in the previous system, WEP (Wired Equivalent Privacy).[1]

The WPA protocol implements the majority of the IEEE 802.11i standard, and was intended as an intermediate measure to take the place of WEP while 802.11i was prepared. Specifically, the Temporal Key Integrity Protocol (TKIP), was brought into WPA. TKIP could be implemented on pre-WPA wireless network interface cards that began shipping as far back as 1999 through firmware upgrades. Because the changes required fewer modifications on the client than on the wireless access point, most pre-2003 APs could not be upgraded to support WPA with TKIP. Researchers have since discovered a flaw in TKIP that relied on older weaknesses to retrieve the keystream from short packets to use for re-injection and spoofing.[2]

The later WPA2 certification mark indicates compliance with an advanced protocol that implements the full standard. This advanced protocol will not work with some older network cards.[3] Products that have successfully completed testing by the Wi-Fi Alliance for compliance with the protocol can bear the WPA certification mark.

WPA2

WPA2 has replaced WPA; WPA2 requires testing and certification by the Wi-Fi Alliance. WPA2 implements the mandatory elements of 802.11i. In particular, it introduces a new AES-based algorithm, CCMP, which is considered fully secure. Certification began in September, 2004; from March 13, 2006, WPA2 certification is mandatory for all new devices to bear the Wi-Fi trademark.[4]

Security in pre-shared key mode

Pre-shared key mode (PSK, also known as Personal mode) is designed for home and small office networks that don't require the complexity of an 802.1X authentication server. Each wireless network device encrypts the network traffic using a 256 bit key. This key may be entered either as a string of 64 hexadecimal digits, or as a passphrase of 8 to 63 printable ASCII characters.[5] If ASCII characters are used, the 256 bit key is calculated by applying the PBKDF2 key derivation function to the passphrase, using the SSID as the salt and 4096 iterations of HMAC-SHA1.[6]

Shared-key WPA is vulnerable to password cracking attacks if a weak passphrase is used.[7][8] To protect against a brute force attack, a truly random passphrase of 13 characters (selected from the set of 95 permitted characters) is probably sufficient.[9] Lookup tables have been computed by the Church of WiFi (a wireless security research group) for the top 1000 SSIDs[10] for a million different WPA/WPA2 passphrases.[11] To further protect against intrusion the network's SSID should not match any entry in the top 1000 SSIDs.

Weakness in TKIP

A weakness was uncovered in November 2008 by researchers at two German technical universities (TU Dresden and TU Darmstadt), Erik Tews and Martin Beck[12], which relied on a previously known flaw in WEP that could be exploited only for the TKIP algorithm in WPA. The flaw can only decrypt short packets with mostly known contents, such as ARP messages, and 802.11e, which allows Quality of Service packet prioritization as defined. The flaw does not lead to key recovery, but only a keystream that encrypted a particular packet, and which can be reused as many as seven times to inject arbitrary data of the same packet length to a wireless client. For example, this allows someone to inject faked ARP packets which makes the victim send packets to the open Internet. This attack was further optimised by two Japanese computer scientists Toshihiro Ohigashi and Masakatu Morii.[13] They developed a way to break the stopgap WPA system that uses the Temporal Key Integrity Protocol (TKIP) algorithm, whereas WPA2 systems that use the stronger CCMP algorithm are not affected.[14] In October 2009, Halvorsen with others made a further progress, enabling attackers to inject larger malicious packets (596 bytes, to be more specific) within approximately 18 minutes and 25 seconds.[15][16]

EAP extensions under WPA- and WPA2- Enterprise

The Wi-Fi alliance has announced the inclusion of additional EAP (Extensible Authentication Protocol) types to its certification programs for WPA- and WPA2- Enterprise certification programs. This was to ensure that WPA-Enterprise certified products can interoperate with one another. Previously, only EAP-TLS (Transport Layer Security) was certified by the Wi-Fi alliance.

The EAP types now included in the certification program are:

Other EAP types may be supported by 802.1X clients and servers developed by specific firms. This certification is an attempt for popular EAP types to interoperate; their failure to do so is currently one of the major issues preventing rollout of 802.1X on heterogeneous networks.

Hardware support

Most newer Wi-Fi CERTIFIED devices support the security protocols discussed above, out-of-the-box, as compliance with this protocol has been required for a Wi-Fi certification since September 2003.[17]

The protocol certified through Wi-Fi Alliance's WPA program (and to a lesser extent WPA2) was specifically designed to also work with wireless hardware that was produced prior to the introduction of the protocol[3] which usually had only supported inadequate security through WEP. Many of these devices support the security protocol after a firmware upgrade. Firmware upgrades are not available for all legacy devices.

Furthermore, many consumer Wi-Fi device manufacturers have taken steps to eliminate the potential of weak passphrase choices by promoting an alternative method of automatically generating and distributing strong keys when adding a new wireless adapter or appliance to a network. The Wi-Fi Alliance has standardized these methods and certifies compliance with these standards through a program called Wi-Fi Protected Setup.

References

  1. ^ "Understanding WEP Weaknesses". Wiley Publishing. Retrieved 2010-01-10.
  2. ^ "Battered, but not broken: understanding the WPA crack". Ars Technica. 2008-11-06. Retrieved 2008-11-06.
  3. ^ a b "WPA is both forward and backward-compatible and is designed to run on existing Wi-Fi devices as a software download." "Wi-Fi Protected Access White Paper". Wi-Fi Alliance.
  4. ^ "WPA2 Security Now Mandatory for Wi-Fi CERTIFIED Products" "WPA2 Security Now Mandatory for Wi-Fi CERTIFIED Products". Wi-Fi Alliance.
  5. ^ Each character in the pass-phrase must have an encoding in the range of 32 to 126 (decimal), inclusive. (IEEE Std. 802.11i-2004, Annex H.4.1)
    The space character is included in this range.
  6. ^ van Rantwijk, Joris (2006-12-06). "WPA key calculation — From passphrase to hexadecimal key". Retrieved 2009-01-16.
  7. ^ Test attack WPA-PSK and WPA2-PSK by using Pyrit
  8. ^ "Securing Wireless Network". ERM Blog. Retrieved 2009-06-09.
  9. ^ "A key generated from a passphrase of less than about 20 characters is unlikely to deter attacks." "... against current brute-strength attacks, 96 bits [of security] SHOULD be adequate." (Weakness in Passphrase Choice in WPA Interface, by Robert Moskowitz. Retrieved March 2, 2004.)
  10. ^ http://www.wigle.net/gps/gps/Stat
  11. ^ http://www.renderlab.net/projects/WPA-tables/
  12. ^ Practical Attacks against WEP and WPA
  13. ^ A Practical Message Falsification Attack on WPA
  14. ^ New attack cracks WPA TKIP algorithm
  15. ^ Halvorsen, Finn M.; Haugen, Olav; Eian, Martin; Mjølsnes, Stig F. (September 30, 2009). "An Improved Attack on TKIP". doi:10.1007/978-3-642-04766-4_9. {{cite journal}}: Cite journal requires |journal= (help)
  16. ^ "The Weakness of TKIP Encryption". 2010-01-20. Retrieved 2010-01-25.
  17. ^ "Wi-Fi Protected Access Security Sees Strong Adoption". Wi-Fi Alliance Press Room.