← Lab /AI/ML

Adversarial malware can evade detection while hiding from drift monitors using similarity constraints

Attackers can craft malware that both bypasses deep-learning classifiers and produces minimal drift signals

AI/ML arXiv 23 Apr 2026 Attack Simulation evidence

Published as “Adversarial Evasion in Non-Stationary Malware Detection: Minimizing Drift Signals through Similarity-Constrained Perturbations”

Why it matters

The work shows that current drift monitors can be evaded with similarity-constrained attacks, but the low evasion rates limit immediate practical risk, highlighting the need for more robust drift detection in malware defenses.

Summary

Similarity-constrained adversarial attacks (using KL divergence or l2 regularization) produce far smaller drift signals than unconstrained attacks while keeping attack success rates around 3%, whereas MMD regularization creates much larger drift. The evidence comes from experiments on the BODMAS malware dataset (≈134k samples) showing consistent reductions in JSD, Hellinger, Wasserstein, and KS metrics for KL/l2 and large increases for MMD. The paper also shows that the perturbation budget is the dominant factor driving both evasion success and drift detectability. The findings are based on a single neural-network classifier and multiple drift metrics, so the evidence is solid for that setting but may not generalize beyond it.

What they found 3

  1. MMD-regularized attacks induce substantially larger distribution shifts across every drift metric.

    “In contrast, MMD-regularized variants induce substantially larger distribution shifts across every metric.”

  2. The perturbation budget (δ) is the primary factor influencing both attack success rate and drift detectability.

    “Budget δ is the dominant driver of the ASR and drift trade-off.”

  3. Similarity constraints lower drift but do not improve evasion; attack success stays near 3%.

    “Similarity constraints using KL divergence and l2 distance consistently reduced measured drift across statistical metrics, yet paradoxically did not significantly alter the attack success rate, which remained around 3%.”

Caveats 1

  • Constraining perturbations can reduce output-distribution drift without enhancing evasion capabilities, while expanding the perturbation budget substantially increases evasion potential at the cost of increased detectability.

What’s new here 4

  • Evaluates adversarial malware attacks against concept-drift detection mechanisms in a non-stationary setting.
  • Introduces similarity-constrained feature-space attacks with KL, l2, and MMD regularizers.
  • Proposes a comprehensive drift evaluation protocol using JSD, Hellinger, Wasserstein, output-MMD, KS, and PSI.
  • Characterizes the trade-off between evasion success and drift detectability across optimizers, regularizers, and hyperparameters.