Rallying Adversarial Techniques against Deep Learning for Network Security

Joseph Clements, Yuzhe Yang, Ankur A Sharma, Hongxin Hu, Yingjie LaoSSCI 2019 · DOI

Introduction

As network attacks grow in complexity, traditional rule-based security systems are struggling to keep up. Deep Learning (DL) has emerged as a powerful alternative due to its ability to learn complex, non-linear patterns in network traffic without manual rule-setting. However, the very complexity that makes DL powerful also makes it a "black box" that is difficult to secure. This paper investigates the inherent vulnerability of state-of-the-art DL-based Network Intrusion Detection Systems (NIDS) to adversarial examples—inputs with tiny, intentional perturbations that cause models to fail.

Methodology: Attacking the Kitsune Framework

The researchers focused their analysis on Kitsune, a prominent DL-NIDS that utilizes an ensemble of autoencoders to detect anomalies in real-time. To evaluate its robustness, the authors re-implemented Kitsune in TensorFlow and added a final classification layer to transform its reconstruction error into explicit "benign" or "malicious" labels.

The Kitsune architecture, showing the pipeline from raw packet capture to anomaly detection via an ensemble of autoencoders.

The study applied four well-known adversarial generation methods to the Mirai botnet dataset:

  • FGSM (Fast Gradient Sign Method): A fast, one-step gradient-based attack.
  • JSMA (Jacobian-based Saliency Map): An iterative attack designed to minimize the number of features changed.
  • C&W (Carlini & Wagner): A powerful optimization-based attack.
  • ENM (Elastic Net Method): An attack that specifically minimizes the total number of features modified ($L_1$ norm).

Key Insights: The Threshold Trade-off

A critical component of any NIDS is the threshold ($T$) used to distinguish anomalies from normal traffic. The researchers found that while adjusting this threshold can reduce false positives, it often creates a wider window for adversarial manipulation. As shown in the performance analysis, there is a delicate balance between classification accuracy and the rate of false negatives.

Analysis of the relationship between the detection threshold, false positives, false negatives, and overall classification accuracy.

Furthermore, the study distinguished between integrity attacks (making malicious traffic look benign) and availability attacks (making benign traffic look malicious). Integrity attacks proved significantly easier to execute, achieving a 100% success rate across all tested algorithms.

Results and Minimal Perturbations

The most striking finding was the efficiency of the Elastic Net Method (ENM). It achieved a 100% attack success rate by altering an average of only 1.38 features out of the 100+ statistics Kitsune tracks—roughly 1.3% of the total feature set. This demonstrates that an intelligent adversary needs only minimal modifications to completely bypass sophisticated DL-based defenses.

While availability attacks were more difficult to execute—with simpler methods like JSMA failing completely—powerful optimization attacks like C&W eventually reached 100% success. This suggests that while the decision boundary for benign data is more robust, it is not impenetrable.

Limitations and Future Outlook

A significant challenge remains in the transition from feature space to packet space. In this study, perturbations were applied directly to statistical features (e.g., packet size averages or jitter). In a real-world scenario, an attacker must craft actual network packets that result in these specific perturbed values without breaking underlying protocols.

Future work must bridge this gap to determine the practical realizability of these attacks. The authors suggest that moving toward "end-to-end" learning—processing raw packets directly—may reduce the reliance on manual feature extraction, which currently provides a clear roadmap for adversarial exploitation.

Summary updated

BibTeX
@inproceedings{clements2019rallying,
  author = {Joseph Clements and Yuzhe Yang and Ankur A Sharma and Hongxin Hu and Yingjie Lao},
  title = {{Rallying Adversarial Techniques against Deep Learning for Network Security}},
  booktitle = {SSCI},
  year = {2019},
  doi = {10.1109/ssci50451.2021.9660011},
}
Figure