攻击者仅改13字节即可让谷歌邮箱恶意软件检测失效
Evaluating the Robustness of a Production Malware Detection System to Transferable Adversarial Attacks
- 通过修改13字节构造对抗样本骗过Magika分类器
- 未防御时90%样本可绕过检测,防御后需50字节才达20%成功率
- 该方法已部署于谷歌邮箱系统,适合关注工业级安全的研究者
随着深度学习模型在生产系统中广泛应用,其缺陷可能引发系统级漏洞。本文研究针对机器学习组件的对抗攻击如何破坏整个生产级恶意软件检测系统,以谷歌邮箱的文件类型识别流程为例。该流程依赖一个名为Magika的机器学习模型,将潜在恶意样本路由至专用分类器以提升准确率与性能。我们设计出可欺骗Magika的对抗样本,使恶意文件被错误路由至不合适的检测器,从而提高逃逸概率。实验表明,仅修改13字节即可在90%情况下成功绕过检测,实现恶意文件通过邮箱传输。随后提出一种防御方案,经部署后,高资源攻击者需修改50字节才能达到20%攻击成功率。该防御已与谷歌工程师合作上线,应用于邮箱恶意软件分类器。
原文摘要 · Abstract (English)
As deep learning models become widely deployed as components within larger production systems, their individual shortcomings can create system-level vulnerabilities with real-world impact. This paper studies how adversarial attacks targeting an ML component can degrade or bypass an entire production-grade malware detection system, performing a case study analysis of Gmail's pipeline where file-type identification relies on a ML model. The malware detection pipeline in use by Gmail contains a machine learning model that routes each potential malware sample to a specialized malware classifier to improve accuracy and performance. This model, called Magika, has been open sourced. By designing adversarial examples that fool Magika, we can cause the production malware service to incorrectly route malware to an unsuitable malware detector thereby increasing our chance of evading detection. Specifically, by changing just 13 bytes of a malware sample, we can successfully evade Magika in 90% of cases and thereby allow us to send malware files over Gmail. We then turn our attention to defenses, and develop an approach to mitigate the severity of these types of attacks. For our defended production model, a highly resourced adversary requires 50 bytes to achieve just a 20% attack success rate. We implement this defense, and, thanks to a collaboration with Google engineers, it has already been deployed in production for the Gmail classifier.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。