PLAA: Packet-level Adversarial Attacks in Network Traffic Detection

1 st Jinhao You, 2 nd Zan Zhou *, 3 rd Shujie Yang, 4 th Yi Sun, 5 th Lei Zhang, 6 th Changqiao Xu · 2026

Read PLAA: Packet-level Adversarial Attacks in Network Traffic Detection by 1 st Jinhao You, 2 nd Zan Zhou *, 3 rd Shujie Yang, 4 th Yi Sun, 5 th Lei Zhang, 6 th Changqiao Xu (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2606-28439.txt.

Introduction

Jinhao You, Zan Zhou, Shujie Yang, Yi Sun, Lei Zhang, and Changqiao Xu attack the neural networks that guard computer networks. Intrusion detectors built on deep learning catch malicious traffic well, until an attacker reshapes that traffic to slip past. Attacks borrowed from computer vision often produce traffic that is invalid on the wire or no longer does its malicious job.

You and colleagues generate adversarial traffic packet by packet instead, building features incrementally while monitoring semantic integrity at every stage. The generated packets stay protocol-valid and keep their original attack meaning. Against current detectors on three standard intrusion datasets, their method reached an average evasion rate near ninety-three percent. Careful packet-level construction, they conclude, is what makes adversarial traffic both effective and realistic.

Catalog record

CREATOR1 st Jinhao You, 2 nd Zan Zhou *, 3 rd Shujie Yang, 4 th Yi Sun, 5 th Lei Zhang, 6 th Changqiao Xu
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE47 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2606.28439

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

PLAA: Packet-level Adversarial Attacks in Network Traffic Detection Thanks: This work is supported by National Key Research and Development Program of China (grant No. 2024YFC3015300), Beijing Natural Science Foundation (grant No.4244084), Fundamental Research Funds for the Central Universities (grants No.2024ZCJH04, 530224004, 2024PTB-009), National Natural Science Foundation of China (grants No.62401075, 62394322, 92167204, 62072030). Thanks: *Corresponding author: Zan Zhou ([email protected]) 1 st Jinhao You, 2 nd Zan Zhou *, 3 rd Shujie Yang, 4 th Yi Sun, 5 th Lei Zhang, 6 th Changqiao Xu Abstract Deep neural networks (DNNs) are widely applied in Network-based Intrusion Detection System (NIDS) due to their high accuracy. However, DNNs are highly susceptible to adversarial attacks, which generate malicious traffic to evade NIDS detection. Existing approaches often adapt adversarial attacks from computer vision (CV) tasks to the NIDS domain, overlooking the fundamental differences between CV and NIDS. This results in two major issues: 1) The generated network traffic may become invalid, 2) The generated traffic may lose its original attack semantics. To address these issues, this paper proposes an adversarial attack specifically designed for NIDS. Instead of directly generating flow-level features, our approach incrementally generates packet-level features to construct adversarial traffic. During the generation process, the semantic integrity of the traffic is monitored at each stage, effectively avoiding the issues of invalid traffic and semantic loss observed in existing methods. We evaluate our attack algorithm against current NIDS models using the CIC-UNSW-NB15, CIC-DDoS2019, and CIC-IDS-2017 datasets. The proposed method achieves an average evasion success rate of 92.78%, while ensuring that the generated adversarial traffic remains semantically consistent with the original malicious traffic. I Introduction With the development of computer networks, cyberattacks have rapidly evolved, posing serious threats to network systems [ 1 ] . Network-based Intrusion Detection System (NIDS) offers an effective solution to such issues. A typical NIDS operates through three main stages: monitoring, detection, and response [ 2 ] . In the monitoring stage, flow-based statistical features of network traffic, such as the average packet length and inter-packet intervals, are collected. During the detection stage, the monitored traffic’s flow-based statistical features are analyzed and classified to identify malicious traffic. Finally, based on the classification results, the system takes appropriate response actions to defend against malicious traffic attacks. Deep Learning (DL), with its exceptionally high accuracy in classification tasks, has been increasingly adopted by a growing number of NIDS in the detection phase [ 27 ] [ 8 ] . However, NIDS that utilize DL are highly susceptible to adversarial attacks [ 22 ] . Initially, such attacks were primarily applied in the field of computer vision (CV). Attackers would first craft subtle, almost imperceptible perturbations, known as adversarial examples, and add them to images to deceive DNNs. This greatly inspired network attackers, who began attempting to modify or reshape the statistical features of malicious traffic to evade DL-NIDS [ 29 ] . For instance, they might add adversarial examples to the statistical features of malicious traffic or generate carefully designed malicious traffic features. However, most existing adversarial attacks are adaptations from the CV field, often overlooking the fundamental differences between CV and NIDS [ 4 ] . In the CV field, attackers can generate arbitrary adversarial examples and apply them to any part of an image. However, adding adversarial examples to the statistical features of network traffic can lead to two key issues, as illustrated in the Fig. 1 . Fig. 1: Differences in adversarial attacks between CV and NIDS. Issue of existence : The statistical features of network traffic are interdependent, and adversarial examples generated by existing attacks often fail to consider these dependencies. Simply adding adversarial examples to the statistical features of network traffic or directly generating malicious traffic using adversarial methods can result in traffic that is unrealistic in practice. For example, in network traffic, features such as average packet length, total packet count, and maximum packet length are interrelated. Modifying the average packet length requires corresponding adjustments to the other statistical features to maintain consistency. Issue of attack semantics : Taking Denial of Service attack (DoS) as an example, malicious traffic must maintain a certain high value in statistical features such as “Flow bytes/s” and “Flow packets/s” in order to achieve its attack semantics. Using traditional adversarial attacks to generate malicious traffic can indeed evade NIDS detection, but its attack semantics are difficult to guarantee. Fig. 2: Differences in adversarial attacks between CV and NIDS. To address these issues, existing studies commonly use three methods as shown in Fig. 2 : 1) locking key statistical features of network traffic before generating or modifying malicious traffic, making adjustments to a small number of statistical features that are unrelated to other features to ensure the traffic exists and retains its attack semantics [ 11 ] [ 20 ] ; 2) adjusting the malicious traffic based on network protocol knowledge after it has been generated or modified [ 3 ] [ 31 ] ; 3) define adversarial modification methods for limited network traffic based on existing network protocol knowledge, in order to achieve linkage transformation of multiple statistical features of malicious traffic [ 26 ] . However, these approaches have drawbacks: 1) locking parameters restricts the performance of adversarial attacks; 2) modifying traffic after generation severely impacts its effectiveness; 3) protocol-based adversarial methods require tailored modifications for different network intrusion detection systems (NIDS), demanding significant expertise and repeated testing. To fundamentally address the issues of existence and attack semantics, this paper adopts a reinforcement learning (RL) framework to generate packet-level features one by one, rather than directly generating flow-level statistical features. Since network traffic consists of a series of packets, directly generating packet-level features and then combining these packets into a flow effectively resolves the existence issue of the generated traffic. Moreover, an attack semantics term is incorporated into the reward function to ensure that the generated network traffic meets the required attack semantics. Notably, under the RL framework, the generated packets are not only focused on the current state of the traffic, such as maximizing the attack semantics or approaching the misclassification boundary of the NIDS. Instead, they prioritize long-term benefits, contributing to the overall effectiveness of the final generated traffic. Our specific contributions are as follows: • We conduct an in-depth analysis and summary of the limitations of current adversarial network traffic methods in terms of traffic presence and attack semantics. • We propose a novel approach that sequentially constructs packet-level feature generation for adversarial traffic, effectively addressing the challenge of traffic presence while preserving the original attack semantics. • We apply the PLAA method to existing NIDS models and demonstrate its effectiveness in evading NIDS detection while maintaining the original attack semantics across various attack scenarios. In the remainder of this paper, we present the related work in Section II , define the threat model in Section III , describe the details of PLAA in Section IV , conduct relevant experiments and analysis in Section V , and conclude in Section VI with a discussion of future work. II Related work II-A NIDS Typical NIDS consist of three stages: monitoring, detection, and response. Since this paper focuses solely on the evasion detection of malicious traffic, this section introduces NIDS

Read the complete text