Skip to main content
QUICK 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 Science被引用 3
一句话总结

本综述全面回顾了用于恶意软件检测的图表示学习,表明图神经网络(GNNs)能够从控制流图(CFG)和函数调用图(FCG)等结构化图表示中有效学习到稳健的恶意软件嵌入。该综述强调了最先进的性能表现,揭示了对抗性漏洞,并指出了关键挑战,如数据集不一致、模型鲁棒性不足以及GNN-based恶意软件检测系统中可解释性差的问题。

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.

研究动机与目标

  • 提供基于图的深度学习技术在恶意软件检测中应用的统一概述,填补现有文献中的空白。
  • 对使用常见图类型(如CFG、FCG和PDG)的最先进方法进行分类与分析。
  • 研究针对基于GNN的恶意软件检测器的对抗性攻击,并评估其鲁棒性。
  • 识别关键挑战,包括数据集不一致、缺乏鲁棒性以及模型可解释性差的问题。
  • 提出未来研究方向,以提升基于图的恶意软件检测在韧性、泛化能力和可解释性方面的表现。

提出的方法

  • 该论文调研了100余篇近期关于基于图的恶意软件检测的研究,按图类型和架构进行分类。
  • 提出一种基于图分类的一般性检测架构,其中GNN从恶意软件结构化图中学习节点和图级别的嵌入。
  • 通过静态和动态分析构建图,使用Angr等工具和反汇编技术提取控制流、系统调用和API交互信息。
  • 将词嵌入技术与GNN结合,以捕捉反汇编代码中的语义含义和结构模式。
  • 综述对抗性攻击,包括通过变分图自编码器(VGAE)对节点/边进行扰动,以在黑盒环境下欺骗GNN分类器。
  • 在VirusShare、VXHeavens和Google Play Store等数据集上评估模型性能,突出训练与测试数据之间存在的不一致性。
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.

实验结果

研究问题

  • RQ1不同图表示(如CFG、FCG和系统调用图)在使用GNN进行有效恶意软件检测方面有何贡献?
  • RQ2基于GNN的模型在未知或混淆的恶意软件变体上具有多大程度的泛化能力?
  • RQ3哪些类型的对抗性攻击对基于GNN的恶意软件检测器有效,以及它们如何破坏模型的鲁棒性?
  • RQ4为何可解释性是基于GNN的恶意软件检测中的关键限制因素,以及哪些技术可提升模型的可解释性?
  • RQ5在基准测试基于GNN的恶意软件检测模型时存在哪些关键挑战,以及如何通过标准化数据集提升可比性?

主要发现

  • GNN通过从图结构化的恶意软件表示中学习表达性强且稳健的嵌入,在恶意软件检测中实现了最先进性能。
  • 将GNN与词嵌入结合可提升检测效果,因为其能同时捕捉反汇编代码中的句法与语义模式。
  • 利用VGAE的对抗性攻击可成功扰动FCG,即使在黑盒环境下也能欺骗GNN分类器,暴露出显著的鲁棒性漏洞。
  • 当前的评估实践存在数据集不一致的问题,模型在无重叠的恶意软件样本上进行训练与测试,限制了公平的性能比较。
  • 尽管具有提升分析师信任与模型透明度的潜力,GNN的可解释性技术在恶意软件检测中仍被严重低估。
  • 目前缺乏针对恶意软件设计的专用GNN架构,表明未来需开发更契合恶意代码独特结构与语义特性的模型。
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

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。