The .11 Veil, Camouflage & Covert!!! Invisible WiFi, Revealed
Rushikesh Nandedkar (Security Analyst), Amrita Iyer (Test Analyst)
BruCON 0x07 · Day 1
Overview
In "The .11 Veil, Camouflage & Covert!!! Invisible WiFi, Revealed," Rushikesh Nandedkar and Amrita Iyer delve into the often-overlooked vulnerabilities within the IEEE 802.11 wireless standard, demonstrating how seemingly innocuous Wi-Fi frames can be exploited to establish covert communication channels. The talk highlights that while data is conventionally expected within the payload of network frames, the 802.11 standard contains "undisclosed fields" and parameters that can be manipulated to smuggle data, effectively rendering the communication invisible to standard monitoring tools and unpatched systems. This research is particularly pertinent in an era where open Wi-Fi networks are ubiquitous and users frequently connect without scrutinizing the underlying security mechanisms.

Key moments
- 0:00 Introduction and personal Wi-Fi compromise story
- 4:00 Talk agenda and 'don't trust payloads'
- 12:00 Defining covert communication and attack focus
- 15:00 Approach 1: LT Euphoria using beacon frames
- 22:00 Scapy demonstration of data smuggling in frames
- 32:00 Approach 3: Patch Peloton - Driver patching for invisibility
- 38:00 Advantages of the driver patching approach
- 40:00 Future potential fields for covert channels
The .11 Veil, Camouflage & Covert!!! Invisible WiFi, Revealed
Speakers: Rushikesh Nandedkar (Security Analyst); Amrita Iyer (Test Analyst)
Conference: BruCON
YouTube: https://www.youtube.com/watch?v=1uwCWL_3Obk
Overview
In "The .11 Veil, Camouflage & Covert!!! Invisible WiFi, Revealed," Rushikesh Nandedkar and Amrita Iyer delve into the often-overlooked vulnerabilities within the IEEE 802.11 wireless standard, demonstrating how seemingly innocuous Wi-Fi frames can be exploited to establish covert communication channels. The talk highlights that while data is conventionally expected within the payload of network frames, the 802.11 standard contains "undisclosed fields" and parameters that can be manipulated to smuggle data, effectively rendering the communication invisible to standard monitoring tools and unpatched systems. This research is particularly pertinent in an era where open Wi-Fi networks are ubiquitous and users frequently connect without scrutinizing the underlying security mechanisms.
The speakers, with a combined experience of over 10 years in IT security, present three distinct approaches to achieving this covert communication: manipulating Information Elements (IEs) in management frames, encoding data within acknowledgement (ACK) and response frames, and perhaps most profoundly, by patching network drivers at the kernel level. Their work challenges the conventional understanding of Wi-Fi security, urging a deeper examination of the standards and driver implementations. The implications are significant for both attackers seeking stealthy data exfiltration or command-and-control, and for defenders needing to detect sophisticated, low-level network abuses that bypass traditional security controls.
Background
▶ Watch: Introduction and personal Wi-Fi compromise story (0:00)
The premise of this research stems from the inherent vulnerabilities and widespread misuse of open Wi-Fi networks. Amrita Iyer opens the talk with a relatable anecdote: the common user's delight at finding free Wi-Fi, juxtaposed with her own unsettling experience of receiving read messages on WhatsApp while she was asleep, indicating a compromise of her Wi-Fi connectivity via an Access Point (AP) with no visible SSID. This personal experience underscores a critical security gap: the ease with which users connect to potentially malicious or compromised networks, assuming a level of security that often doesn't exist.
Historically, Wi-Fi security standards like WEP and WPA have proven to be vulnerable, with the former breakable in minutes. Beyond encryption weaknesses, poor configurations (e.g., default "admin/admin" credentials), rogue access points, eavesdropping, and social engineering continue to plague wireless environments. The speakers emphasize that an ever-growing list of devices—mobile phones, cameras, printers, gaming consoles, laptops, desktops, and increasingly Industrial Control Systems (ICS)—are susceptible victims awaiting exploitation on these vulnerable networks.
The technical foundation for their covert channels lies within the IEEE 802.11 standard itself. The speakers assert that while the 6,000-page standard meticulously outlines legitimate uses, it inadvertently or wittingly leaves certain "parameters fields" undisclosed or underspecified, creating opportunities for data trafficking outside of the expected data payloads. Their focus is specifically on the data link layer of the OSI model, rather than higher-layer application protocols, to achieve a deeper level of stealth. They briefly introduce various 802.11 modes—managed, ad-hoc, master, and monitor—with the master and monitor modes being particularly relevant for their experimentation in creating and observing these covert communications. At its core, a covert channel is defined as a method to transfer information between processes or entities that are not supposed to communicate according to security policies, making it a powerful tool for bypassing security controls.
Key Findings
▶ Watch: Defining covert communication and attack focus (12:00)
The central discovery presented by Nandedkar and Iyer is the existence and practical exploitation of covert communication channels within the IEEE 802.11 wireless standard. Their research demonstrates that data can be smuggled through fields not typically associated with data transfer, thereby evading standard network monitoring and detection mechanisms.
Their primary findings revolve around three distinct approaches:
- Exploiting Information Elements (IEs) in Management Frames (Alt Yoforia): They found that beacon frames and probe request/response frames, critical for Wi-Fi network operation, contain Information Elements (IEs) that can be manipulated. Specifically, the Traffic Indication Map (TIM) information element, usually used to signal buffered data for sleeping stations, possesses a
partial virtual bitmapfield capable of carrying up to 251 bytes of arbitrary data. Since beacon frames are broadcast frequently (around 600 per minute) and do not require authentication or association, they provide an abundant, uninspected carrier for covert data. This method allows for a "fire at will" approach, broadcasting data to any listening device.
- Encoding Data in Acknowledgement (ACK) and Response Frames (Patch Peloton - Initial Phase): Recognizing the limitations of broadcast frames, they explored using unicast/multicast ACK frames and other response frames. These frames are part of an established communication flow, lending them an air of legitimacy and reducing the likelihood of deep inspection. By encoding data into fields like
frame control,sequence numbers,BSSID,ESSID, andsource address, they leverage existing trust and sequencing mechanisms. This approach aims for a more targeted and less suspicious form of covert communication.
- Driver Patching for True Invisibility: The most significant and technically profound finding is that modifying network drivers at the kernel level can create a truly invisible communication conduit. Inspired by prior research, they successfully demonstrated that by altering a seemingly fixed field, such as the
version field(typically0) in an 802.11 frame to a non-standard value (e.g.,10), only devices running similarly patched drivers can interpret the traffic. Unpatched systems, including network sniffers, either drop these frames entirely or display them as garbled, uninterpretable data. This creates a "partial event horizon" where covert traffic is completely hidden from the vast majority of network devices and monitoring tools, offering a high degree of stealth and autonomy.
These findings collectively highlight a significant blind spot in wireless security, demonstrating how the very fabric of Wi-Fi communication can be subverted for covert purposes, posing challenges for detection and mitigation.
Technical Deep Dive
▶ Watch: Scapy demonstration of data smuggling in frames (22:00)
The core of the talk lies in dissecting the IEEE 802.11 standard to uncover and exploit its hidden capacities for covert communication. The speakers categorize 802.11 frames into three types: management frames (e.g., association, probe, beacon), control frames (e.g., RTS, CTS, ACK), and data frames. While data frames are the obvious carriers of information, their research focuses on the management and control frames, which are typically less scrutinized for application-level data.
Approach 1: Alt Yoforia – Information Element Smuggling
The first approach, termed "Alt Yoforia" (a play on the 802.11 Information Element, or IE), focuses on embedding data within Information Elements (IEs) found in 802.11 management frames.
- Target Frames:
- Beacon Frames: These are broadcast frames sent by Access Points (APs) to advertise their presence. They are highly abundant, with approximately one beacon frame sent every 100 milliseconds, totaling around 600 frames per minute. Crucially, they do not require any authentication or association with an AP to be listened to, making them ideal for broadcasting covert data to any nearby device. The subtype for beacon frames is
0x08. - Probe Request/Response Frames: When a device enables its Wi-Fi, it sends probe requests to discover known SSIDs in its vicinity. If an AP responds with a probe response, it indicates the network is available. These frames are similar to beacons in structure, with probe requests having a subtype of
0x04.
- Information Elements (IEs): IEs are specific pieces of information within management frames that describe various properties of the wireless network or device (e.g., hardware capabilities, power ratings). The IEEE 802.11 standard defines 256 possible variants of IEs, with about 121 currently in practice. The speakers identified several interesting IEs, including SSID, TIM (Traffic Indication Map), Rates, TPC Request/Response, and Country, as potential carriers.
- Exploiting the TIM IE: Their primary focus for Alt Yoforia is the Traffic Indication Map (TIM) IE. This IE is typically used by an AP to inform sleeping stations that there is buffered data awaiting them. Within the TIM IE, there is a field called
partial virtual bitmap. The speakers discovered that this field can be used to ship between 1 and 251 bytes of data. By crafting a management frame and injecting arbitrary data into this field, they could establish a covert channel.
- Implementation with Scapy: The speakers demonstrated this concept using Scapy, a powerful Python library for packet manipulation. They presented a Scapy script designed to craft a probe request frame. The script specified a source MAC address (their NIC's MAC), a broadcast destination MAC, and an SSID (named
dot11_elt). The crucial part involved creating a TIM IE construct and embedding a string, "broken broken all the way," into itsinfofield, which corresponds to thepartial virtual bitmap.
While the live demonstration faced encoding errors on a new system and challenges in broadcasting crafted beacon frames via Scapy (which often requires a C program wrapper), the underlying principle and success in lab environments were affirmed.
- Issues with Alt Yoforia:
- Deep Packet Inspection (DPI): Firewalls and network monitoring devices performing DPI could potentially detect the unusually large amount of data in a field not meant for it, generating suspicious alarms.
- Data Reordering/Sequencing: If the covert data exceeds 251 bytes, it must be fragmented across multiple frames. Maintaining proper sequencing at the receiving end becomes a significant challenge, often resulting in "garbled" output or incomplete data.
- Lost Frames: The broadcast nature means there's no inherent mechanism for acknowledging receipt or retransmitting lost frames, further complicating reliable data transfer.
- Scapy Limitations: Scapy's ability to inject beacon frames "swiftly" was noted as an ongoing issue, often requiring external C programs.
Approach 2: Patch Peloton – ACK/Response Frame Encoding
To address some limitations of Alt Yoforia, the speakers proposed a second approach that leverages the inherent trust in acknowledgement (ACK) and response frames.
- Target Frames: Unlike broadcasts, ACK frames are sent in response to a specific communication. They are typically unicast or multicast, implying an established, legitimate information exchange has already occurred. This context makes them less likely to undergo deep inspection, as they are "assumed to come from a legit source."
- Mechanism: Instead of injecting data into IEs, this approach involves encoding data into existing, standard parameters within these response frames. Fields such as
frame control,sequence numbers,more data,more fragments,BSSID,ESSID, andsource addresscan be subtly altered or used in conjunction with a pre-shared logic (e.g., encoding data into anIDparameter) to smuggle information. - Advantages: This method benefits from the existing sequencing mechanisms of legitimate traffic, reducing the need to "reinvent the wheel" for data reordering. The "low priority of inspection" for unsolicited responses further enhances stealth.
- Issues: While improving sequencing, this approach still faces challenges from anomaly detection-based firewalls that might flag unusual patterns in response traffic. The problem of lost frames also persists, as there's no built-in mechanism for the receiving host to request retransmission of a missing covert frame.
Approach 3: Driver Patching
The most advanced and robust approach, also part of the "Patch Peloton" concept, involves directly modifying the network drivers at the kernel level. This method aims to achieve a truly invisible and highly resilient covert channel.
- Inspiration: This approach was explicitly inspired by the work of Doc Lauren Booty, who presented research on covert channels via driver patching at Black Hat DC 2006.
- Mechanism: The core idea is to alter a standard, typically static field within the 802.11 frame header to a non-standard value. This change is then mirrored in the drivers of both the sender and receiver.
- Specific Example: Version Field: The speakers focused on the version field within the 802.11 frame. In standard Wi-Fi frames, this field is almost always
0. Their patch involves changing this0to10. - Impact:
- Unpatched Devices: Any device running an unpatched driver will receive a frame with a version field of
10. Since this is an unexpected and non-standard value, the kernel will typically drop the frame entirely, considering it invalid or corrupted. - Patched Devices: Devices with the specially patched driver, however, are programmed to recognize and correctly interpret frames with the version field set to
10. This means the data within these frames can be processed by the appropriate application or process. - Test Case and Deductions: They set up a test environment with two Linux hosts (running kernel 2.6 for initial success). One host functioned as an AP with a patched driver, while the other was a client, also with a patched driver.
- Invisibility: Machines with unpatched drivers were unable to see the engineered traffic (beacons, probes) generated by the patched devices.
- Sniffer Evasion: Network sniffers (like Wireshark) running on unpatched machines either showed no engineer traffic at all or displayed it as garbled text, making it indecipherable.
- Partial Event Horizon: This creates a "partial occurrence of event horizon" in wireless networks. If data flows from A (patched) to B (patched) and then C (unpatched) tries to trace its origin, the trace stops at B because C cannot understand the A-to-B communication.
- Advantages:
- True Covertness: Achieves a high degree of invisibility, as traffic is dropped or garbled by standard systems.
- Low Cost/Effort (Post-Patch): Once the patch is developed, deploying it is relatively simple and doesn't require extensive changes to the operating environment.
- High Autonomy: Provides significant control over the covert channel.
- Challenges:
- Kernel Compatibility: The speakers noted significant difficulties in porting their patch from kernel 2.6 (where it was successful) to newer kernels like Linux 4.x. Newer kernels often inherit resources from the operating system, making driver patching more complex and leading to instability (crashes, garbled output).
- Development Complexity: Building kernel patches requires in-depth knowledge and can be time-consuming, requiring input from various sources.
- Stability: Even on successful implementations, they sometimes observed "garbled traffic" or driver crashes.
- Windows Porting: The approach was primarily tested on Linux; Windows implementation remains a future endeavor.
Potential Future Approaches
The speakers also outlined several avenues for future research, indicating that the 802.11 standard still holds many unexplored covert channel possibilities:
- TPC Request/Response IE: This Information Element was identified as capable of shipping more than 200 bytes of data.
- Country IE: The
Countryinformation element was found to be capable of carrying 256 bytes of data, similar to the TIM IE's capacity. - Other Driver Fields: Beyond the version field, other fields in the 802.11 frame, such as those related to power management or the Frame Control Sequence (FCS), could potentially be exploited through driver patching.
- PS-Poll Frames: These frames are used by stations to poll the AP for buffered data. The speakers suggest that altering the data sent in response to a PS-Poll could create another covert channel.
This deep dive illustrates the intricate technicalities involved in subverting the 802.11 standard, moving from higher-level frame manipulation to low-level kernel modifications to achieve increasingly stealthy communication.
Demo / Proof of Concept
▶ Watch: Approach 3: Patch Peloton - Driver patching for invisibility (32:00)
During the presentation, the speakers provided a demonstration of their "Alt Yoforia" approach, specifically showcasing how data could be embedded within a probe request frame using the Scapy Python library. Rushikesh Nandedkar presented a Python script that constructed a Dot11ProbeReq packet. The key part of the demonstration involved crafting a Dot11Elt (Information Element) with an ID corresponding to the Traffic Indication Map (TIM) IE and inserting a custom string, "broken broken all the way," into its info field, which directly maps to the partial virtual bitmap.
The script was designed to set the destination MAC address to broadcast (ff:ff:ff:ff:ff:ff) and include a custom SSID (dot11_elt). While attempting to run the script live, an encoding error occurred on the speaker's new machine, preventing a real-time broadcast of the crafted frame. However, a screen capture was provided, clearly showing a Wireshark-like translation of a captured probe request. This capture visually validated that the partial virtual bitmap field contained a large, non-standard string, which when translated, revealed meaningful text. This confirmed the feasibility of injecting arbitrary data into this specific field of an 802.11 frame.
Regarding the driver patching approach, the speakers indicated that while they could not provide a live demonstration due to the complexity of the setup (kernel versions, stability issues on newer systems), the method was "pretty much workable" and had been successfully tested in a lab environment. They also acknowledged that Scapy itself had limitations when it came to swiftly injecting beacon frames, suggesting that a more robust implementation would likely involve writing a simple C program to generate the beacon frame and then wrapping it in a Python environment.
Defensive Implications
▶ Watch: Future potential fields for covert channels (40:00)
The research presented by Nandedkar and Iyer unveils sophisticated methods for covert communication over Wi-Fi, posing significant challenges for network defenders. Understanding these techniques is crucial for bolstering wireless security.
- Enhanced Deep Packet Inspection (DPI): Traditional DPI often focuses on higher-layer protocols and expected data payloads. Defenders must implement and configure DPI solutions to analyze 802.11 management and control frames for anomalies. This includes scrutinizing the content of Information Elements (IEs) like TIM, TPC Request/Response, and Country for unusual data lengths or unexpected patterns in fields like the
partial virtual bitmap. Any deviation from standard expected values in these fields should trigger an alert.
- Anomaly Detection Systems: The presence of a large chunk of data (e.g., 250 bytes) in a field not typically designed for such volume (like the TIM IE) is an anomaly. Similarly, unusual values in seemingly static fields (like the
version fieldbeing10instead of0) or unexpected encoding in ACK/response frames should be flagged. Behavioral analytics on wireless traffic can help identify these subtle deviations from baseline network activity, even if the content itself isn't immediately malicious.
- Regular Auditing of 802.11 Implementations: The reliance on "undisclosed fields" or subtle interpretations of the 802.11 standard highlights the need for organizations to audit their wireless infrastructure and client devices. This includes checking for non-standard driver modifications that could facilitate covert channels. While challenging, kernel-level integrity checks on network drivers could potentially identify unauthorized patches.
- Endpoint Security and Kernel Hardening: The driver patching approach underscores the importance of endpoint security that extends to the kernel level. Preventing unauthorized modifications to network drivers on client machines is critical. This involves strict access controls, code signing enforcement for kernel modules, and robust Endpoint Detection and Response (EDR) solutions capable of detecting kernel-level tampering.
- Awareness of Low-Level Protocol Exploits: Security teams need to move beyond focusing solely on common application-layer attacks and develop expertise in low-level protocol vulnerabilities. This includes understanding the intricacies of the 802.11 standard, its various frame types, and how seemingly innocent fields can be weaponized. Training and threat intelligence should cover such advanced covert channel techniques.
- Rethinking Wireless Monitoring: Current wireless intrusion detection/prevention systems (WIDS/WIPS) might not be configured to detect these types of covert channels. Defenders should evaluate their WIDS/WIPS capabilities and potentially integrate them with more advanced network traffic analysis tools that can perform deeper inspection of 802.11 frames, including those typically ignored for data content.
- Limiting Open Wi-Fi Exposure: The initial anecdote highlights the dangers of indiscriminate use of open Wi-Fi. While not a direct technical defense against these specific covert channels, encouraging users to use VPNs and avoid sensitive activities on untrusted networks reduces the overall attack surface and the motivation for attackers to establish covert channels.
In summary, defending against these invisible Wi-Fi channels requires a multi-layered approach that combines advanced network monitoring, endpoint integrity checks, and a deep understanding of wireless protocol nuances, moving beyond superficial security measures.
Key Takeaways
- Undisclosed 802.11 Fields Enable Covert Channels: The IEEE 802.11 standard, despite its extensive documentation, contains "undisclosed" or underspecified fields within management and control frames that can be exploited to smuggle data, bypassing traditional security monitoring.
- Information Elements (IEs) are Prime Targets: Specifically, the Traffic Indication Map (TIM) IE in beacon and probe frames can carry up to 251 bytes of covert data in its
partial virtual bitmapfield, leveraging the high frequency and unauthenticated nature of these frames. - Driver Patching Achieves True Invisibility: Modifying network drivers at the kernel level (e.g., changing the 802.11
version fieldfrom0to10) creates a highly stealthy covert channel where unpatched systems cannot detect or interpret the traffic, resulting in a "partial event horizon." - Challenges in Implementation and Detection: While powerful, these techniques face issues like data reordering, lost frames, stability across different kernel versions, and the need for sophisticated anomaly detection to identify unusual data patterns or field values.
- Defenders Must Deepen Protocol Inspection: Relying solely on payload inspection is insufficient. Security teams need to implement enhanced Deep Packet Inspection (DPI) and anomaly detection for 802.11 management and control frames, as well as ensure kernel-level integrity of network drivers.
- Future Avenues for Covert Communication: Additional Information Elements (e.g., TPC Request/Response, Country IE) and other driver-patchable fields (e.g., power management, FCS) represent further opportunities for establishing invisible Wi-Fi channels.
About the Speaker(s)
Amrita Iyer is a Test Analyst with seven to eight years of experience in IT security. Her professional role involves breaking into and securing software, reflecting her expertise in vulnerability assessment and defense. She co-presented this research with Rushikesh Nandedkar, an old friend and co-researcher.
Rushikesh Nandedkar is a Security Analyst with 25 years of experience in the IT security field. He is Amrita Iyer's co-researcher and friend, bringing extensive knowledge to their joint work on covert communication. He credits Vivek Ramachandran's "Wireless Security Mega Primer" and Josh Wright's blog for influencing his understanding of frames and Scapy scripting.