Skip Links

Network World

  • Social Web 
  • Email 
  • Close

Explaining TKIP

By Joel Snyder and Rodney Thayer , Network World , 10/04/2004
  • Share/Email
  • Comment
  • Print

Temporal Key Integrity Protocol (TKIP), as defined by the IEEE 802.11i specification, addresses the encryption part of the wireless security equation. (A different part of 802.11i addresses the per-message integrity problem)   TKIP was designed with a very difficult constraint in place: it had to operate on existing hardware, and therefore it could not require computationally advanced encryption.

TKIP is a "wrapper" that goes around the existing WEP encryption.  TKIP comprises the same encryption engine and RC4 algorithm defined for WEP.  However, the key used for encryption in TKIP is 128 bits long.  This solves the first problem of WEP: a too-short key length.


Cracking the wireless security code
Security picks
What we tested
WEP: Stick a fork in it
802.1X: A stepping stone
WPA - An accident waiting to happen
802.11i: The next big thing
Security standards aside, lock down your boxes, boys!
Wireless Access Point: Wire-side security testing (PDF)
How to do it: Securing your wireless LAN
Tools, not standards, that help tie down wireless nets
Glossary of wireless security terms
How we did it

Archive of Network World reviews
Subscribe to the Product Review newsletter


An important part of TKIP is that it changes the key used for each packet.  This is the "Temporal" part of the picture.  The key is created by mixing together a combination of things, including a base key (called a Pairwise Transient Key in TKIP parlance), the MAC address of the transmitting station, and the serial number for the packet.   The mixing operation is designed to put a minimum demand on the stations and access points, yet have enough cryptographic strength so that it cannot easily be broken. 

Each packet transmitted using TKIP has a unique 48-bit serial number that is incremented every time a new packet is transmitted and used both as the Initialization Vector and part of the key.  Putting a sequence number into the key ensures that the key is different for every packet.  This solves another problem of WEP, called "collision attacks," which can occur when the same key is used for two different packets.  With different keys, there are no collisions.

Having the serial number of the packet also be the initialization vector helps to reduce yet another WEP problem, called "replay attacks."  Because a 48-bit sequence number will take thousands of years to repeat itself, no one can replay old packets from a wireless connection---they will be detected as out of order because the sequence numbers won't be right. 

  • Share/Email
  • Comment
  • Print
Comments (1)
Login
Forgot your account info?

RE: Explaining TKIPBy zobi on August 21, 2007, 8:38 amthis means that TKIP is a weak workaround around the industrialy stupid WEP protocol, and that this said it is just another piece of shit that will make the agony...

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed