secml-malware: Pentesting Windows Malware Classifiers with Adversarial EXEmples in Python

Luca Demetrio, Battista Biggio
4/26/2021
19 citations
cs.CR

Official code: pralab/secml_malware (253 stars, Python, MIT, last commit 2025-11-27).

Abstract

Machine learning has been increasingly used as a first line of defense for Windows malware detection. Recent work has however shown that learning-based malware detectors can be evaded by carefully-perturbed input malware samples, referred to as adversarial EXEmples, thus demanding for tools that can ease and automate the adversarial robustness evaluation of such detectors.

Show full abstract

To this end, we present secml-malware, the first Python library for computing adversarial attacks on Windows malware detectors. secml-malware implements state-of-the-art white-box and black-box attacks on Windows malware classifiers, by leveraging a set of feasible manipulations that can be applied to Windows programs while preserving their functionality. The library can be used to perform the penetration testing and assessment of the adversarial robustness of Windows malware detectors, and it can be easily extended to include novel attack strategies. Our library is available at https://github.com/pralab/secml_malware.

View on arXivView PDF

Code Implementations(1)

MIT

Create adversarial attacks against machine learning Windows malware detectors

25355Python, Jupyter NotebookDec 19, 20191 years agoMIT
adversarial-machine-learningattackinfosecmachine-learningpython+1 more

Similar Papers

Cite this paper

@article{demetrio2021secmlmalware,
  title  = {secml-malware: Pentesting Windows Malware Classifiers with Adversarial EXEmples in Python},
  author = {Luca Demetrio and Battista Biggio},
  year   = {2021},
  eprint = {2104.12848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12848}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.12848.svg)](https://codeofpaper.com/paper/2104.12848)

Discussion