Skip to content

PEAP-MSCHAPv2 Configuration Issue? #36

@lorenzodifuccia

Description

@lorenzodifuccia

I've a laptop configured to use PEAP and MSCHAPv2 methods for EAP.

If I try to connect using t :: t credentials, matching the last line of the "hostapd-wpe.eap_user" file, it will successfully authenticate.

# WPE - DO NOT REMOVE - These entries are specifically in here 
*               PEAP,TTLS,TLS,FAST
"t"         TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP,MSCHAPV2,MD5,GTC,TTLS,TTLS-MSCHAPV2  "t"     [2]
IEEE 802.1X: authenticated - EAP type: 0 (unknown)

If I try to add a custom configuration, like any of the following ones, it will fail:

*                  PEAP,TTLS,TLS,FAST
"test"          MSCHAPV2  "test"     [2]
-- or --
"test"          MSCHAPV2,TTLS-MSCHAPV2  "test"     [2]
-- or --
"test"         TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP,MSCHAPV2,MD5,GTC,TTLS,TTLS-MSCHAPV2  "test"     [2]
-- even changing the last line to --
"c"         TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP,MSCHAPV2,MD5,GTC,TTLS,TTLS-MSCHAPV2  "c"     [2]
IEEE 802.1X: authentication failed - EAP type: 0 (unknown)
IEEE 802.1X: Supplicant used different EAP type: 25 (PEAP)

Version installed: hostapd-wpe/kali-rolling,now 2.10+git20220310-0kali3 amd64 [installed] (from apt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions