Behavior-Driven Encrypted Malware Detection with Robust Traffic Representation

Peng Yin, Jizhe Jia, Jing Wang, Yukai Liu, Meng Shen*, Liehuang Zhu

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Nowadays, network traffic encryption techniques are widely adopted to protect data confidentiality and prevent privacy leakage during data transmission. However, malware often leverages traffic encryption techniques to conceal their malicious activities or camouflage their traffic as benign traffic. To cope with this problem, most existing encrypted malware traffic detection methods employ machine learning or deep learning models to learn distinct features between malware and benign traffic. Nevertheless, existing methods still encounter one challenge, i.e., robustness to an imbalanced dataset. In this paper, we propose BDMF, a behavior-driven malware fingerprinting method based on deep learning, to achieve encrypted malware traffic detection. We first design a novel traffic representation named Traffic Behavior Matrix (TBM), which can abstract traffic behavior patterns initiated by malware compared with benign traffic. Subsequently, we design an effective classifier based on Convolutional Neural Networks (CNNs), which extract distinctive, robust features to achieve effective malware traffic detection. The robust behavior-driven traffic representation enables the CNN-based model to achieve robustness to an imbalanced dataset. We conduct extensive experiments with a real-world dataset to evaluate the detection performance of BDMF. The experimental results demonstrate BDMF outperforms all baseline methods in different evaluation metrics. Specifically, when the proportion of benign and malware traffic samples reaches 25:1, BDMF achieves an F1 score of 88.28%, which is 19.01% higher than the SOTA method. Moreover, BDMF maintains at least 0.89 precision and 0.85 recall with a relatively low time overhead.

Original languageEnglish
Title of host publicationAlgorithms and Architectures for Parallel Processing - 24th International Conference, ICA3PP 2024, Proceedings
EditorsTianqing Zhu, Jin Li, Aniello Castiglione
PublisherSpringer Science and Business Media Deutschland GmbH
Pages111-126
Number of pages16
ISBN (Print)9789819615476
DOIs
Publication statusPublished - 2025
Event24th International Conference on Algorithms and Architectures for Parallel Processing, ICA3PP 2024 - Macau, China
Duration: 29 Oct 202431 Oct 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume15255 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference24th International Conference on Algorithms and Architectures for Parallel Processing, ICA3PP 2024
Country/TerritoryChina
CityMacau
Period29/10/2431/10/24

Keywords

  • Encrypted traffic analysis
  • Malware traffic detection
  • Traffic fingerprinting

Cite this