Centroid-Based Learning for Malware Detection and Novel Family Identification

Saranya Vijayakumar, Zifan Wang, Yuhang Yao, Matt FredriksonOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Detecting out-of-distribution (OOD) data categories while preserving the accuracy of existing classifications is a pressing challenge in many domains. Conventional methods often falter when tasked with generating or identifying new data classes, especially when dealing with graphical data and the problem of graph isomorphism. In this paper, we present a novel approach, the Graph Centroid Model (GCM), which combines Control Flow Graphs (CFGs) with a Graph Neural Network (GNN) to address this challenge effectively. The GCM assigns embeddings produced by a GNN to partitions that support the classification of both known and new classes, even those absent during training. Our approach quantifies the differences between samples in the embedding space, enabling the identification of multiple distinct representations of familiar classes during training while providing a straightforward mechanism for detecting new classes during testing. This not only improves classification accuracy but also offers intuitive visualizations that provide valuable insights.When applied to a benchmark malware dataset (BODMAS), our method reveals structural commonalities among samples from different malware families while effectively discerning new, previously unseen classes based on their distance from learned representatives in the embedding space.
BibTeX
@misc{vijayakumar2024centroid,
  author = {Saranya Vijayakumar and Zifan Wang and Yuhang Yao and Matt Fredrikson},
  title = {{Centroid-Based Learning for Malware Detection and Novel Family Identification}},
  year = {2024},
  url = {https://openreview.net/forum?id=N2ggBozsss},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure