First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How do i decrypt wpa3 packets using wireshark.

I'm new to Wireshark and would like to know how to decrypt WPA3 using it. Especially how to retrieve PMK or any other keys required to decrypt it using hostapd. I have access to an android AP (via terminal or any kind of debugging is possible)..

Pradeep_@_wireshark's avatar
1
Pradeep_@_wireshark
asked 2023-09-06 12:21:15 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Some info here: https://wiki.wireshark.org/HowToDecrypt802.11

Namely the flags for running hostapd, -d and -K which will dump the keys.

Bob Jones's avatar
1.5k
Bob Jones
answered 2023-09-07 23:08:34 +0000
edit flag offensive 0 remove flag delete link

Comments

At least for wpa_supplicant, the PMK is shown in the debug output as something like this:

WPA: PMK - hexdump(len=32): d1 f8 aa 86 77 92 8f 81 75 92 d0 01 f9 3b b3 59 fe 73 70 20 90 99 09 ea e6 59 6b 1b aa 0c 39 a2

Of course, your key would be different. I would assume since hostapd and wpa_supplicant are developed together, hostapd would have same/similar debug output with keys. No idea if this debug works on an Android device.

Bob Jones's avatar Bob Jones (2023-09-07 23:15:00 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer