From: Jouni Malinen <j@w1.fi>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: Making promisc mode work with WPA encryption?
Date: Tue, 7 Apr 2009 19:17:18 +0300 [thread overview]
Message-ID: <20090407161718.GA19733@jm.kir.nu> (raw)
In-Reply-To: <1239063352.4705.40.camel@maxim-laptop>
On Tue, Apr 07, 2009 at 03:15:52AM +0300, Maxim Levitsky wrote:
> 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.
No, and I don't see why this should ever end up in the kernel.. It is
better done in userspace for such a special case. The key configuration
interface does not support configuring different keys based on the
receiver address and most hardware acceleration designs would not
support matching the key in this way, so the standard mechanism used for
decrypting packets to the STA in normal case does not really suit this
type of need.
> All this program has to know is the PSK.
> (I could even arrange WPA supplicant to do this job - it knows all keys
> already)
Sure, you could figure out the PTK for each STA when using WPA-Personal
(but not so for WPA-Enterprise/EAP), but that is only one part of the
task. The problem comes from decrypting packets that were not designed
to be decrypted (unicast frames to other STAs).
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2009-04-07 16:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-04-07 20:19 ` Maxim Levitsky
2009-04-07 21:07 ` Jouni Malinen
2009-04-07 21:11 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090407161718.GA19733@jm.kir.nu \
--to=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox