Feature-Space Bayesian Adversarial Learning Improved Malware Detector Robustness
Not on the map. Why?
Abstract (arXiv)
We present a new algorithm to train a robust malware detector. Modern malware detectors rely on machine learning algorithms. Now, the adversarial objective is to devise alterations to the malware code to decrease the chance of being detected whilst preserving the functionality and realism of the malware. Adversarial learning is effective in improving robustness but generating functional and realistic adversarial malware samples is non-trivial. Because: i) in contrast to tasks capable of using gradient-based feedback, adversarial learning in a domain without a differentiable mapping function from the problem space (malware code inputs) to the feature space is hard; and ii) it is difficult to ensure the adversarial malware is realistic and functional. This presents a challenge for developing scalable adversarial machine learning algorithms for large datasets at a production or commercial scale to realize robust malware detectors. We propose an alternative; perform adversarial learning in the feature space in contrast to the problem space. We prove the projection of perturbed, yet valid malware, in the problem space into feature space will always be a subset of adversarials generated in the feature space. Hence, by generating a robust network against feature-space adversarial examples, we inherently achieve robustness against problem-space adversarial examples. We formulate a Bayesian adversarial learning objective that captures the distribution of models for improved robustness. We prove that our learning method bounds the difference between the adversarial risk and empirical risk explaining the improved robustness. We show that adversarially trained BNNs achieve state-of-the-art robustness. Notably, adversarially trained BNNs are robust against stronger attacks with larger attack budgets by a margin of up to 15% on a recent production-scale malware dataset of more than 20 million samples.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 Jan 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.
4 papers.
- 2023MalPurifier: Enhancing Android Malware Detection with Adversarial Purification against Evasion Attackscited by 3
- 2024On the Effectiveness of Adversarial Training on Malware Classifierscited by 1
- 2024Bayesian Low-Rank LeArning (Bella): A Practical Approach to Bayesian Neural Networkscited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2024On the Effectiveness of Adversarial Training on Malware Classifiers24 Dec 2024
- 2024Bayesian Low-Rank LeArning (Bella): A Practical Approach to Bayesian Neural Networks30 Jul 2024
- 2023MalPurifier: Enhancing Android Malware Detection with Adversarial Purification against Evasion Attacks11 Dec 2023