public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* Making promisc mode work with WPA encryption?
@ 2009-04-07  0:15 Maxim Levitsky
  2009-04-07  4:59 ` Kalle Valo
  2009-04-07 16:17 ` Jouni Malinen
  0 siblings, 2 replies; 7+ messages in thread
From: Maxim Levitsky @ 2009-04-07  0:15 UTC (permalink / raw)
  To: linux-wireless

This is my last question I want  to ask.
I finally got time to learn how WPA2 encryption works.
so there is per station key (temporal key), and one multicast key (group
key). TK is derived from PSK by throwing together macs or both ends, two
random numbers, and PMK (whick in case of wpa personal == PSK

This means kernel can't automatically decrypt other stations traffic.
But I could arrange small program that listens to device in monitor or
maybe even just promisc mode, and records WPA handshakes. For every
handshake it could install the key in kernel driver, so it would use it
for decryption, and show the traffic on device in promisc mode. Is it
possible to do today? I guess not.
All this program has to know is the PSK.
(I could even arrange WPA supplicant to do this job - it knows all keys
already)

Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-07 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  0:15 Making promisc mode work with WPA encryption? Maxim Levitsky
2009-04-07  4:59 ` Kalle Valo
2009-04-07 12:54   ` Maxim Levitsky
2009-04-07 16:17 ` Jouni Malinen
2009-04-07 20:19   ` Maxim Levitsky
2009-04-07 21:07     ` Jouni Malinen
2009-04-07 21:11     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox