Adversarial EXEmples: A Survey and Experimental Evaluation of Practical Attacks on Machine Learning for Windows Malware Detection

被引:84
作者
Demetrio, Luca [1 ]
Coull, Scott E. [2 ]
Biggio, Battista [1 ,3 ]
Lagorio, Giovanni [4 ]
Armando, Alessandro [4 ]
Roli, Fabio [1 ,3 ]
机构
[1] Univ Cagliari, Dipartimento Ingn Elettr Elettron DIEE, Via Castelfidardo 1, I-09123 Cagliari, Italy
[2] FireEye, 601 McCarthy Blvd, Milpitas, CA 95035 USA
[3] Pluribus One, Cagliari, Sardegna, Italy
[4] Univ Genoa, Dipartimento Informat Bioingn Robot & Ingn Sistem, Genoa, Italy
基金
欧盟地平线“2020”;
关键词
Adversarial examples; malware detection; evasion; semantics-invariant manipulations;
D O I
10.1145/3473039
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent work has shown that adversarial Windows malware samples-referred to as adversarial EXEmples in this article-can bypass machine learning-based detection relying on static code analysis by perturbing relatively few input bytes. To preserve malicious functionality, previous attacks either add bytes to existing non-functional areas of the file, potentially limiting their effectiveness, or require running computationally demanding validation steps to discard malware variants that do not correctly execute in sandbox environments. In this work, we overcome these limitations by developing a unifying framework that does not only encompass and generalize previous attacks against machine-learning models, but also includes three novel attacks based on practical, functionality-preserving manipulations to the Windows Portable Executable file format. These attacks, named Full DOS, Extend, and Shift, inject the adversarial payload by respectively manipulating the DOS header, extending it, and shifting the content of the first section. Our experimental results show that these attacks outperform existing ones in both white-box and black-box scenarios, achieving a better tradeoff in terms of evasion rate and size of the injected payload, while also enabling evasion of models that have been shown to be robust to previous attacks. To facilitate reproducibility of our findings, we open source our framework and all the corresponding attack implementations as part of the secml-malware Python library. We conclude this work by discussing the limitations of current machine learning-based malware detectors, along with potential mitigation strategies based on embedding domain knowledge coming from subject-matter experts directly into the learning process.
引用
收藏
页数:31
相关论文
共 38 条
[31]  
Raff E., 2018, AAAI Technical Report, P268
[32]  
Saxe J, 2015, 2015 10TH INTERNATIONAL CONFERENCE ON MALICIOUS AND UNWANTED SOFTWARE (MALWARE), P11, DOI 10.1109/MALWARE.2015.7413680
[33]  
Sharif M., 2019, ARXIV191209064
[34]  
Suciu O, 2018, PROCEEDINGS OF THE 27TH USENIX SECURITY SYMPOSIUM, P1299
[35]  
Suciu O, 2019, IEEE SEC PRIV WORKS, P8, DOI 10.1109/SPW.2019.00015
[36]  
Szegedy C, 2014, ARXIV
[37]   From Hack to Elaborate Technique-A Survey on Binary Rewriting [J].
Wenzl, Matthias ;
Merzdovnik, Georg ;
Ullrich, Johanna ;
Weippl, Edgar .
ACM COMPUTING SURVEYS, 2019, 52 (03)
[38]  
Wierstra D, 2014, J MACH LEARN RES, V15, P949