Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamHow to prevent WiFi deauthentication attacks
To prevent Wi-Fi deauthentication attacks, enable Protected Management Frames, also called PMF, 802.11w, Management Frame Protection, or MFP, on your router or access point.
Best configuration:
Important limitation: PMF prevents spoofed deauthentication/disassociation management frames, but it does not prevent RF jamming or all forms of Wi-Fi denial-of-service.
A Wi-Fi deauthentication attack abuses management frames in IEEE 802.11 wireless networks.
In normal operation, an access point can send a deauthentication or disassociation frame to a client to tell it:
“You are no longer connected to this network.”
Historically, many Wi-Fi management frames were not cryptographically protected. That allowed an attacker within radio range to spoof the MAC address of the access point or client and transmit fake deauthentication frames.
The result is that the victim device disconnects from Wi-Fi.
Common attacker goals include:
This is not usually an Internet-based attack. The attacker generally needs to be physically close enough to transmit Wi-Fi frames to your devices.
The correct technical defense is IEEE 802.11w Protected Management Frames, commonly exposed in router settings as:
PMF cryptographically protects certain Wi-Fi management frames, including deauthentication and disassociation frames. If a forged deauthentication frame is received, the client should reject it because it lacks valid cryptographic integrity protection.
Most routers or controllers offer one of these modes:
| PMF mode | Meaning | Security level |
|---|---|---|
| Disabled | Management frames are not protected | Vulnerable |
| Optional / Capable | PMF is used only with clients that support it | Partial protection |
| Required / Mandatory | Clients must support PMF to connect | Best protection |
For actual prevention, use:
PMF: Required
If PMF is only set to Optional, modern clients may be protected, but older clients that do not support PMF remain vulnerable.
The simplest way to get strong protection is to use WPA3, because WPA3-certified networks require Protected Management Frames.
Recommended modes:
Be careful with WPA2/WPA3 transition mode. It improves compatibility, but older WPA2 clients may still connect without full protection depending on AP configuration. If security is more important than legacy compatibility, avoid transition mode and use WPA3-only.
Use this checklist:
A good home configuration is:
SSID: Home-Secure
Security: WPA3-Personal SAE
PMF: Required
WPS: Disabled
Password: Long random passphrase
If some older devices cannot connect:
SSID: Home-Secure
Security: WPA3-Personal
PMF: Required
SSID: Home-IoT
Security: WPA2-Personal
PMF: Optional or Disabled if necessary
Network isolation: Enabled
Access to LAN: Blocked or restricted
The second SSID is less secure, but isolating it prevents vulnerable devices from exposing the rest of the network.
Use a stronger architecture:
A robust enterprise design might look like:
| SSID | Security | PMF | Purpose |
|---|---|---|---|
| Corp-Secure | WPA3-Enterprise / 802.1X | Required | Laptops, phones, tablets |
| Corp-IoT | WPA2/WPA3, restricted | Optional/Required depending on device support | Printers, sensors, embedded devices |
| Guest | WPA3 or captive portal isolation | Required if possible | Internet-only guest access |
| OT-Wireless | Avoid if possible | Required if used | Industrial/critical systems |
Several common Wi-Fi “security” measures do not solve the deauthentication problem.
A hidden SSID does not prevent deauthentication attacks. Attackers can still observe Wi-Fi traffic and identify the network when clients connect.
MAC filtering is weak. MAC addresses are visible over the air and can be spoofed.
A strong WPA2/WPA3 password is important, but it does not by itself stop spoofed deauthentication frames unless PMF is enabled.
However, a strong password does reduce the risk of an attacker cracking a captured WPA/WPA2 handshake.
Changing the Wi-Fi channel may temporarily avoid an attacker, but it is not a real defense. An attacker can scan and follow the network.
Reducing transmit power can slightly reduce exposure outside your building, but it does not protect against someone nearby.
If you cannot fully prevent attacks because of legacy devices, you should at least detect them.
Signs of a deauthentication attack include:
Useful defensive tools include:
For a high-risk environment, place monitoring sensors in multiple physical areas so you can estimate the attacker’s location from signal strength.
Without PMF, a receiving station sees a deauthentication frame and may accept it if the frame appears to come from the AP’s MAC address.
With PMF enabled, protected management frames include cryptographic integrity protection. A forged frame will not have the correct key material, so the client rejects it.
Simplified:
Without PMF:
Fake AP MAC + deauth frame = client may disconnect
With PMF:
Fake AP MAC + invalid cryptographic protection = client ignores frame
A deauthentication attack is a protocol-level attack. PMF helps against that.
But an attacker can still perform a lower-layer denial-of-service attack by transmitting noise or interference. That is not deauthentication; that is RF jamming or interference.
Protection against jamming requires different measures:
For home:
For enterprise:
On laptops and phones:
This does not stop deauthentication directly, but it helps against evil twin follow-up attacks.
Many IoT devices, old printers, smart plugs, cameras, and embedded systems may not support PMF.
For these:
Example firewall policy:
IoT VLAN -> Internet: Allow limited required traffic
IoT VLAN -> Main LAN: Deny
Main LAN -> IoT VLAN: Allow only management if needed
Guest VLAN -> Main LAN: Deny
Unauthorized Wi-Fi deauthentication is generally treated as a denial-of-service attack. Even if no password is cracked and no data is stolen, intentionally disrupting someone else’s wireless network can violate computer misuse, telecommunications, or radio regulations depending on jurisdiction.
For defensive testing:
Security mode: WPA3-Personal SAE
PMF / 802.11w: Required
WPS: Disabled
SSID hiding: Not necessary
Password: Long random passphrase
Guest network: Enabled and isolated
IoT network: Separate if needed
Main SSID:
WPA3-Personal
PMF Required
Legacy/IoT SSID:
WPA2-Personal
PMF Optional
Client isolation enabled
LAN access blocked
Corporate SSID:
WPA3-Enterprise or WPA2-Enterprise
802.1X authentication
EAP-TLS preferred
PMF Required
Guest SSID:
Isolated VLAN
Internet-only
PMF Required if supported
IoT/OT SSID:
Separate VLAN
Strict firewall rules
PMF Required where supported
Wired Ethernet preferred for critical devices
The real prevention method is:
Enable WPA3 or WPA2 with Protected Management Frames / 802.11w set to Required.
Then supplement it with:
If a device does not support PMF, you cannot fully protect it from deauthentication attacks at the Wi-Fi protocol level; you can only isolate it, monitor for attacks, or replace it with newer hardware.