Adversarial Robustness of Deep Learning-Based Malware Detectors via (De)Randomized Smoothing
Open Access
- 22 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 61152-61162
Abstract
Deep learning-based malware detectors have been shown to be susceptible to adversarial malware examples, i.e. malware examples that have been deliberately manipulated in order to avoid detection. In light of the vulnerability of deep learning detectors to subtle input file modifications, we propose a practical defense against adversarial malware examples inspired by (de)randomized smoothing. In this work, we reduce the chances of sampling adversarial content injected by malware authors by selecting correlated subsets of bytes, rather than using Gaussian noise to randomize inputs like in the Computer Vision domain. During training, our chunk-based smoothing scheme trains a base classifier to make classifications on a subset of contiguous bytes or chunk of bytes. At test time, a large number of chunks are then classified by a base classifier and the consensus among these classifications is then reported as the final prediction. We propose two strategies to determine the location of the chunks used for classification: 1) randomly selecting the locations of the chunks and 2) selecting contiguous adjacent chunks. To showcase the effectiveness of our approach, we have trained two classifiers with our chunk-based smoothing schemes on the BODMAS dataset. Our findings reveal that the chunk-based smoothing classifiers exhibit greater resilience against adversarial malware examples generated with state-of-the-art evasion attacks, outperforming a non-smoothed classifier and a randomized smoothing-based classifier by a great margin.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Towards a Practical Defense Against Adversarial Attacks on Deep Learning-Based Malware Detectors via Randomized Smoothing2024
- Generating Adversarial Examples for White-Box Attacks Based on GAN2023
- A Wolf in Sheep’s Clothing: Query-Free Evasion Attacks Against Machine Learning-Based Malware Detectors with Generative Adversarial Networks2023
- Fusing feature engineering and deep learning: A case study for malware classificationExpert Systems with Applications, 2022
- Optimization of code caves in malware binaries to evade machine learning detectorsComputers & Security, 2022
- Functionality-Preserving Black-Box Optimization of Adversarial Windows MalwareIEEE Transactions on Information Forensics and Security, 2021
- BODMAS: An Open Dataset for Learning based Temporal Analysis of PE Malware2021
- Exploring Adversarial Examples in Malware Detection2019
- Learning Understandable Neural Networks With Nonnegative Weight ConstraintsIEEE Transactions on Neural Networks and Learning Systems, 2014
- Evasion Attacks against Machine Learning at Test Time2013