针对加壳可执行文件检测的对抗鲁棒汇编语言模型
Adversarially Robust Assembly Language Model for Packed Executables Detection
AI总结:
本文提出 Pack-ALM,将加壳检测重构为区分合法指令与“伪”指令的任务,利用预训练汇编语言模型在 37,000+ 样本上实现优于传统熵方法和先进汇编语言模型的检测准确率与对抗鲁棒性。
摘要:
检测加壳可执行文件是大规模恶意软件分析和杀毒引擎工作流程中的关键环节,因为它能够识别出那些需要进行计算密集型动态脱壳以揭示隐藏恶意行为的样本。传统上,加壳检测技术依赖于经验特征,例如高熵或特定二进制模式。然而,这些基于经验特征的方法越来越容易受到对抗样本或未知加壳器(例如低熵加壳器)的规避。此外,对专家手工设计特征的依赖也给这些方法的长期维护和演进带来了挑战。本文中,我们考察了现有加壳检测方法的局限性,并提出 Pack-ALM,一种用于检测加壳可执行文件的新型深度学习方法。受语言学中区分真实词与伪词这一概念的启发,我们将加壳检测重新表述为区分合法指令与“伪”指令的任务。为实现这一目标,我们将原生数据和加壳数据预处理为“伪”指令,并设计了一个预训练汇编语言模型,用于识别指示加壳数据的特征。我们将 Pack-ALM 与领先的工业加壳检测工具以及最先进的汇编语言模型进行了对比评估。在超过 37,000 个样本上的大量实验表明,Pack-ALM 能够有效识别加壳二进制文件,包括使用对抗性或此前未见过的加壳技术生成的样本。此外,Pack-ALM 在检测准确率和对抗鲁棒性方面均优于传统的基于熵的方法和先进的汇编语言模型。
英文摘要:
Detecting packed executables is a critical component of large-scale malware analysis and antivirus engine workflows, as it identifies samples that warrant computationally intensive dynamic unpacking to reveal concealed malicious behavior. Traditionally, packer detection techniques have relied on empirical features, such as high entropy or specific binary patterns. However, these empirical, feature-based methods are increasingly vulnerable to evasion by adversarial samples or unknown packers (e.g., low-entropy packers). Furthermore, the dependence on expert-crafted features poses challenges in sustaining and evolving these methods over time. In this paper, we examine the limitations of existing packer detection methods and propose Pack-ALM, a novel deep-learning-based approach for detecting packed executables. Inspired by the linguistic concept of distinguishing between real and pseudo words, we reformulate packer detection as a task of differentiating between legitimate and "pseudo" instructions. To achieve this, we preprocess native data and packed data into "pseudo" instructions and design a pre-trained assembly language model that recognizes features indicative of packed data. We evaluate Pack-ALM against leading industrial packer detection tools and state-of-the-art assembly language models. Extensive experiments on over 37,000 samples demonstrate that Pack-ALM effectively identifies packed binaries, including samples created with adversarial or previously unseen packing techniques. Moreover, Pack-ALM outperforms traditional entropy-based methods and advanced assembly language models in both detection accuracy and adversarial robustness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。