A hospital's WPA/TKIP SSID for bedside monitors logs two Michael MIC failures and every client then drops for a minute; what happened and what do you do?
answer
- two failures, one minute, one outage
- reason code 14 on the deauthentication
- log cannot tell fault from hostile
- contain the blast radius, then retire
basics
~20 sThe TKIP countermeasure fired: two Michael MIC failures within a minute made the access point deauthenticate its clients and refuse TKIP traffic for 60 seconds. The log cannot separate a fault from hostile activity; investigate, then move the monitors off TKIP.
solid answer
~40 sThat sequence is the Michael countermeasure working as designed. In hostapd the log shows two 'Michael MIC failure detected' lines, 'TKIP countermeasures initiated', a deauthentication with reason code 14 for every station, rejected authentications for 60 seconds, then 'TKIP countermeasures ended'. On its own it cannot show whether a faulty device, a keying problem or hostile activity caused the failures; NIST treats a MIC failure as a probable active attack to be logged and investigated. For bedside monitors the outage itself is the risk. Find which station the failures came from, check correlated wireless IDS events, isolate the TKIP devices on their own SSID, and fund CCMP-capable firmware or replacement so TKIP can be switched off.
go deeper
Recall that the access point pauses TKIP for a minute after two Michael MIC failures and that this shows as a brief outage for every TKIP client.
Match each log line to a step of the countermeasure, name reason code 14 and explain why the log cannot say who caused the failures.
Triage the event as both an outage and a possible attack, isolate the TKIP devices so the outage stays local and say what evidence would separate a fault from hostility.
Decide who owns the availability risk of a clinical device that cannot leave TKIP yet, which compensating controls you fund and what date ends the exception.
## Reading the log hostapd, the open-source reference implementation, writes a recognisable sequence when the countermeasure runs. The message texts below are from its source (`src/ap/tkip_countermeasures.c` and `src/ap/ieee802_11.c`); the surrounding format varies by build, and the refusal line is printed at debug verbosity only. > Michael MIC failure detected in received frame > Michael MIC failure detected in received frame > TKIP countermeasures initiated > Ongoing TKIP countermeasures (Michael MIC failure) - reject authentication > TKIP countermeasures ended | Log line or counter | What it means | |---|---| | `Michael MIC failure detected in received frame` | A frame failed the Michael check; with a `(local)` suffix the access point found it itself, otherwise it logged a client's report | | `TKIP countermeasures initiated` | A second failure fell within 60 seconds of the previous one | | deauthentication with reason code 14 | `WLAN_REASON_MICHAEL_MIC_FAILURE`, sent to each station | | `Ongoing TKIP countermeasures ... reject authentication` | Stations that try to rejoin during the 60 seconds are refused (debug level) | | `TKIP countermeasures ended` | The 60-second timer expired; stations may reassociate and negotiate a new PTK | | `dot11RSNATKIPCounterMeasuresInvoked` | hostapd's status counter of how often countermeasures have started on the BSS | | `dot11RSNAStatsTKIPLocalMICFailures`, `...RemoteMICFailures` | Per-station counters of failures the access point found and failures the client reported | ## What the sequence establishes and what it does not - It establishes that the rule fired and that, for 60 seconds, the stations on that BSS had no service. - It does not establish a cause. A faulty device, a firmware or rekey problem or a deliberate attempt all look the same to the counter. - It does not show that anything was recovered or forged. A MIC failure means a check failed, which is the alarm, not the breach. - It does not show that the passphrase or a certificate is wrong; that failure appears earlier, in the handshake. The counters are the cheap alert: a rising countermeasure count or a station with repeated failures can be graphed and paged on. Replay and ICV-error statistics are marked TODO in the source, so they are not available there. NIST's guide to 802.11i says MIC failures "likely mean an active attack", that they are to be logged and that an administrator should investigate, and it notes in a footnote that the countermeasure lets an attacker cause a denial of service by generating MIC errors. ## Triage 1. Confirm it is the countermeasure: the failure pair, the initiation line and reason code 14. 2. Identify the station address behind each failure. One device repeating, especially after a firmware or key change, points toward a fault; several devices failing together is a different pattern. Neither is proof. 3. Look at what the wireless IDS saw in the same minutes: unknown access points and deauthentication bursts. 4. Check the rekey timers. With TKIP as group cipher, hostapd's group rekey default is 600 seconds, so every ten minutes the group key changes under every client. 5. Decide whether the event is an outage report, a security incident or both. On a clinical network it is at least the first. ## Containing the blast radius In hostapd the failure counter and the countermeasure state belong to one BSS, and its implementation deauthenticates every station on that BSS, not only the TKIP ones, while the standard's text speaks of the TKIP clients. Both facts argue for the same step: keep TKIP devices on their own SSID, on their own VLAN with narrow access rules, so a countermeasure there does not take down CCMP clients. The 60-second window is a constant in hostapd's source; hostapd.conf has no setting for it, so there is nothing to tune. ## What actually removes the risk - **Replace or upgrade** the monitors so they negotiate CCMP, then switch TKIP off on the SSID (hostapd: `rsn_pairwise=CCMP`, or a build with `CONFIG_NO_TKIP=y`). - **Interim:** shorten the PTK lifetime with hostapd's `wpa_ptk_rekey`, whose own comment ties it to TKIP weaknesses and warns that PTK rekeying is buggy with many devices. Test it on the monitors first; it narrows exposure, it does not remove the rule. - **Not a fix:** protected management frames protect management frames, not the Michael check on data frames, and hiding the SSID changes nothing about MIC failures. - **Record the exception** with an owner and an end date, so the SSID has a retirement trigger instead of a shrug.
- How would the team tell a faulty monitor from hostile activity after the event?Not from the countermeasure event itself. Correlate the station address behind each failure, whether it recurs after a firmware or key change, and what the wireless IDS saw in the same minutes. A single device repeating points toward a fault, but only bench or firmware evidence confirms it.
- Why isolate the TKIP devices on their own SSID instead of tuning the countermeasure?hostapd's countermeasure window is a constant in its source and hostapd.conf has no setting for it, so it cannot be tuned. Its failure counter and state belong to one BSS, so a separate SSID keeps CCMP clients on a different BSS running when the TKIP one goes quiet.
- Reads two Michael failures as proof that the key was stolen.
- Says the minute of silence is a fault in the access point, not a designed response.
- Proposes protected management frames as the cure for TKIP outages.
- Treats the hidden SSID as a control that prevents MIC failures.
- Keeps the TKIP monitors on the shared staff SSID, calling isolation unnecessary.