Explore Recurrent Neural Network for PUE Attack Detection in Practical CRN Models

Qi Dong, Yu Chen, Xiaohua Li, Kai Zeng

Abstract

Cognitive Radio Networks (CRNs) face significant security threats from Primary User Emulation (PUE) attacks, where malicious actors mimic licensed users to disrupt spectrum access. This paper investigates the use of Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks to detect these attacks by analyzing temporal activity patterns. By treating spectrum occupancy as a time series, the proposed model identifies anomalies in "Busy/Idle" sequences. Results indicate that a multi-layer LSTM architecture effectively distinguishes legitimate primary user behavior from malicious interference, even under intermittent sensing conditions.

Introduction

Cognitive Radio Networks (CRNs) are designed to improve spectral efficiency by allowing unlicensed Secondary Users (SUs) to access frequency bands when the licensed Primary User (PU) is inactive. However, the open nature of the wireless medium makes CRNs vulnerable to Primary User Emulation (PUE) attacks. In these scenarios, an attacker transmits signals that mimic the PU's characteristics, tricking SUs into vacating the channel. This leads to spectrum hogging or Denial of Service (DoS) conditions.

The Problem: Intermittent Sensing and Temporal Complexity

Detecting PUE attacks is challenging because PUs are not required to participate in authentication protocols. Furthermore, SUs typically perform intermittent sensing to conserve energy, resulting in a "partial information" problem. Traditional statistical methods often struggle to differentiate between complex, bursty PU traffic and malicious mimics when only observing short snippets of activity.

Visualization of a short-impulse PUE attack within a CR sensing pattern.

As shown in the figure above, the "Busy/Idle" status detected by the SU depends on the timing of its observation windows relative to the PU's activity and the attacker's impulses. Capturing the underlying statistical rhythm of the channel is essential for robust security.

Methodology: Deep Learning for Pattern Recognition

The authors propose a shift from physical layer fingerprinting to activity pattern detection. By treating the sequence of detected channel states as a time series, they leverage the power of Recurrent Neural Networks (RNNs). Unlike feed-forward networks, RNNs maintain an internal hidden state that acts as a memory of previous observations.

To overcome the limitations of basic RNNs in learning long-term dependencies (the "gradient vanishing" problem), the study implements Long Short-Term Memory (LSTM) networks.

The internal architecture of an LSTM cell featuring forget, input, and output gates.

The LSTM architecture (Figure 6) uses specialized gates to manage information flow:

  • Forget Gate ($f_i$): Decides what information to discard from the cell state.
  • Input Gate ($i_i$): Determines which new information to store.
  • Output Gate ($o_i$): Controls what parts of the cell state are used for the current output.

The detection logic involves training the model on "clean" PU data to learn normal behavior. During deployment, the model predicts the next state; a high Mean Square Error (MSE) between the prediction and the actual observation indicates a likely PUE attack.

Experimental Results

The researchers evaluated the models using simulated datasets based on Hyper-Erlang distributions, which better represent realistic, bursty wireless traffic than simple Markovian models. They compared a basic RNN, a single-layer LSTM, and a three-layer multi-layer LSTM (mLSTM).

The mLSTM emerged as the most effective solution. In complex traffic scenarios, the mLSTM achieved a significantly lower average loss (0.0001) on legitimate traffic compared to attack sequences (0.0478). Receiver Operating Characteristic (ROC) analysis confirmed that the three-layer architecture provides a near-perfect detection rate with minimal false positives, outperforming shallower models.

Conclusion and Future Directions

This research demonstrates that temporal signatures are a powerful tool for securing CRNs. Even if an attacker perfectly mimics a signal's physical traits, replicating the statistical timing of a PU is far more difficult. Future work should focus on validating these models in real-world environments with noise and fading, as well as optimizing sensing intervals to balance energy consumption with detection sensitivity.

Summary updated

Abstract

The proliferation of the Internet of Things (IoTs) and pervasive use of many different types of mobile computing devices make wireless communication spectrum a precious resource. In order to accommodate the still fast increasing number of devices requesting wireless connection, more efficient, fine-grained spectrum allocation and sharing schemes are badly in need. Cognitive radio networks (CRNs) have been widely recognized as one promising solution, in which the secondary users (SUs) are allowed to share channels with licensed primary users (PUs) as long as bringing no interference to the normal operations of the PUs. However, malicious attackers or selfish SUs may mimic the behavior of PUs to occupy the channels illegally. It is nontrivial to accurately, timely detect such kind of primary user emulation (PUE) attacks. In this paper, an efficient PUE attacked detection method is introduced leveraging the recurrent neural network (RNN). After a fundamental algorithm using basic RNN, an advanced version taking advantage of long-short-term-memory (LSTM) is proposed, which is more efficient on processing time series with long term memory. The experimental study has provided deeper insights about the different performances the RNNs achieved and validated the effectiveness of the proposed detectors.
BibTeX
@inproceedings{dong2018explore,
  author = {Qi Dong and Yu Chen and Xiaohua Li and Kai Zeng},
  title = {{Explore Recurrent Neural Network for PUE Attack Detection in Practical CRN Models}},
  booktitle = {ISC2},
  year = {2018},
  url = {https://openreview.net/forum?id=Wh0IHJLgOB},
}
Figure