REPLICANT: Learning Policies for Evading and Hardening Malware Detectors

Shae McFadden, Ilias Tsingenopoulos, Mario D'Onghia, Alexander Herzog, Myles Foley +3 more
8/28/2026
cs.LGcs.CR

No confident code implementation found for this paper.

Abstract

To determine the real-world effectiveness of machine learning based malware detection, it is vital to evaluate its robustness against highly capable adversaries. However, state-of-the-art attacks do not effectively model realistic adversaries, as they often assume access to privileged information such as the training data, feature space, or confidence scores of the target.

Show full abstract

In this work, we present Replicant, a deep reinforcement learning framework that learns the realistic task of evasion under a strict label-only black-box threat model. Replicant learns a reusable policy on how to modify a malware sample and when to query the target, which transfers across samples, detectors, and feature spaces. Across seven Android malware detectors and three feature spaces, Replicant is the strongest and most query-efficient approach achieving a mean attack success rate of 78.8%, a relative improvement of 20.9%-39.2% over the state-of-the-art. Furthermore, when used for adversarial training, Replicant also outperforms the state-of-the art by producing detectors with more generalizable robustness. With Replicant we demonstrate that learning the task of evasion not only results in stronger attack performance but, crucially, provides a better signal for hardening malware detectors.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mcfadden2026replicant,
  title  = {REPLICANT: Learning Policies for Evading and Hardening Malware Detectors},
  author = {Shae McFadden and Ilias Tsingenopoulos and Mario D'Onghia and Alexander Herzog and Myles Foley and Chris Hicks and Lorenzo Cavallaro and Fabio Pierazzi},
  year   = {2026},
  eprint = {2608.28499},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.28499v1}
}

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/2608.28499.svg)](https://codeofpaper.com/paper/2608.28499)

Discussion