여기 속하지 않는 것 (아니면): 컨텍스트 학습을 활용한 DPI 우회 공격 탐지
You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning
You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning
@misc{zhu2020you,
title = {You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning},
author = {Shitong Zhu and Shasha Li and Zhongjie Wang and Xun Chen and Zhiyun Qian and Srikanth V. Krishnamurthy and Kevin S. Chan and Ananthram Swami},
year = {2020},
eprint = {2011.01514},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/2011.01514}
}
Zhu, S., Li, S., Wang, Z., Chen, X., Qian, Z., Krishnamurthy, S. V., Chan, K. S., & Swami, A. (2020). You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.01514
ZHU S, LI S, WANG Z, et al. You Do (Not) Belong Here: Detecting DPI Evasion Attacks with Context Learning[EB/OL]. (2020-11-03)[2026-11-30]. https://arxiv.org/abs/2011.01514.
초록
Deep Packet Inspection (DPI) 미들박스가 점점 더 널리 사용됨에 따라, 이러한 미들박스를 회피하는 다양한 적대적 공격이 등장했다. 많은 공격은 미들박스 내 네트워크 프로토콜 구현과 엔드 호스트에 구현된 더 엄격하거나 완전한 버전 간의 불일치를 악용한다. 이러한 회피 공격은 주로 DPI 와 엔드 호스트에서 다른 동작을 유발하기 위해 패킷을 미세하게 조작하여, 본래 탐지 가능한 악성 네트워크 트래픽을 가린다. 최근 자동화된 발견 기술의 발전으로 인해 이러한 조작을 탐지하기 위한 규칙을 수동으로 정교화하는 것은 비현실적인 도전과제가 되었다. 본 논문에서는 CLAP 를 제안한다. CLAP 는 첫 번째로 완전 자동화되고 비지도 학습 기반 ML 솔루션으로, DPI 회피 공격을 정확하게 탐지하고 위치 파악할 수 있다. CLAP 는 유해 트래픽 트레이스만 학습하여 (1) 연결 내 다른 패킷들 간의 관계와 (2) 각 패킷 내 다른 헤더 필드들 간의 관계를 포착하는 '패킷 컨텍스트'를 학습한다. CLAP 는 유해 패킷 컨텍스트를 위반하는 패킷 (즉, 회피 목적으로 특별히 제작된 패킷) 을 탐지하고 정밀하게 위치 파악할 수 있다. 73 개 최신 DPI 회피 공격에 대한 평가 결과, CLAP 는 탐지 AUC-ROC 가 0.963, EER 이 0.061, 위치 파악 정확도가 94.6% 로 나타났다. 이러한 결과는 CLAP 가 DPI 회피 공격을 저지하는 유망한 도구임을 시사한다.
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.