Adversarial Network Traffic: Towards Evaluating the Robustness of Deep Learning-Based Network Traffic Classification

Amir Mahdi Sadeghzadeh, Saeed Shiravi, Rasool Jalili
3/3/2020
cs.CR

Official code: amsadeghzadeh/AdversarialNetworkTraffic (20 stars, Jupyter Notebook, MIT, last commit 2021-01-20).

Abstract

Network traffic classification is used in various applications such as network traffic management, policy enforcement, and intrusion detection systems. Although most applications encrypt their network traffic and some of them dynamically change their port numbers, Machine Learning (ML) and especially Deep Learning (DL)-based classifiers have shown impressive performance in network traffic classification.

Show full abstract

In this paper, we evaluate the robustness of DL-based network traffic classifiers against Adversarial Network Traffic (ANT). ANT causes DL-based network traffic classifiers to predict incorrectly using Universal Adversarial Perturbation (UAP) generating methods. Since there is no need to buffer network traffic before sending ANT, it is generated live. We partition the input space of the DL-based network traffic classification into three categories: packet classification, flow content classification, and flow time series classification. To generate ANT, we propose three new attacks injecting UAP into network traffic. AdvPad attack injects a UAP into the content of packets to evaluate the robustness of packet classifiers. AdvPay attack injects a UAP into the payload of a dummy packet to evaluate the robustness of flow content classifiers. AdvBurst attack injects a specific number of dummy packets with crafted statistical features based on a UAP into a selected burst of a flow to evaluate the robustness of flow time series classifiers. The results indicate injecting a little UAP into network traffic, highly decreases the performance of DL-based network traffic classifiers in all categories.

View on arXivView PDF

Code Implementations(1)

MIT
202Jupyter NotebookApr 20, 20205 years agoMIT

Similar Papers

Cite this paper

@article{sadeghzadeh2020adversarial,
  title  = {Adversarial Network Traffic: Towards Evaluating the Robustness of Deep Learning-Based Network Traffic Classification},
  author = {Amir Mahdi Sadeghzadeh and Saeed Shiravi and Rasool Jalili},
  year   = {2020},
  eprint = {2003.01261},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.01261}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.01261.svg)](https://codeofpaper.com/paper/2003.01261)

Discussion