Adversarial EXEmples
Authors:
Open Access
- 2 September 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Privacy and Security
- Vol. 24 (4) , 1-31
Abstract
Recent work has shown that adversarial Windows malware samples—referred to as adversarial EXE mples 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.Keywords
All Related Versions
Funding Information
- ALHOA (780788)
- RexLearn (2017TWNMH2)
This publication has 15 references indexed in Scilit:
- Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executables2018
- Adversarially Robust Malware Detection Using Monotonic Classification2018
- ZOO2017
- Towards Evaluating the Robustness of Neural Networks2017
- Practical Black-Box Attacks against Machine Learning2017
- Deep Learning for Classification of Malware System Call Sequences2016
- Deep neural network based malware detection using two dimensional binary program features2015
- Security Evaluation of Pattern Classifiers under AttackIEEE Transactions on Knowledge and Data Engineering, 2014
- Evasion Attacks against Machine Learning at Test Time2013
- Adversarial machine learning2011