diff --git a/packets/dot11.go b/packets/dot11.go index cce9c981..38110949 100644 --- a/packets/dot11.go +++ b/packets/dot11.go @@ -253,7 +253,13 @@ func Dot11ParseEncryption(packet gopacket.Packet, dot11 *layers.Dot11) (bool, st cipher = rsn.Pairwise.Suites[i].Type.String() } for i = 0; i < rsn.AuthKey.Count; i++ { - auth = rsn.AuthKey.Suites[i].Type.String() + // https://balramdot11b.com/2020/11/08/wpa3-deep-dive/ + if rsn.AuthKey.Suites[i].Type == 8 { + auth = "SAE" + enc = "WPA3" + } else { + auth = rsn.AuthKey.Suites[i].Type.String() + } } } } else if enc == "" && info.ID == layers.Dot11InformationElementIDVendor && info.Length >= 8 && bytes.Equal(info.OUI, wpaSignatureBytes) && bytes.HasPrefix(info.Info, []byte{1, 0}) {