LDoS attack detection method based on traffic time-frequency characteristics

Yu Fu, Xueyuan Duan, Kun Wang, Bin LiarXiv 2022 · DOI

Abstract

Low-rate Denial of Service (LDoS) attacks present a significant threat to network security due to their ability to evade traditional volume-based detection systems. Unlike high-volume flooding attacks, LDoS attacks utilize periodic, high-intensity pulses to exploit protocol vulnerabilities, such as TCP retransmission timeouts. This paper introduces the Time-frequency domain Based Detection (TFD) model, a dual-engine deep learning approach designed to identify these stealthy patterns. By employing an LSTM Autoencoder for time-domain analysis and a Convolutional Residual Network (ResNet) for frequency-domain feature extraction, the TFD model identifies attacks through reconstruction error. Experimental results on real-world and benchmark datasets demonstrate a high recall of 97.17% and millisecond-level detection speed, making it suitable for real-time network defense.

Introduction: The Challenge of Stealthy DoS

Traditional Denial of Service (DoS) attacks are characterized by a continuous flood of traffic intended to overwhelm server resources. Because of their high volume, they are easily detected by standard monitoring tools. In contrast, Low-rate Denial of Service (LDoS) attacks are far more insidious. They send short, high-intensity pulses followed by long periods of inactivity.

Conceptual model of an LDoS attack showing pulse length (L), period (T), and peak rate (R).

As shown in the conceptual model above, an LDoS attack is defined by its pulse length ($L$), the period between pulses ($T$), and the peak traffic rate ($R$). To a standard monitor, the average traffic volume often appears normal, yet these pulses are timed to trigger protocol-level failures, effectively strangling server resources while remaining under the radar of traditional firewalls.

Methodology: Time-Frequency Domain Detection (TFD)

The proposed TFD model operates on the principle of "reconstruction." The system is trained to understand and recreate the patterns of normal network traffic. When presented with attack traffic, the model's inability to accurately reconstruct the input—measured as a reconstruction error—triggers an alert.

The TFD architecture utilizes two parallel reconstructors:

  1. Time-Domain Reconstructor: An LSTM Autoencoder captures the sequential, time-dependent nature of packet arrivals and sizes.
  2. Frequency-Domain Reconstructor: A Convolutional Residual Network (ResNet) extracts frequency-based features. Since LDoS attacks have a periodic "pulsing" signature, they exhibit distinct characteristics in the frequency domain that a CNN can effectively identify.

To ensure high efficiency, the model only analyzes the first 16 packets of a flow. This sparse feature set allows for millisecond-level detection without the need for deep packet inspection of the payload.

Experimental Evaluation

The researchers evaluated the TFD model using a combination of real-world captures (the "All-United" dataset) and public benchmarks (NSL-KDD, DARPA2000, etc.). The "All-United" dataset involved injecting six types of LDoS attacks into traffic captured from a university web server.

Comparison of normal network traffic flows versus pulsing LDoS attack flows.

As illustrated in the traffic rate analysis, attack flows (red) introduce sharp, periodic spikes that disrupt the more stochastic nature of normal flows (green). The TFD model proved highly sensitive to these variations, achieving an average Recall of 97.17% across various attack types.

Key Performance Metrics

  • Accuracy: 93.58% on the All-United dataset.
  • F1-score: 0.9384.
  • Latency: Detection occurs in millisecond timeframes, supporting real-time deployment.
  • Generalizability: Recall remained above 98% on public datasets like NSL-KDD, indicating the model is robust across different network environments.

Discussion and Limitations

While the TFD model is highly effective, it faces challenges with "slow-read" attacks like Slowhttptest. Because these attacks have extremely long time spans, a 16-packet window may occasionally fall entirely within a "silent period," providing insufficient features for detection. Additionally, the model's reliance on a small number of features can sometimes lead to false positives when legitimate but unusual traffic patterns occur.

Conclusion

The TFD model offers a robust and efficient solution for detecting stealthy LDoS attacks by leveraging both time and frequency domain characteristics. Its ability to achieve high recall with minimal packet data and low latency marks a significant step forward in real-time network security. Future work will focus on refining threshold settings to further reduce false alarm rates in highly volatile environments.

Summary updated

BibTeX
@misc{fu2022ldos,
  author = {Yu Fu and Xueyuan Duan and Kun Wang and Bin Li},
  title = {{LDoS attack detection method based on traffic time-frequency characteristics}},
  year = {2022},
  eprint = {2206.00325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.00325},
}
Figure