Skip to main content
QUICK REVIEW

[Paper Review] A Survey on Malware Detection with Graph Representation Learning

Tristan Bilot, Nour El Madhoun|arXiv (Cornell University)|Mar 28, 2023
Advanced Malware Detection TechniquesComputer Science3 citations
TL;DR

This survey presents a comprehensive review of graph representation learning for malware detection, demonstrating that Graph Neural Networks (GNNs) effectively learn robust malware embeddings from structured graph representations such as Control Flow Graphs and Function Call Graphs. It highlights state-of-the-art performance, adversarial vulnerabilities, and identifies key challenges like dataset inconsistency, model robustness, and explainability in GNN-based malware detection systems.

ABSTRACT

Malware detection has become a major concern due to the increasing number and complexity of malware. Traditional detection methods based on signatures and heuristics are used for malware detection, but unfortunately, they suffer from poor generalization to unknown attacks and can be easily circumvented using obfuscation techniques. In recent years, Machine Learning (ML) and notably Deep Learning (DL) achieved impressive results in malware detection by learning useful representations from data and have become a solution preferred over traditional methods. More recently, the application of such techniques on graph-structured data has achieved state-of-the-art performance in various domains and demonstrates promising results in learning more robust representations from malware. Yet, no literature review focusing on graph-based deep learning for malware detection exists. In this survey, we provide an in-depth literature review to summarize and unify existing works under the common approaches and architectures. We notably demonstrate that Graph Neural Networks (GNNs) reach competitive results in learning robust embeddings from malware represented as expressive graph structures, leading to an efficient detection by downstream classifiers. This paper also reviews adversarial attacks that are utilized to fool graph-based detection methods. Challenges and future research directions are discussed at the end of the paper.

Motivation & Objective

  • To provide a unified overview of graph-based deep learning techniques for malware detection, filling a gap in existing literature.
  • To categorize and analyze state-of-the-art approaches using common graph types such as CFG, FCG, and PDG.
  • To examine adversarial attacks targeting GNN-based malware detectors and assess their robustness.
  • To identify critical challenges, including dataset inconsistency, lack of robustness, and poor model interpretability.
  • To propose future research directions for improving resilience, generalization, and explainability in graph-based malware detection.

Proposed method

  • The paper surveys 100+ recent works on graph-based malware detection, classifying them by graph type and architecture.
  • It proposes a general detection architecture based on graph classification, where GNNs learn node and graph-level embeddings from malware-structured graphs.
  • Graphs are constructed from static and dynamic analysis of malware, using tools like Angr and decompilation to extract control flow, system calls, and API interactions.
  • Word embedding techniques are combined with GNNs to capture semantic meaning in disassembled code and structural patterns.
  • Adversarial attacks are reviewed, including node/edge perturbation via Variational Graph Autoencoders (VGAE) to fool GNN classifiers in black-box settings.
  • The survey evaluates model performance across datasets like VirusShare, VXHeavens, and Google Play Store, highlighting inconsistencies in training and testing data.
Figure 2. General architecture of malware detection from static code analysis based on graph representation learning.
Figure 2. General architecture of malware detection from static code analysis based on graph representation learning.

Experimental results

Research questions

  • RQ1How do different graph representations (e.g., CFG, FCG, system call graphs) contribute to effective malware detection using GNNs?
  • RQ2To what extent do GNN-based models generalize to unknown or obfuscated malware variants?
  • RQ3What types of adversarial attacks are effective against GNN-based malware detectors, and how do they undermine model robustness?
  • RQ4Why is interpretability a critical limitation in GNN-based malware detection, and what techniques can improve model explainability?
  • RQ5What are the key challenges in benchmarking GNN-based malware detection models, and how can standardized datasets improve comparability?

Key findings

  • GNNs achieve state-of-the-art performance in malware detection by learning expressive, robust embeddings from graph-structured malware representations.
  • Combining GNNs with word embeddings improves detection by capturing both syntactic and semantic patterns in disassembled code.
  • Adversarial attacks using VGAE can successfully perturb FCGs to fool GNN classifiers even in black-box settings, revealing significant robustness vulnerabilities.
  • Current evaluation practices suffer from inconsistent datasets, with models trained and tested on non-overlapping malware samples, limiting fair performance comparison.
  • Explainability techniques for GNNs are underutilized in malware detection, despite their potential to improve analyst trust and model transparency.
  • There is a lack of specialized GNN architectures for malware, suggesting a need for future models tailored to the unique structural and semantic properties of malicious code.
Figure 3. Android application compilation and disassembling process using static analysis. Java files are compiled into classes and are assembled into a single dex file. The APK is packed with the dex file, the manifest file and other resources. The dex bytecode can be disassembled into higher-level
Figure 3. Android application compilation and disassembling process using static analysis. Java files are compiled into classes and are assembled into a single dex file. The APK is packed with the dex file, the manifest file and other resources. The dex bytecode can be disassembled into higher-level

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.