Pentesting WiFi

Authentication Types and Protocol Information

WEP

WPA

WPA2

WPA3

IEEE 802.11 Frames and Types

Connection Cycle in Full

  1. AP sends beacon frames out
  2. Client notices AP, sends probe request
  3. AP responds to probe request
  4. Client sends authentication request to AP
  5. AP responds with authentication response
  6. Client sends association response
  7. AP sends association response
  8. Client performs EAPOL (handshake) if using WPA2+

Authentication Methods

Open System Authentication

Shared Key Authentication

WiFi Interfaces

Interface Strength

Interface Modes

interface={interface}
driver=nl80211
ssid={network_name}
channel=2
hw_mode=g

Aircrack-ng

Airmon-ng

Airodump-ng

Airgraph-ng

Aireplay-ng

Aircrack-ng

Airdecap-ng

Misc

Connecting to Networks via CLI

network={
  ssid="{network_name}"
  key_mgmt=WPA-EAP
  identity="{domain}\{user}"
  password="{domain_password}"
}

Finding Hidden SSIDs

Bypassing MAC Filtering