1. Introduction
Wireless communication has become an indispensable component of modern digital infrastructure, supporting everything from personal devices and home networks to enterprise systems and Smart Grids (SG). Among the various wireless technologies, Wi-Fi—formalized through the IEEE 802.11 [
1] family of standards—remains the dominant solution for providing flexible, high-speed, and cost-effective connectivity. Its widespread adoption can be attributed to its ease of deployment, the continuous evolution of standards, and its ability to support a diverse range of applications, including multimedia streaming, real-time communication, Internet of Things (IoT) systems, and cloud-based services. As Wi-Fi networks continue to expand in scale and importance, ensuring their security and resilience against various forms of misuse or attack becomes increasingly critical. Security within Wi-Fi environments faces unique challenges due to the broadcast nature of wireless communication. Unlike wired networks, where an attacker must physically tap into a cable, Wi-Fi signals propagate through the air and can be intercepted by any device within range. Consequently, a variety of security mechanisms have been introduced over the years, from encryption protocols such as Wired Equivalent Privacy (WEP), Wi-Fi Protected Access (WPA), and WPA2/3, to authentication frameworks and intrusion detection systems. These measures aim to protect data confidentiality, integrity, and availability. However, despite these advances, Wi-Fi networks remain vulnerable to a number of threats.
The Smart Grid (SG) [
2] employs modern communication solutions to improve the performance, dependability, and environmental viability of power delivery networks. Through the combination of diverse communication infrastructures, SG systems facilitate continuous supervision, management, and optimization of processes related to electricity production, transmission, distribution, and end-use consumption. The SG standard IEC 61850 enables smooth data exchange over Local Area Networks (LANs), ensuring compatibility and effective interoperability between different system components [
3]. Due to advantages such as relatively low deployment costs, rapid data transmission rates, and straightforward implementation, Wireless Local Area Network (WLAN) solutions are gaining increasing attention from energy providers. Wi-Fi technology can function as a communication backbone for SG components, including intelligent meters, measurement sensors, and supervisory control units [
4]. By utilizing pre-existing WLAN infrastructure or installing dedicated Wi-Fi-capable equipment, utility operators can create dependable communication pathways that support immediate data transfer, thereby enhancing oversight and operational control of grid activities. Because SG infrastructures depend extensively on information exchange and remote management capabilities, comprehensive cybersecurity strategies are indispensable to defend against digital attacks and to preserve data confidentiality and integrity. Techniques such as strong encryption protocols, multi-factor authentication, and intrusion detection mechanisms are implemented to protect vital assets and sensitive operational information. Although Wi-Fi delivers flexibility and accessibility, maintaining security is particularly crucial in safety-critical SG deployments. Energy providers must therefore adopt stringent protective measures to secure WiFi-connected devices and to block unauthorized intrusion or manipulation of grid systems. Moreover, forthcoming SG applications will demand reliable support for data transmission accompanied by suitable Quality of Service (QoS) guaranties.
The concept of hiding information within seemingly legitimate communications is not new and is closely related to the field of steganography. Steganography is the practice of concealing information within another medium in such a way that the presence of the hidden message is undetectable to unintended observers. Historically, steganography has relied on techniques such as embedding text within images, manipulating audio samples, or altering file structures to encode secret data without noticeably affecting the original content. However, in digital networks, steganography often takes the form of embedding hidden information within protocol fields, timing patterns, or control mechanisms at various layers of the Open Systems Interconnection (OSI) model. It is important to distinguish steganography from encryption, as the two serve different purposes. Encryption aims to protect the content of a message by transforming it into an unreadable form that can only be interpreted by parties possessing the appropriate decryption key. Although encrypted data may be secure in terms of confidentiality, its presence is obvious—an observer can easily recognize that encrypted communication is taking place. Steganography, on the other hand, focuses on concealing the existence of the message. A well-designed steganographic communication should appear indistinguishable from normal traffic, making detection significantly more challenging. When steganographic methods are applied to network protocols, the resulting hidden communication channels are commonly referred to as covert channels.
Covert channels in Wi-Fi networks take advantage of the rich set of features and control fields defined by IEEE 802.11 to transmit information secretly between devices. These channels can be created by manipulating timing intervals, modifying specific header fields, controlling retransmission behavior, or altering other parameters of the Media Access Control (MAC) layer in ways that remain compliant with the protocol. Because Wi-Fi standards are complex and include numerous optional and vendor-specific features, they offer fertile ground for embedding covert communication without raising suspicion. Although some covert channels require specialized hardware or firmware modifications, many can be implemented entirely in software, making them more accessible to both attackers and researchers. This study is dedicated to designing a hidden communication mechanism with QoS and encryption support for the SG environment that operates over Wi-Fi networks. Since the IEEE 802.11 standard relies on a common transmission medium shared by multiple participants, it naturally creates opportunities for unauthorized interception. Within such a setting, concealed communication techniques may be applied to securely exchange cryptographic keys, confirm the authenticity of users, or deliver other sensitive information without attracting attention. The primary objective of this work is to introduce a collection of original algorithms enabling secret data transfer with correct traffic prioritization and encryption by embedding information at the MAC layer of the IEEE 802.11 standard. The proposed approach assures excellent efficiency for both normal and covert communication while ensuring high resistance to stegoanalysis. In this paper, we present the following contributions:
The proposal of the first covert channels that uses the ’Padding’ field of the aggregated MAC frame to hide covert data.
The proposal of a first QoS covert channel that uses a virtual Enhanced Distributed Channel Access (EDCA) function to prioritize different types of covert traffic.
The proposal of the first covert channels that uses enhanced encryption mechanism based on multi-phase stream cipher architecture to improve the security of hidden data.
A comprehensive evaluation of the performance of covert channels under varying network parameters (payload size, offered load, background load), covert channel configurations (number of background nodes, QoS classes), and the impact of the RTS/CTS mechanism.
An examination and discussion of the effects of network saturation and loads imposed by neighboring stations on covert channel performance.
By focusing exclusively on features available within the data link layer, the proposed methods remain feasible for implementation on commodity hardware and standard operating systems, while offering high transmission reliability and low detectability. The goal of this work is to contribute to the growing body of research on network steganography by demonstrating how subtle manipulations of IEEE 802.11 behavior can be harnessed to create an efficient and stealthy covert communication channel.
The remainder of the paper is organized as follows.
Section 2 concentrates on the relevant literature regarding other covert channels.
Section 3 presents the technical aspects of the mechanisms from the IEEE 802.11 standard that were used in the proposed implementation. The concept of the Stego-Padding covert channel, including all proposed algorithms, is described in
Section 4. The simulation environment and channel performance evaluation are covered in
Section 5.
Section 6 focuses on the limitations and risks related to the proposed algorithm. Lastly,
Section 7 contains the conclusions of the research and the possibilities for future work.
2. State of the Art
In recent years, there have been more and more works and projects concerning the implementation and analysis of various types of hidden channels in Wi-Fi networks. One of the first proposals was the HICCUPS (HIdden Communication system for CorrUPted networkS) [
5] steganographic system, in which the authors suggested the use of three hidden data channels. The first was based on the WEP algorithm initialization vectors [
1], the second used MAC addresses, and the third was based on a data integrity checking mechanism, e.g., checksums. The performance of the system was then tested under saturation conditions in [
6]. In this follow-up study, the performance of HICCUPS was analyzed using a Markov chain-based model of the IEEE 802.11 Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) protocol. The analysis demonstrated that HICCUPS can achieve significant steganographic bandwidth with minimal impact on network performance.
Many covert channel proposals and implementations are based on specific frame fields at the data link layer. The authors of the paper [
7] proposed 2 covert channels. The first one uses part of the Sequence Control field in the frame header. This field consists of two parts: Sequence Control (12 bits) increases with each subsequent frame, and Fragment Control (4 bits) increases with each subsequent frame fragment. To reduce the chance of detecting the channel by stegoanalysis, the authors decided to use only 8 bits from the Sequence control part. The second channel is based on the initialization vector (IV) of the WEP encryption algorithm. This is a 3-byte random value that the RC4 algorithm uses to encrypt data and must be sent to the recipient so that it can decrypt the data. Due to the fact that it is a random value, the authors used the entire IV to send the data. Then, in [
8], the authors implemented a system using the aforementioned covert channels and performed performance tests.
The authors of [
9] proposed the WiPad (Wireless Padding) method, which consists of inserting hidden information into the padding of Orthogonal Frequency Division Multiplexing (OFDM) symbols at the physical layer level in IEEE 802.11 networks. These padding bits are used to align frame lengths to symbol boundaries and are typically ignored by receivers, making them an ideal carrier for covert data. WiPad takes advantage of this redundancy without altering legitimate traffic or affecting the error rate noticeably. Analytical modeling using a Markov chain-based CSMA/CA protocol showed that the method can achieve throughput up to
Mbps for data frames. In another work related to steganography in OFDM symbols [
10], the authors proposed modifying cyclic prefixes (CP) to send hidden information. The CP is a copy of the end of each OFDM symbol, inserted at the beginning to combat inter-symbol interference, and can be slightly modified without significantly affecting signal integrity. By selectively altering the CP, hidden information can be transmitted covertly alongside normal data traffic. The authors demonstrate that this approach provides a high capacity covert channel with minimal detectability due to the inherent redundancy of the CP. Simulations confirmed that the method maintains reliable communication while achieving high steganographic throughput. The researchers in [
11] proposed a different implementation of a covert channel at the physical layer. The idea is to send covert messages at low rates (QPSK or BPSK) through dirty constellations. To achieve that, they implemented a covert QPSK constellation with additional constellation points. If the receiver is aware of this and has sufficient SNR (Signal to Noise Ratio), then they are able to decode the covert message. Unaware users, meanwhile, will treat the covert constellation points as a random dispersed sample of low-rate modulation. During the analysis, the authors achieved a data rate up to 9 Mbps with QPSK modulation using
encoding rate. One of the main issues with this method is that the receiver needs a high-enough SNR to be able to successfully decode the information in the covert channel, especially when used with higher constellations (256-QAM, etc.).
In another work [
12], the authors proposed using the Distributed Coordination Function (DCF) to send hidden messages. Before information can be sent, it is necessary to analyze traffic in the WLAN network, and then determine the codebook that will be used in communication—both parties must know it. Then, based on the analysis and the codebook, the station sends messages after a specified backoff time, defined in the codebook. Due to the randomness of the backoff mechanism, the method is resistant to stegoanalysis. However, manipulating the backoff mechanism violates the principles of fair access to the channel provided by the DCF function. In addition, sending information in this way can be limited by the number of stations in the wireless network—the more stations, the lower the throughput of such a channel.
In another paper [
13], the authors proposed to implement a covert channel based on forged Clear-To-Send (CTS) and Acknowledgment (ACK) frames. The information is carried in a two-bit Protocol Version field, located in the Frame Control field in the frame header. Additionally, the authors decided to use the Forward Error Correction (FEC) mechanism to reduce the number of errors in transmission, and also improved the channel efficiency by using bit interleaving. The author of [
14] proposed and conducted an analysis of the efficiency of a covert channel implemented in the IEEE 802.11e network. To signal the beginning and end of the covert transmission, three unused bits were used in the Association and Reassociation Request frames, respectively, while the hidden data are transmitted in the Traffic Identifier (TID) and Transmission Opportunity (TXOP) parameters in the QoS Control field in the QoS frame headers.
In [
15], the authors presented two concepts of using a covert channel to authenticate access points. The first channel uses the four least significant bits of the Timestamp field in the Beacon frame, which is sent periodically by the access point. In place of these four bits, the Access Point (AP) places a fragment of the established authentication stream. Then the station must collect a sufficient number of Beacon frames to assemble the entire stream and for the AP to be able to authenticate. The second proposal is to appropriately modify the time in the Timestamp field, so that after comparing it with the time from the previous Beacon frame, the client station can calculate their difference and gradually recreate the authentication key on this basis. Both proposals provide low throughput −40 bps in the first case and 20 bps in the second. However, due to the intended use of the channel, a higher throughput is not required.
The researchers in [
16] proposed a covert timing channel (CTC) using off-the-shelf wireless cards called Covert-DCF. The idea is to send covert messages, by transmitting frames at previously specified and known by the sender and receiver back-off intervals. In this method, the authors used a total of 255 time slots and used them to encode 16 symbols (from 0 to 15). In this way, each symbol represents 4 bits, which implies
time slots per bit. After practical tests, the researchers decided to fine-tune their method and changed the configuration to 2 bits per symbol and the total number of back-off slots to 50, with the first ten serving as guard interval, to not employ a low back-off, which implies
time slots per bit. The maximum throughput achieved by the covert channel was 2.28 Kbps, but was decreased to 46 bps to create a channel with proper reliability. The main issue with this method is back-off manipulation, which violates the principles of fair access to the channel. In addition, the usable throughput is rather low, but it stands out among other CTCs.
The authors of [
17] proposed another method for developing a covert channel. Instead of modifying the values of fields such as Timestamp, Duration/ID, Sequence Control, etc., the authors based their idea on the time that elapses between the delivery of specific frames (interarrival time)—CTC. In this case, Probe Request and Beacon frames were used. The first step is to define the codebook according to which the information will be encoded: sending a frame in a specified time interval means sending a specific sequence of bits. The sender then sends frames in specified time intervals and the recipient decodes the message using the codebook. In order to prevent errors resulting from lost frames, the authors decided to send frames multiple times. Finally, a throughput of 50 bps was achieved with a symbol transmission error rate below
. It should be noted that although the channel throughput is small, its implementation is easy—it only requires changes in the configuration, and channel detection is possible only at the physical layer. A similar approach was used in the work [
18]. The authors proposed a method for creating a steganographic channel using the relative order of the frames. In the case of communication between two stations A and B, if station A sends a frame before station B does, then it means sending a hidden “0”. On the other hand, if station B sends a frame first and then A, it means sending a hidden “1”. This method is not limited to only two stations; it is possible to involve more devices. The main disadvantages of this method are the problem of synchronization—it is necessary to determine the event after which the stations will start transmitting hidden messages, susceptibility to errors—an error correction mechanism should be used, and low channel throughput.
Another approach described in [
19] is to develop a covert channel operating in the physical layer. The transmitter—A, instead of sending a weak hidden signal, sends the message with superposed hidden signals to the receiver—B. In order to do that, A generates the DFT-precoded (discrete Fourier transform) OFDM signal as a cover signal and sends it along with the secret signal. Studies have shown that detecting, and ultimately uncovering the secret message mainly depends on the third party’s SNR. Moreover, by increasing the power of the cover signal, the sender can increase the third party’s detection error probability. The performance of the covert channel has not yet been analyzed, but the receiver’s SNR should also be considered.
The authors of StegoBackoff [
20] proposed using the back-off mechanism to send single bits of information in a covert channel for use in Smart Grid Networks, where sending a frame after an even number of time slots means sending a 0 bit in the covert channel, while if the number of time slots is odd, it means sending 1. The covert channel offers low throughput, but due to the target application, it is sufficient. The authors of StegoDCF [
21] extended the work of [
20] by adding the three least significant bits of the Duration/ID field from the MAC header to the covert channel, which increased the channel efficiency by
. Additionally, this work pioneers extending the idea by adding support for QoS traffic. Unfortunately, both StegoDCF and StegoBackoff have certain limitations. In order to increase the throughput of the covert channel, it is best to send short frames, which, however, negatively affects the channel efficiency. Additionally, by increasing the offered load, we can increase the channel capacity, but beyond a certain point it has an unfavorable effect on the whole network.
The authors of [
22] used the MAC address randomization mechanism used in IEEE 802.11 networks to send hidden information. The hidden message is sent in the Source Address field in the Probe Request frame. In order to distinguish whether the frame came from a hidden station or a normal station, Cyclic Redundancy Check 8-bit (CRC-8) was used, and the appropriately set Sequence Number carried in the Sequence Control field. After performing a performance analysis, the channel throughput obtained was 1.95–4.8 Kbps. The limitation of using this channel is the dependence on the AP as the recipient of hidden messages to ensure reliability. The authors of StegoEDCA [
23] combined many mechanisms to create a hybrid covert channel. In order to send data in the covert channel, the authors used a modified version of StegoDCF, aggregated frames, and QoS frames—the IEEE 802.11e standard defines four traffic classes, so sending a QoS frame in a specific traffic class involves sending 2 bits of information, and a TXOP period, where sending the appropriate number of frames in one TXOP period is equivalent to sending a maximum of 3 bits. As a result, the authors obtained a covert channel with high throughput and, thanks to the use of many steganographic mechanisms, resistant to stegoanalysis.
The authors in [
24] proposed an implementation of a practical CTC with the ability to recover two lost bits called a ping-pong covert timing channel (PPCTC), which uses the normal and modified beacon interval (BI) to send covert information. Typically, the BI (
—overt beacon interval) of the AP is initially set to 102.4 ms, while the modified value (
—covert beacon interval) was set to 102.37 ms and 102.43 ms. If a beacon packet is received after
, this means the transmitted bit is 1; otherwise it is the transmitted bit 0. However, in order to ensure reliability, the information bits
and
are composed of 01111 and 01 transmitted bits, respectively. Moreover, the authors developed a covert frame structure, which in turn is encrypted with a hash-based XOR cipher to ensure confidentiality. One of the frame fields also includes the CRC to ensure integrity. After the analysis, it was concluded that the channel excels in terms of covertness, robustness, confidentiality and integrity. In terms of throughput, the PPCTC exhibits 2.79 bps with
bit error rate. The researchers in [
25] proposed a similar implementation of a robust CTC with self-bit recovery, with the ability to recover two lost bits, taking advantage of inter-packet delay (IPD). In IEEE 802.11ac, packets are transmitted with an IPD set to 102,400 μs. The authors defined this time as
T. They also defined times
and
where
= 40 μs. Then they implemented an algorithm according to which the sender transmits packets at specific times depending on the covert message he wants to send. During the analysis, the researchers evaluated the channel in terms of correctness, robustness and performance, and then compared the results with other existing methods. In terms of correctness they have proven that the receiver is able to recover two lost bits of the message. In terms of robustness, the analysis implied that the proposed scheme has superior covertness than the existing ones. In terms of performance, they have concluded that this scheme can transmit 3.25 bps. Compared to prior CTCs, the proposed method demonstrates substantial improvements in terms of correctness, robustness, and performance.
Table 1 presents an overview of existing covert channels. Although a variety of covert channel techniques have been proposed in the literature, substantial scope remains for the development of novel architectures and the performance optimization of existing implementations. Moreover, there has been only one attempt to implement limited QoS support in the covert channel [
21] and only a few take into account the problem of encrypting covert data [
7,
24,
25]. The primary objective of this paper is to develop a covert communication channel that achieves high throughput, maintains a low probability of detection through covert channel encryption, imposes negligible overhead on legitimate network traffic, and fully leverages QoS mechanisms.
4. Stego-Padding Algorithm Proposal
The A-MPDU frame aggregation specified in the IEEE 802.11 standard amendment can be exploited to transmit covert data in the padding field of each A-MPDU subframe. Each padding field can be filled with a maximum of 3 bytes and is used to make the subframe a multiple of 4 octets in length. According to the standard, the content of this field is not specified, which in turn allows the hidden STA to transmit covert data. To utilize the maximum length of the padding field, the payload must be set to specific values.
For the recipient to receive the covert message from different access categories correctly, a hidden header is introduced. This header has a length of 2 bits and is located at the beginning of each padding field in the A-MPDU subframe, as depicted in
Figure 4. This allows mapping four different access categories, as described in
Table 4.
To ensure QoS support, the proposed algorithm uses one of two methods. The first utilizes a virtual EDCA like function based on the one introduced in the IEEE 802.11e amendment. Firstly, this function creates four virtual queues for covert frames: Voice, Video, Best Effort, and Background, as in normal EDCA. Then, using a virtual backoff mechanism, it decides the bits of covert frames from which covert access categories should be sent first. The second method sets the distribution of covert bits in the padding fields according to
Table 5. For performance evaluation purposes, the covert channel proposed in this paper uses the second method of distribution of covert bits. The proposed percentage distribution of covert bits per AC can be modified, but for the purposes of the research presented in this paper, a distribution was adopted that reflects the share of a given traffic class within the regular EDCA function under saturation conditions. It is worth noting that, according to the IEEE 802.1Q [
33] and IEEE 802.11e standards, there exists a mapping of eight priorities into four traffic classes. This mapping implies, for example, that the Network Control (NC) class is assigned to the Voice queue. Thus, our goal was to enable the provision of several services with different communication characteristics over a single steganographic channel, which has not been possible before. For example, one may consider a scenario within a smart grid where three services need to be transmitted simultaneously: relay protection signals, readings of energy production from prosumer installations, and historical energy consumption data. Implementing QoS makes it possible to transmit system relay protection signals in the Voice class (with the highest priority), energy production readings from prosumer installations in the Video class (with the high priority), and energy consumption data in the Best Effort class (with the low priority).
To avoid sending covert messages in plain text, the proposed algorithm introduces a unique StegoPaddingCipher encryption algorithm that uses the SSID name and a random number of backoff slots (counted from the end of the last transmission to the start of transmission by the station transmitting the covert data) in addition to the key, frame number, and MAC address of the transmitting station to generate a unique keystream for each data frame. It is important to emphasize that the proposed mechanism leverages principles similar to those used in WPA2/WPA3, where padding and certain frame fields are protected by encryption. It follows that the padding field is encrypted twice: first using the newly proposed StegoPaddingCipher algorithm to avoid transmitting covert data in plain text, and second using WPA2/WPA3 methods, which secure all data during transmission over the radio channel. As a result, the statistical properties of the modified padding field are expected to be indistinguishable from those of encrypted payload data, which is inherently designed to resemble random noise. In this context, the use of an encryption-based approach significantly reduces the risk of detection, as any embedded data is encrypted by cryptographic transformations.
The StegoPaddingCipher is a six-phase stream cipher designed to encrypt covert data in IEEE 802.11 environments. Its design combines Addition–Rotation–XOR (ARX) operations with a structured, multi-phase architecture to provide high diffusion, nonlinearity, and frame-level uniqueness. The algorithm leverages several contextual inputs, including the master key, sender MAC address, SSID, frame number, and a backoff-derived random value which is counted from the end of the last transmission to the start of transmission by the station transmitting the covert data, to ensure each frame generates a unique and unpredictable keystream. The description and the operation of the algorithm is as follows. The Phase 1 Initialization (Absorption Phase) serves as the foundation of the cipher. In this phase, all input parameters are concatenated and divided into fixed-size words forming the internal state. The main purpose of this phase is to incorporate all relevant information, including frame-specific randomness, into the cipher’s starting state. The key feature is that it ensures uniqueness and unpredictability for each frame, preventing keystream reuse and tying the encryption to the specific network context. This phase establishes a secure and distinctive starting point for all subsequent transformations. Phase 2: Key Schedule (Subkey Expansion) derives multiple subkeys from the initialized state. Each state word is combined with rotated versions of other words and constants to produce four subkeys. The advantage of this phase lies in its ability to introduce early diffusion and nonlinearity, ensuring that even small changes in the input affect all subkeys. This expansion increases the complexity of the internal state and prevents simple relationships that could be exploited by attackers. Phase 3: Nonlinear Mixing (ARX Rounds) applies multiple rounds of ARX operations to the internal state. Each round involves additions, rotations, and XOR operations between state words, effectively spreading the influence of every input bit across the entire state. The key feature of this phase is the strong avalanche effect, where a small change in any input or key bit propagates throughout the state, maximizing diffusion. This provides robustness against differential and linear attacks and ensures that the state becomes highly nonlinear and unpredictable. Phase 4: Permutation/Diffusion Layer further scrambles the internal state through cross-lane mixing, cyclic word permutations, and additional ARX transformations. By mixing words across positions and applying rotations, this phase destroys structural correlations that may exist after the nonlinear mixing rounds. The advantage of this phase is that it enhances diffusion and resistance to structural cryptanalysis, making it computationally infeasible for an attacker to isolate any single component of the state or predict its evolution. Phase 5: Keystream Generation produces the pseudorandom stream used for encryption. For each byte of plaintext, the algorithm combines the current state with the derived subkeys to generate a keystream element. The internal state is then evolved with ARX operations, and a counter is injected to ensure that each keystream word is unique, even within the same frame. The key feature is that the keystream is highly unpredictable and unique for each position, providing strong security for the XOR-based encryption. Finally, Phase 6: Encryption/Decryption applies the generated keystream to the input data by performing a bitwise XOR. This operation is reversible, allowing the same function to be used for both encryption and decryption. The advantage of this phase is its simplicity and efficiency, while security relies entirely on the robustness and unpredictability of the keystream produced in the previous phases.
Overall, the StegoPaddingCipher algorithm achieves high diffusion, frame-specific uniqueness, and resistance to basic cryptanalytic attacks by combining structured ARX-based nonlinear mixing, permutation, and keystream generation. Each phase contributes a distinct cryptographic property: initialization ensures uniqueness, the key schedule introduces subkey complexity, nonlinear mixing and permutation maximize diffusion and nonlinearity, keystream generation produces unpredictable masks, and encryption provides efficient, reversible data protection. This structured, phased approach makes StegoPaddingCipher a flexible and secure method for wireless communication environments while still remaining computationally efficient.
Lastly, the code section responsible for frame aggregation is modified in such a way that when the padding field is added, instead of filling it with 0 bits, it is filled with bits from the covert message. The pseudocodes for encryption and encoding, as well as decryption and decoding, are described in Algorithm 1 and Algorithm 2, respectively, while the pseudocode for the implementation of the StegoPaddingCipher is presented in Algorithm 3. The detailed process of encryption and decryption of covert data using the implemented StegoPaddingCipher algorithm is depicted in
Figure 5 and
Figure 6. The whole process of sending and receiving a covert frame is illustrated in
Figure 7 and
Figure 8.
| Algorithm 1 Pseudocode for encrypting and encoding covert bits in padding field |
1: Input/Output: f—Frame to send
2: Input: n—Bits to encrypt and encode
3: Input: q—Access category—hidden header
4: procedure EncryptionAndEncoding(f, n, q)
5: —Data to be encoded
6: if f.isAggregation then
7: if f.padding > 0 then
8: .addAtEnd(q)
9: .addAtEnd(n)
10: .initialization(f.header[0 to 127])
11: .process()
12: f.addAtEnd()
13: end if
14: end if
15: return f
16: end procedure |
| Algorithm 2 Pseudocode for decrypting and decoding covert bits from padding field |
1: Input: f—Received frame
2:Output: n—Decoded bits
3:Output: q—Access category—hidden header
4: procedure DecryptionAndDecoding(f)
5: if f.isAggregation then
6: if f.padding > 0 then
7: .initialization(f.header[0 to 127])
8: .process(f.padding)
9: .padding[0 to 1]
10: f.padding[2 to 23]
11: end if
12: end if
13: return q, n
14: end procedure |
| Algorithm 3 Pseudocode for the implementation of the StegoPaddingCipher |
1: Input: K—master key; —sender MAC address; —Service Set Identifier; —frame number; —backoff random value; D—input data (plaintext or ciphertext)
2: Output: R—output data (ciphertext or plaintext)
3: function StegoPaddingCipher(K, MAC, SSID, FN, BO, D)
4: // Phase 1: Initialization
5:
6:
7: // Phase 2: Key Schedule
8: for to 3 do
9:
10:
11: end for
12:
13: // Phase 3: Nonlinear Mixing (ARX Rounds)
14: for to 8 do
15:
16:
17:
18:
19:
20:
21:
22:
23: end for
24: // Phase 4: Permutation/Diffusion
25: for to 4 do
26:
27:
28:
29:
30:
31:
32:
33: end for
34: // Phase 5 & 6: Keystream Generation & Encryption
35:
36: for to do
37: // generate key stream word
38:
39:
40:
41:
42:
43: // encrypt / decrypt
44:
45: // evolve state for next byte
46:
47:
48:
49:
50: // incorporate counter
51:
52:
53: end for
54: return R
55: end function |
6. Limitations and Risks
The StegoPadding algorithm proposed in this work has certain limitations, which is also not uncommon among other algorithms used to create covert channels. The main limitation of this algorithm is its dependence on the overall throughput of the covert station. Since hidden transmission depends on padding fields from the aggregation frames, if the throughput of the normal transmission is low, there will not be enough aggregated frames, which means not enough padding fields, which in turn means the covert channel will be difficult to establish or may even not be created. This can become an even greater problem if there are many stations other than the covert one nearby, connected to the same network. A solution to this would be to connect to networks with few other stations and also ensure that the covert station, as well as the access point, supports transmissions at higher throughput.
Another issue is the covert throughput itself. The transmission of covert information also depends on the number of aggregated frames, so it is preferred to transmit as many short frames as possible. Unfortunately, transmitting very short frames in a wireless network is inefficient due to the large overhead, which in turn can lower the throughput of normal transmission. Short frame transmission can also affect the overall performance of the network, but, because the proposed channel uses the aggregation mechanism, this should not be a problem. However, because short frames are usually associated with voice transmission and since voice does not require many resources, this method can raise some suspicions in the context of stegoanalysis.
There also remains the issue of the covertness of the channel. In normal transmission, padding fields have no real use except to ensure that the aggregated frame is exactly four octets long; therefore, the station discards the padding field after receiving such a frame. However, the contents of this field can still be displayed using network analysis tools such as Wireshark, which can expose the channel and covert transmission within. A way to solve this problem is to encrypt the hidden transmission so that its contents remain confidential, as in the proposed StegoPaddingCipher algorithm.
Lastly, because the presented covert channel approach relies solely on MAC layer mechanisms, implementing it on real hardware should be fully possible. In WLAN devices, the data link layer is usually handled partly by the driver and partly by the firmware. Implementing the proposed covert channel within Linux drivers should not pose significant difficulties. In contrast, modifying the firmware is far more challenging. Firmware is typically written in low-level languages such as assembly and is developed using specialized tools and libraries provided by WLAN chipset vendors such as Qualcomm or Intel. These development environments and firmware source code are often proprietary, costly, and restricted by licensing, making them inaccessible to most users.
7. Conclusions
This research proposes a novel covert channel aimed at enhancing transmission security while maintaining high throughput for both normal and covert communication. The proposed channel uses frame aggregation, a feature first introduced in IEEE 802.11n, to create a hidden channel and a WPA-like encryption mechanism for the security of hidden data. It is also capable of transmitting QoS traffic, enabled by the implementation of a virtual EDCA function for covert QoS data. Its resistance to stegoanalysis is mainly based on the fact that the padding fields in the aggregation frames do not carry any useful information and are discarded upon receipt by the station, as well as the fact that they are nothing out of the ordinary. This is additionally enhanced by implementing a sophisticated encryption mechanism with a key that relies on the master key, SSID, random number of backoff slots, frame number, and sender MAC address. Moreover, this channel operates without disrupting the performance of the normal network, which allows other stations to operate normally, while the covert station remains hidden. The channel was implemented and tested using the ns-3 network simulator. The tests were conducted to show how different payloads, offered load, and activity generated by background stations would impact channel performance. The conclusion of the simulations was that the channel can provide ample throughput in all scenarios, although it is preferable to use it in areas with less network traffic, as this will yield significantly better results.
The selection of throughput results for the single station scenario is presented in
Table 7. In the multi station scenario, which is shown in
Table 8, the offered load of the covert station was permanently set to 100 Mbps. In both scenarios, the RTS/CTS mechanism is enabled. These results present the best channel performance achieved during the simulations and show that despite some issues, this channel could be implemented on actual devices to strengthen the security of communication in wireless networks.
Future Work
This research can be expanded further to boost the performance of the covert channel. Developing additional methods of transmitting hidden data, on top of the already existing ones, can increase the throughput of the channel as well as its resistance to stegoanalysis. By implementing other hidden channels, more hidden traffic could be sent through, making it more difficult to track. For example, the location of the hidden header could be moved to a different channel. This approach would free 2 bits from the padding field, which, in turn, would increase channel throughput by approximately 8.3%. Another idea is to improve channel security by implementing a different, more sophisticated encryption algorithm. With a more secure algorithm, the data would be more resistant to brute force attacks. Another way to improve security is to change the way the keystream is formed. The keystream could be built from different network parameters or fields of the header each time a frame is sent. This would require an additional algorithm or a covert channel to inform the receiver which fields or parameters are used and in what order to form a keystream. We also plan to conduct a comprehensive evaluation of undetectability, including statistical analysis of frame fields (e.g., entropy, distribution tests) as well as confrontation with state-of-the-art steganalysis techniques. This will allow us to quantitatively assess the concealment properties of the proposed method. Lastly, this covert channel has only been tested in a simulation environment, so to obtain more accurate results, it would be best to try to implement it on real devices and test its performance in real-world scenarios.