← Lab /Security & privacy

Style-based GAN achieves ~90% AUC for malware anomaly detection

SAGEGAN detects malware with 89.76% AUC and 88.19% balanced accuracy using only benign training data

Security & privacy arXiv 23 Sep 2026 Defense Prototype evidence

Published as “SAGEGAN: Style-Based Anomaly Detection with Gaussian Embeddings using Generative Adversarial Networks”

Why it matters

SAGEGAN offers a static, benign-only malware anomaly detector with built-in, repeatable explainability that can be deployed without malware samples and still rank anomalies effectively on unseen corpora.

Summary

The Gaussian SAGEGAN variant reaches 89.76% AUC and 88.19% balanced accuracy on a self-collected PE dataset of 10,820 malware and 5,000 benign samples, and transfers zero-shot to external corpora (e.g., 92.58% AUC on DIKE). The evidence is strong: the paper compares against a wide range of generative baselines, reports statistical validation of the anomaly score, and shows consistent performance across three external datasets, though the margin over the genome-style variant is modest.

What they found 2

  1. Gaussian SAGEGAN achieves 89.76% AUC and 88.19% balanced accuracy on the self-collected test set.

    “The Gaussian variant achieved 89.76% AUC and 88.19% balanced accuracy.”

  2. Zero-shot transfer to DIKE yields 92.58% AUC for the Gaussian model.

    “Gaussian SAGEGAN (AUC) 92.58 99.21 98.99”

Caveats 3

  • The Gaussian variant remained consistently ahead of the genome-style variant on the self-collected test set across these runs, although the absolute margin was modest.
  • Because the datasets and experimental protocols are not identical across papers, these comparisons should be read as contextual rather than as strict head-to-head evaluations.
  • Future work will extend this framework to additional executable formats, incorporate dynamic traces, examine more explicit gene-aware scoring for the discrete model, and study robustness under packing, obfuscation, and adversarial perturbation.

What’s new here 4

  • Uses a layer-wise Gaussian style tensor aligned with the generator hierarchy for anomaly scoring.
  • Provides deterministic encoder-based style-space explainability that can be inspected layer-wise.
  • Combines raw-byte Hilbert-mapped images with benign-referenced bigram surprise and entropy deviation channels.
  • Demonstrates zero-shot transfer without refitting model weights, benign statistics, or thresholds.