Beyond Labeling: Using Clustering to Build Network Behavioral Profiles of Malware Families

Azqa Nadeem, Christian Hammerschmidt, Carlos H. Gañán, Sicco Verwer
4/2/2019
cs.CR

Official code: tudelft-cda-lab/malpaca-pub (5 stars, Python, MIT, last commit 2023-01-12).

Abstract

Malware family labels are known to be inconsistent. They are also black-box since they do not represent the capabilities of malware.

Show full abstract

The current state-of-the-art in malware capability assessment include mostly manual approaches, which are infeasible due to the ever-increasing volume of discovered malware samples. We propose a novel unsupervised machine learning-based method called MalPaCA, which automates capability assessment by clustering the temporal behavior in malware's network traces. MalPaCA provides meaningful behavioral clusters using only 20 packet headers. Behavioral profiles are generated based on the cluster membership of malware's network traces. A Directed Acyclic Graph shows the relationship between malwares according to their overlapping behaviors. The behavioral profiles together with the DAG provide more insightful characterization of malware than current family designations. We also propose a visualization-based evaluation method for the obtained clusters to assist practitioners in understanding the clustering results. We apply MalPaCA on a financial malware dataset collected in the wild that comprises of 1.1k malware samples resulting in 3.6M packets. Our experiments show that (i) MalPaCA successfully identifies capabilities, such as port scans and reuse of Command and Control servers; (ii) It uncovers multiple discrepancies between behavioral clusters and malware family labels; and (iii) It demonstrates the effectiveness of clustering traces using temporal features by producing an error rate of 8.3%, compared to 57.5% obtained from statistical features.

View on arXivView PDF

Code Implementations(1)

MIT

Network behavior discovery and behavioral profile generation. https://link.springer.com/chapter/10.1007/978-3-030-62582-5_15

51PythonSep 10, 20203 years agoMIT
behavior-analysisclusteringdtwpcapprofiles

Similar Papers

Cite this paper

@article{nadeem2019beyond,
  title  = {Beyond Labeling: Using Clustering to Build Network Behavioral Profiles of Malware Families},
  author = {Azqa Nadeem and Christian Hammerschmidt and Carlos H. Gañán and Sicco Verwer},
  year   = {2019},
  eprint = {1904.01371},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.01371}
}

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/1904.01371.svg)](https://codeofpaper.com/paper/1904.01371)

Discussion