arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.06124cs.CR
收藏

基于机器学习的行为恶意软件检测远非已解决的问题

ML-Based Behavioral Malware Detection Is Far From a Solved Problem

Yigitcan Kaya, Yizheng Chen, Marcus Botacin, Shoumik Saha, Fabio Pierazzi, Lorenzo Cavallaro, David Wagner, Tudor Dumitras

AI总结:

本文首次测量了基于ML的恶意软件检测器在真实端点的性能,发现沙箱训练检测器在端点部署时性能大幅下降,指出标签噪声等挑战,并证明直接在端点数据上训练是最有前景的方向。

摘要:

恶意软件检测是机器学习(ML)在安全领域的一个普遍应用。在行为恶意软件分析中,检测器依赖于从程序执行轨迹中提取的特征。现有研究文献主要关注使用在沙箱环境中收集的特征来训练检测器,并在同样于沙箱中分析的样本上进行评估。然而,在实际部署中,端点主机上的恶意软件检测器通常必须依赖于从端点主机(而非沙箱)捕获的轨迹。因此,文献研究与实际需求之间存在差距。我们首次对基于ML的恶意软件检测器在真实端点上的性能进行了测量研究。利用一个沙箱轨迹数据集和一个真实环境程序轨迹数据集,我们评估了两种场景:(i) 在沙箱轨迹上训练的端点检测器(训练便捷且容易),以及 (ii) 在端点轨迹上训练的端点检测器(训练更具挑战性,因为我们需要收集遥测数据)。我们发现,使用文献中先前的评估方法测得的性能(超过90%)与端点检测中的预期性能(场景(i)约20%到场景(ii)约50%)之间存在巨大差距。我们刻画了该领域中导致这一差距的ML挑战,包括标签噪声、分布偏移和虚假特征。此外,我们展示了几种相较于基线实现5-30%相对性能提升的技术。我们的证据表明,将在沙箱数据上训练的检测器应用于端点检测具有挑战性。最有前景的方向是直接在端点数据上训练检测器,这标志着对当前做法的背离。为了促进进展,我们将协助研究人员利用我们的真实世界数据集进行真实的检测器评估。

英文摘要:

Malware detection is a ubiquitous application of Machine Learning (ML) in security. In behavioral malware analysis, the detector relies on features extracted from program execution traces. The research literature has focused on detectors trained with features collected from sandbox environments and evaluated on samples also analyzed in a sandbox. However, in deployment, a malware detector at endpoint hosts often must rely on traces captured from endpoint hosts, not from a sandbox. Thus, there is a gap between the literature and real-world needs. We present the first measurement study of the performance of ML-based malware detectors at real-world endpoints. Leveraging a dataset of sandbox traces and a dataset of in-the-wild program traces, we evaluate two scenarios: (i) an endpoint detector trained on sandbox traces (convenient and easy to train), and (ii) an endpoint detector trained on endpoint traces (more challenging to train, since we need to collect telemetry data). We discover a wide gap between the performance as measured using prior evaluation methods in the literature -- over 90% -- vs. expected performance in endpoint detection -- about 20% (scenario (i)) to 50% (scenario (ii)). We characterize the ML challenges that arise in this domain and contribute to this gap, including label noise, distribution shift, and spurious features. Moreover, we show several techniques that achieve 5--30% relative performance improvements over the baselines. Our evidence suggests that applying detectors trained on sandbox data to endpoint detection is challenging. The most promising direction is training detectors directly on endpoint data, which marks a departure from current practice. To promote progress, we will facilitate researchers to perform realistic detector evaluations against our real-world dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑