danielgibert / adv_mlw_examples_generation_with_gans

MIT License
4 stars 0 forks source link

A Wolf in Sheep's Clothing: Query-Free Evasion Attacks Against Machine Learning-Based Malware Detectors with Generative Adversarial Networks

This repository contains the code to generate adversarial malware examples that resemble goodware in the feature space. The approach is detailed in the paper "A Wolf in Sheep's Clothing: Query-Free Evasion Attacks Against Machine Learning-Based Malware Detectors with Generative Adversarial Networks" presented at WORMA'23, collocated with IEEE European Symposium on Security and Privacy 2023.

The code base is not longer maintained and exists as a historical artificat to supplement the paper.

Dependencies installation

Steps to reproduce the code

Preprocess the executables

To train the GANs you need to preprocess the raw binary programs and extract a numpy feature vector for each type of features. Store the .npz files under /adv_mlw_examples_generation_with_gans/data/npz/

Train the target detection systems

Train the following detectors:

Acknowledgements

This project has received funding Enterprise Ireland and the European Union’s Horizon 2020 Research and Innovation Programme under Marie Skłodowska-Curie grant agreement No 847402.