arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1801.08917cs.CR
收藏

通过强化学习学习规避静态PE机器学习恶意软件模型

Learning to Evade Static PE Machine Learning Malware Models via Reinforcement Learning

Hyrum S. Anderson, Anant Kharkar, Bobby Filar, David Evans, Phil Roth

摘要:

机器学习是一种流行的无签名恶意软件检测方法,因为它可以推广到以前从未见过的恶意软件家族和多态菌株。这导致其实际用于主要检测引擎或反恶意软件供应商的补充启发式检测。对抗性机器学习的最新研究表明,深度学习模型容易受到基于梯度的攻击,而报告分数的不可微模型可能会受到旨在系统地降低分数的遗传算法的攻击。我们提出了一个更通用的框架,基于强化学习(RL)攻击静态便携式可执行(PE)反恶意软件引擎。通用框架不需要可微分模型,也不需要引擎产生分数。相反,RL代理配备了一组功能保留操作,它可以在PE文件上执行。通过与反恶意软件引擎进行一系列游戏,它可以了解哪些操作序列可能导致任何给定恶意软件样本逃避检测器。这使得针对静态PE反恶意软件的完全黑盒攻击成为可能,并直接产生功能规避的恶意软件样本。我们在实验中表明,我们的方法可以攻击梯度增强的机器学习模型,其规避率很高,并且似乎强烈依赖于数据集。我们证明,对这种模式的攻击似乎也逃避组件的公共托管的防病毒引擎。对抗性训练结果也被呈现出来:通过在逃避勒索软件样本上重新训练模型,后续攻击的有效性降低了33%。然而,我们注意到,对抗性训练存在过度拟合的危险。我们发布代码以允许研究人员复制和改进这种方法。

英文摘要:

Machine learning is a popular approach to signatureless malware detection because it can generalize to never-before-seen malware families and polymorphic strains. This has resulted in its practical use for either primary detection engines or for supplementary heuristic detection by anti-malware vendors. Recent work in adversarial machine learning has shown that deep learning models are susceptible to gradient-based attacks, whereas non-differentiable models that report a score can be attacked by genetic algorithms that aim to systematically reduce the score. We propose a more general framework based on reinforcement learning (RL) for attacking static portable executable (PE) anti-malware engines. The general framework does not require a differentiable model nor does it require the engine to produce a score. Instead, an RL agent is equipped with a set of functionality-preserving operations that it may perform on the PE file. Through a series of games played against the anti-malware engine, it learns which sequences of operations are likely to result in evading the detector for any given malware sample. This enables completely black-box attacks against static PE anti-malware, and produces functional evasive malware samples as a direct result. We show in experiments that our method can attack a gradient-boosted machine learning model with evasion rates that are substantial and appear to be strongly dependent on the dataset. We demonstrate that attacks against this model appear to also evade components of publicly hosted antivirus engines. Adversarial training results are also presented: by retraining the model on evasive ransomware samples, a subsequent attack is 33% less effective. However, there are overfitting dangers when adversarial training, which we note. We release code to allow researchers to reproduce and improve this approach.

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

↑