Evil twin: the malicious twin access point
Devices auto-reconnect to known networks by SSID. An evil twin clones the SSID and offers a stronger signal: clients pick it.
The flow
The attacker creates an AP with an identical SSID ("Airport_WiFi"), often combined with deauth to knock clients off the real AP. Once connected, a fake captive portal asks for the corporate WiFi password or email credentials.
hostapd + dnsmasq + a cloned login pageDefence
Corporate networks with 802.1X/EAP and server-certificate validation (the client verifies the AP, not just the other way). Disable auto-reconnect to open networks. WIDS to detect rogue APs. Distrust captive portals asking for passwords.