You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning
Not on the map. Why?
Abstract (arXiv)
As Deep Packet Inspection (DPI) middleboxes become increasingly popular, a spectrum of adversarial attacks have emerged with the goal of evading such middleboxes. Many of these attacks exploit discrepancies between the middlebox network protocol implementations, and the more rigorous/complete versions implemented at end hosts. These evasion attacks largely involve subtle manipulations of packets to cause different behaviours at DPI and end hosts, to cloak malicious network traffic that is otherwise detectable. With recent automated discovery, it has become prohibitively challenging to manually curate rules for detecting these manipulations. In this work, we propose CLAP, the first fully-automated, unsupervised ML solution to accurately detect and localize DPI evasion attacks. By learning what we call the packet context, which essentially captures inter-relationships across both (1) different packets in a connection; and (2) different header fields within each packet, from benign traffic traces only, CLAP can detect and pinpoint packets that violate the benign packet contexts (which are the ones that are specially crafted for evasion purposes). Our evaluations with 73 state-of-the-art DPI evasion attacks show that CLAP achieves an Area Under the Receiver Operating Characteristic Curve (AUC-ROC) of 0.963, an Equal Error Rate (EER) of only 0.061 in detection, and an accuracy of 94.6% in localization. These results suggest that CLAP can be a promising tool for thwarting DPI evasion attacks.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 0; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysiscited by 20
- 2021Multi-Expert Adversarial Attack Detection in Person Re-identification Using Context Inconsistencycited by 12
- 2025Pegasus: A Universal Framework for Scalable Deep Learning Inference on the Dataplanecited by 2
- 2026Treat Traffic Like Trees: A Semantic-Preserving Hierarchical Graph-Based Expert Framework for Encrypted Traffic Analysiscited by 1
- 2024LogSHIELD: A Graph-based Real-time Anomaly Detection Framework using Frequency Analysiscited by 0
- 2026Treat Traffic Like Trees: A Semantic-Preserving Hierarchical Graph-Based Expert Framework for Encrypted Traffic Analysis3 Jun 2026
- 2025Pegasus: A Universal Framework for Scalable Deep Learning Inference on the Dataplane6 Jun 2025
- 2024LogSHIELD: A Graph-based Real-time Anomaly Detection Framework using Frequency Analysis29 Oct 2024
- 2021Multi-Expert Adversarial Attack Detection in Person Re-identification Using Context Inconsistency23 Aug 2021
- 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis28 Jun 2021