ESP-NOW monitoring
Guardian Air monitors ESP-NOW wireless traffic to detect exploitation attempts targeting Espressif ESP-NOW based devices.
Overview
ESP-NOW is a connectionless communication protocol developed by Espressif for low-bitrate, peer-to-peer data exchange between ESP32 and ESP8266 devices. ESP-NOW frames are transmitted as Wi-Fi action frames without requiring an access point or network association. Guardian Air captures ESP-NOW traffic using the Wi-Fi adapter in monitor mode and analyzes frame patterns for known vulnerabilities. Guardian Air synchronizes the data to Vantage for analysis and alert generation.
What Guardian Air discovers
During ESP-NOW monitoring, Guardian Air collects the following information from each captured frame.
| Data point | Description |
|---|---|
| Source address | The media access control (MAC) address of the transmitting device. |
| Destination address | The MAC address of the intended recipient, or broadcast address for group communication. |
| Signal strength (received signal strength indicator (RSSI)) | The received signal strength of the frame in dBm. |
Attack detection
Guardian Air detects exploitation attempts targeting known vulnerabilities in the ESP-NOW protocol implementation.
| Attack type | Description |
|---|---|
| Out-of-bounds buffer read (CVE-2024-42484) | An ESP-NOW frame containing invalid group info data is detected. The frame's payload size is smaller than the declared group info structure, which can cause a buffer read out-of-bounds and potentially crash the receiving device. Some ESP-NOW protocol versions do not sanitize group info data and are vulnerable to this attack. |
| Replay attack (CVE-2024-42483) | A burst of ESP-NOW frames toward a single destination is detected at an unusually high rate. This pattern may indicate an attacker attempting to saturate the receiver's cache to replay previously captured frames. The ESP-NOW protocol does not implement protection against replay attacks. |
Hardware
ESP-NOW monitoring uses the same Realtek 8821CU Wi-Fi adapter (interface
wlan0) as Wi-Fi monitoring. Guardian Air identifies ESP-NOW
frames by matching the Espressif Organizationally Unique Identifier (OUI) in Wi-Fi action frames.