Learning to Evade Static PE Machine Learning Malware Models via Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Machine learning is a popular approach to signatureless malware detection because it can generalize to never-before-seen malware families and polymorphic strains. This has resulted in its practical use for either primary detection engines or for supplementary heuristic detection by anti-malware vendors. Recent work in adversarial machine learning has shown that deep learning models are susceptible to gradient-based attacks, whereas non-differentiable models that report a score can be attacked by genetic algorithms that aim to systematically reduce the score. We propose a more general framework based on reinforcement learning (RL) for attacking static portable executable (PE) anti-malware engines. The general framework does not require a differentiable model nor does it require the engine to produce a score. Instead, an RL agent is equipped with a set of functionality-preserving operations that it may perform on the PE file. Through a series of games played against the anti-malware engine, it learns which sequences of operations are likely to result in evading the detector for any given malware sample. This enables completely black-box attacks against static PE anti-malware, and produces functional evasive malware samples as a direct result. We show in experiments that our method can attack a gradient-boosted machine learning model with evasion rates that are substantial and appear to be strongly dependent on the dataset. We demonstrate that attacks against this model appear to also evade components of publicly hosted antivirus engines. Adversarial training results are also presented: by retraining the model on evasive ransomware samples, a subsequent attack is 33% less effective. However, there are overfitting dangers when adversarial training, which we note. We release code to allow researchers to reproduce and improve this approach.
Key facts. Cited by 61 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Jan 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 11; 2023: 9; 2024: 10; 2025: 7; 2026: 10.
61 papers.
Sort:
By area:
- 2021The Threat of Offensive AI to Organizationscited by 38
- 2021Adversarial Attacks against Windows PE Malware Detection: A Survey of the State-of-the-Artcited by 18
- 2022On The Empirical Effectiveness of Unrealistic Adversarial Hardening Against Realistic Adversarial Attackscited by 15
- 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifierscited by 14
- 2021Why Adversarial Reprogramming Works, When It Fails, and How to Tell the Differencecited by 13
- 2021EvilModel 2.0: Bringing Neural Network Models into Malware Attackscited by 13
- 2021EvadeDroid: A Practical Evasion Attack on Machine Learning for Black-box Android Malware Detectioncited by 13
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malwarecited by 10
- 2022Quo Vadis: Hybrid Machine Learning Meta-Model based on Contextual and Behavioral Malware Representationscited by 9
- 2024MORPH: Towards Automated Concept Drift Adaptation for Malware Detectioncited by 8
- 2024RICE: Breaking Through the Training Bottlenecks of Reinforcement Learning with Explanationcited by 7
- 2021Explanation-Guided Diagnosis of Machine Learning Evasion Attackscited by 6
38 more
- 2022Fast & Furious: Modelling Malware Detection as Evolving Data Streamscited by 6
- 2022Efficient Malware Analysis Using Metric Embeddingscited by 6
- 2021Realizable Universal Adversarial Perturbations for Malwarecited by 5
- 2021Automating Privilege Escalation with Deep Reinforcement Learningcited by 5
- 2023A Comparison of Adversarial Learning Techniques for Malware Detectioncited by 5
- 2023The Adaptive Arms Race: Redefining Robustness in AI Securitycited by 5
- 2024SoK: On the Offensive Potential of AIcited by 5
- 2026CSLE: A Reinforcement Learning Platform for Autonomous Security Managementcited by 5
- 2021Single-Shot Black-Box Adversarial Attacks Against Malware Detectors: A Causal Language Model Approachcited by 4
- 2025Agentic AI for Cyber Resilience: A New Security Paradigm and Its System-Theoretic Foundationscited by 4
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecuritycited by 4
- 2021Mal2GCN: A Robust Malware Detection Approach Using Deep Graph Convolutional Networks With Non-Negative Weightscited by 3
- 2022StratDef: Strategic Defense Against Adversarial Attacks in ML-based Malware Detectioncited by 3
- 2022Deep Reinforcement Learning based Evasion Generative Adversarial Network for Botnet Detectioncited by 3
- 2023Quantum Machine Learning for Malware Classificationcited by 3
- 2023Creating Valid Adversarial Examples of Malwarecited by 3
- 2023URET: Universal Robustness Evaluation Toolkit (for Evasion)cited by 3
- 2023The Power of MEME: Adversarial Malware Creation with Model-Based Reinforcement Learningcited by 3
- 2024How to Train your Antivirus: RL-based Hardening through the Problem-Spacecited by 3
- 2025Semantic Preprocessing for LLM-based Malware Analysiscited by 3
- 2021DRLDO: A novel DRL based De-ObfuscationSystem for Defense against Metamorphic Malwarecited by 2
- 2021Evading Malware Classifiers via Monte Carlo Mutant Feature Discoverycited by 2
- 2023Combining Generators of Adversarial Malware Examples to Increase Evasion Ratecited by 2
- 2024Reinforcement Learning for an Efficient and Effective Malware Investigation during Cyber Incident Responsecited by 2
- 2021ADVERSARIALuscator: An Adversarial-DRL Based Obfuscator and Metamorphic Malware SwarmGeneratorcited by 1
- 2022Stealing and Evading Malware Classifiers and Antivirus at Low False Positive Conditionscited by 1
- 2022A Transferable and Automatic Tuning of Deep Reinforcement Learning for Cost Effective Phishing Detectioncited by 1
- 2024Evading Deep Learning-Based Malware Detectors via Obfuscation: A Deep Reinforcement Learning Approachcited by 1
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Researchcited by 1
- 2024On the Effectiveness of Adversarial Training on Malware Classifierscited by 1
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detectioncited by 1
- 2021A Comparison of State-of-the-Art Techniques for Generating Adversarial Malware Binariescited by 0
- 2022Instance Attack:An Explanation-based Vulnerability Analysis Framework Against DNNs for Malware Detectioncited by 0
- 2022Multi-view Representation Learning from Malware to Defend Against Adversarial Variantscited by 0
- 2023RansomAI: AI-powered Ransomware for Stealthy Encryptioncited by 0
- 2023On the Effectiveness of Adversarial Samples against Ensemble Learning-based Windows PE Malware Detectorscited by 0
- 2024EGAN: Evolutional GAN for Ransomware Evasioncited by 0
50 most cited of 61 All 61 (JSON)
- 2026Whetstones: Measuring Coevolution Between Adaptive Malware and Behavioral Defense1 Aug 2026
- 2026Latent Stability Analysis of Malware Representations Under Feature-Space Perturbations27 Jul 2026
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malware2 Jul 2026
- 2026Building an Adversarial Malware Dataset by Family and Type: Generation, Evasion, and Poisoning Evaluation25 May 2026
- 2026Adversarial Vulnerability Under Temporal Concept Drift: A Longitudinal Study of Android Malware Detection22 May 2026
- 2026Learning to Look Benign: Targeted Evasion of Malware Detectors via API Import Injection18 May 2026
- 2026Adversarial Malware Generation in Linux ELF Binaries via Semantic-Preserving Transformations24 Apr 2026
- 2026Adversarial Evasion in Non-Stationary Malware Detection: Minimizing Drift Signals through Similarity-Constrained Perturbations23 Apr 2026
- 2026CSLE: A Reinforcement Learning Platform for Autonomous Security Management16 Apr 2026
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity9 Feb 2026
- 2025Agentic AI for Cyber Resilience: A New Security Paradigm and Its System-Theoretic Foundations28 Dec 2025
- 2025Certifiably robust malware detectors by design10 Aug 2025
38 more
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detection11 Jul 2025
- 2025MalVol-25: A Diverse, Labelled and Detailed Volatile Memory Dataset for Malware Detection and Response Testing and Validation5 Jul 2025
- 2025Semantic Preprocessing for LLM-based Malware Analysis13 Jun 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2025FRAUD-RLA: A new reinforcement learning adversarial attack against credit card fraud detection4 Feb 2025
- 2024SoK: On the Offensive Potential of AI24 Dec 2024
- 2024On the Effectiveness of Adversarial Training on Malware Classifiers24 Dec 2024
- 2024On the Robustness of Malware Detectors to Adversarial Samples5 Aug 2024
- 2024Reinforcement Learning for an Efficient and Effective Malware Investigation during Cyber Incident Response4 Aug 2024
- 2024EGAN: Evolutional GAN for Ransomware Evasion20 May 2024
- 2024RICE: Breaking Through the Training Bottlenecks of Reinforcement Learning with Explanation5 May 2024
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Research29 Apr 2024
- 2024How to Train your Antivirus: RL-based Hardening through the Problem-Space29 Feb 2024
- 2024Evading Deep Learning-Based Malware Detectors via Obfuscation: A Deep Reinforcement Learning Approach4 Feb 2024
- 2024MORPH: Towards Automated Concept Drift Adaptation for Malware Detection23 Jan 2024
- 2023The Adaptive Arms Race: Redefining Robustness in AI Security20 Dec 2023
- 2023On the Effectiveness of Adversarial Samples against Ensemble Learning-based Windows PE Malware Detectors25 Sep 2023
- 2023The Power of MEME: Adversarial Malware Creation with Model-Based Reinforcement Learning31 Aug 2023
- 2023A Comparison of Adversarial Learning Techniques for Malware Detection19 Aug 2023
- 2023URET: Universal Robustness Evaluation Toolkit (for Evasion)3 Aug 2023
- 2023RansomAI: AI-powered Ransomware for Stealthy Encryption27 Jun 2023
- 2023Creating Valid Adversarial Examples of Malware23 Jun 2023
- 2023Quantum Machine Learning for Malware Classification9 May 2023
- 2023Combining Generators of Adversarial Malware Examples to Increase Evasion Rate14 Apr 2023
- 2022Efficient Malware Analysis Using Metric Embeddings5 Dec 2022
- 2022Multi-view Representation Learning from Malware to Defend Against Adversarial Variants25 Oct 2022
- 2022Deep Reinforcement Learning based Evasion Generative Adversarial Network for Botnet Detection6 Oct 2022
- 2022A Transferable and Automatic Tuning of Deep Reinforcement Learning for Cost Effective Phishing Detection19 Sep 2022
- 2022Instance Attack:An Explanation-based Vulnerability Analysis Framework Against DNNs for Malware Detection6 Sep 2022
- 2022Quo Vadis: Hybrid Machine Learning Meta-Model based on Contextual and Behavioral Malware Representations20 Aug 2022
- 2022Fast & Furious: Modelling Malware Detection as Evolving Data Streams24 May 2022
- 2022Stealing and Evading Malware Classifiers and Antivirus at Low False Positive Conditions13 Apr 2022
- 2022StratDef: Strategic Defense Against Adversarial Attacks in ML-based Malware Detection15 Feb 2022
- 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifiers11 Feb 2022
- 2022On The Empirical Effectiveness of Unrealistic Adversarial Hardening Against Realistic Adversarial Attacks7 Feb 2022
- 2021Adversarial Attacks against Windows PE Malware Detection: A Survey of the State-of-the-Art23 Dec 2021
- 2021Single-Shot Black-Box Adversarial Attacks Against Malware Detectors: A Causal Language Model Approach3 Dec 2021
- 2021A Comparison of State-of-the-Art Techniques for Generating Adversarial Malware Binaries22 Nov 2021
50 newest of 61 All 61 (JSON)
- 2024RICE: Breaking Through the Training Bottlenecks of Reinforcement Learning with Explanationcited by 7
- 2026CSLE: A Reinforcement Learning Platform for Autonomous Security Managementcited by 5
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecuritycited by 4
- 2024Reinforcement Learning for an Efficient and Effective Malware Investigation during Cyber Incident Responsecited by 2
- 2026CSLE: A Reinforcement Learning Platform for Autonomous Security Management16 Apr 2026
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity9 Feb 2026
- 2024Reinforcement Learning for an Efficient and Effective Malware Investigation during Cyber Incident Response4 Aug 2024
- 2024RICE: Breaking Through the Training Bottlenecks of Reinforcement Learning with Explanation5 May 2024
- 2021The Threat of Offensive AI to Organizationscited by 38
- 2021Adversarial Attacks against Windows PE Malware Detection: A Survey of the State-of-the-Artcited by 18
- 2022On The Empirical Effectiveness of Unrealistic Adversarial Hardening Against Realistic Adversarial Attackscited by 15
- 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifierscited by 14
- 2021Why Adversarial Reprogramming Works, When It Fails, and How to Tell the Differencecited by 13
- 2021EvilModel 2.0: Bringing Neural Network Models into Malware Attackscited by 13
- 2021EvadeDroid: A Practical Evasion Attack on Machine Learning for Black-box Android Malware Detectioncited by 13
- 2022Quo Vadis: Hybrid Machine Learning Meta-Model based on Contextual and Behavioral Malware Representationscited by 9
- 2024MORPH: Towards Automated Concept Drift Adaptation for Malware Detectioncited by 8
- 2021Explanation-Guided Diagnosis of Machine Learning Evasion Attackscited by 6
- 2022Fast & Furious: Modelling Malware Detection as Evolving Data Streamscited by 6
- 2022Efficient Malware Analysis Using Metric Embeddingscited by 6
12 most cited of 55 All 55 (JSON)
- 2026Whetstones: Measuring Coevolution Between Adaptive Malware and Behavioral Defense1 Aug 2026
- 2026Latent Stability Analysis of Malware Representations Under Feature-Space Perturbations27 Jul 2026
- 2026Building an Adversarial Malware Dataset by Family and Type: Generation, Evasion, and Poisoning Evaluation25 May 2026
- 2026Adversarial Vulnerability Under Temporal Concept Drift: A Longitudinal Study of Android Malware Detection22 May 2026
- 2026Learning to Look Benign: Targeted Evasion of Malware Detectors via API Import Injection18 May 2026
- 2026Adversarial Malware Generation in Linux ELF Binaries via Semantic-Preserving Transformations24 Apr 2026
- 2026Adversarial Evasion in Non-Stationary Malware Detection: Minimizing Drift Signals through Similarity-Constrained Perturbations23 Apr 2026
- 2025Certifiably robust malware detectors by design10 Aug 2025
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detection11 Jul 2025
- 2025MalVol-25: A Diverse, Labelled and Detailed Volatile Memory Dataset for Malware Detection and Response Testing and Validation5 Jul 2025
- 2025Semantic Preprocessing for LLM-based Malware Analysis13 Jun 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
12 newest of 55 All 55 (JSON)