Explaining Black-box Android Malware Detection
Preprint
Abstract
Machine-learning models have been recently used for detecting malicious Android applications, reporting impressive performances on benchmark datasets, even when trained only on features statically extracted from the application, such as system calls and permissions. However, recent findings have highlighted the fragility of such in-vitro evaluations with benchmark datasets, showing that very few changes to the content of Android malware may suffice to evade detection. How can we thus trust that a malware detector performing well on benchmark data will continue to do so when deployed in an operating environment? To mitigate this issue, the most popular Android malware detectors use linear, explainable machine-learning models to easily identify the most influential features contributing to each decision. In this work, we generalize this approach to any black-box machine- learning model, by leveraging a gradient-based approach to identify the most influential local features. This enables using nonlinear models to potentially increase accuracy without sacrificing interpretability of decisions. Our approach also highlights the global characteristics learned by the model to discriminate between benign and malware applications. Finally, as shown by our empirical analysis on a popular Android malware detection task, it also helps identifying potential vulnerabilities of linear and nonlinear models against adversarial manipulations.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Wild patterns: Ten years after the rise of adversarial machine learningPattern Recognition, 2018
- Picking on the family: Disrupting android malware triage by forcing misclassificationExpert Systems with Applications, 2018
- European Union Regulations on Algorithmic Decision Making and a “Right to Explanation”AI Magazine, 2017
- Yes, Machine Learning Can Be More Secure! A Case Study on Android Malware DetectionIEEE Transactions on Dependable and Secure Computing, 2017
- LUNA: Quantifying and Leveraging Uncertainty in Android Malware Analysis through Bayesian Machine Learning2017
- Secure Kernel Machines against Evasion Attacks2016
- “Why Should I Trust You?”: Explaining the Predictions of Any Classifier2016
- Evasion Attacks against Machine Learning at Test Time2013