Attack and Defense of Dynamic Analysis-Based, Adversarial Neural Malware Classification Models
Not on the map. Why?
Abstract (arXiv)
Recently researchers have proposed using deep learning-based systems for malware detection. Unfortunately, all deep learning classification systems are vulnerable to adversarial attacks. Previous work has studied adversarial attacks against static analysis-based malware classifiers which only classify the content of the unknown file without execution. However, since the majority of malware is either packed or encrypted, malware classification based on static analysis often fails to detect these types of files. To overcome this limitation, anti-malware companies typically perform dynamic analysis by emulating each file in the anti-malware engine or performing in-depth scanning in a virtual machine. These strategies allow the analysis of the malware after unpacking or decryption. In this work, we study different strategies of crafting adversarial samples for dynamic analysis. These strategies operate on sparse, binary inputs in contrast to continuous inputs such as pixels in images. We then study the effects of two, previously proposed defensive mechanisms against crafted adversarial samples including the distillation and ensemble defenses. We also propose and evaluate the weight decay defense. Experiments show that with these three defensive strategies, the number of successfully crafted adversarial samples is reduced compared to a standard baseline system without any defenses. In particular, the ensemble defense is the most resilient to adversarial attacks. Importantly, none of the defenses significantly reduce the classification accuracy for detecting malware. Finally, we demonstrate that while adding additional hidden layers to neural models does not significantly improve the malware classification accuracy, it does significantly increase the classifier's robustness to adversarial attacks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Dec 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 0; 2025: 1.
5 papers.
- 2023MalProtect: Stateful Defense Against Adversarial Query Attacks in ML-based Malware Detectioncited by 8
- 2022StratDef: Strategic Defense Against Adversarial Attacks in ML-based Malware Detectioncited by 3
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2022Adversarial Attacks on Transformers-Based Malware Detectorscited by 0
- 2023Effectiveness of Moving Target Defenses for Adversarial Attacks in ML-based Malware Detectioncited by 0
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2023MalProtect: Stateful Defense Against Adversarial Query Attacks in ML-based Malware Detection21 Feb 2023
- 2023Effectiveness of Moving Target Defenses for Adversarial Attacks in ML-based Malware Detection1 Feb 2023
- 2022Adversarial Attacks on Transformers-Based Malware Detectors1 Oct 2022
- 2022StratDef: Strategic Defense Against Adversarial Attacks in ML-based Malware Detection15 Feb 2022