Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

Can some one with these two pieces of information get a hold of the psk key, or its a blind attack that can be done using dictionaries or/and word-lists ?
If so please add some resource like a link that i can get further info from.

edit

wireshark screetshot


the key has been changed, all the data hereby is invalid at the time of this post.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

WPA2 has three main key types:

  • Pairwise Master Key (PMK) - the shared passphrase
  • Pairwise Transient Key (PTK) - a key used for securing communications with individual clients
  • Group Temporal Key (GTK) - a key used for securing multicast traffic

The PTK is generated from the following data:

  • Shared passphrase (PMK)
  • A nonce value generated by the access point (ANonce)
  • A nonce value generated by the client station (SNonce)
  • Access point MAC address
  • Client station MAC address

The SNonce value has its authenticity and integrity provided by a Message Integrity Code (MIC). Strictly speaking this should be called the MAIC, because it provides authenticity as well as integrity.

The above values (excluding the MIC) are concatenated and put through PBKDF2-SHA1, in order to generate the PTK. After this, the AP sends the GTK (and a corresponding MIC) to the client. The PTK and GTK are then used as the encryption keys for further transmissions, for unicast and multicast respectively.

The overall handshake looks like this:

WPA2 handshake

If the attacker captures the PTK, ANonce, SNonce, AP MAC and client MAC values via network sniffing, he can then brute-force the PMK. The MICs do not need to be known, because they does not contribute the PTK value.

Since PBKDF2 is a slow key derivation algorithm, a normal bruteforce would be rather inefficient. A dictionary attack is much more feasible.

Further reading:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.