CR-AdvGAN: contrastive-reinforced adversarial generation and robustness-perturbation frontier benchmarking for windows PE malware detection
Machine-learning-based static malware detectors for Windows PE files offer high throughput but remain vulnerable to small functionality-preserving structural changes. This study presents CR-AdvGAN, a contrastive-reinforced adversarial framework that combines self-supervised representation learning, GAN-based perturbation generation, and detector-ensemble reinforcement to craft low-budget adversarial perturbations for static PE malware detectors. The deterministic action realiser converts generated perturbations into valid PE structural files while enforcing PE-format consistency through constrained edit rules and checksum-aware post-processing. On the Kaggle Minimal PE dataset, CR-AdvGAN achieves ASR values of 6.91%, 5.32%, 5.59%, and 3.99% against RF, XGB, LGB, and MLP detectors, respectively, under a strict mean L 2 = 0.125 budget. A Random Valid Action baseline using the same budget and the same action realiser reaches only 0.82–1.28% ASR, showing that the learned contrastive-reinforced generator provides value beyond random valid edits in the restricted action space. Cross-model transferability analysis further shows that RF-targeted adversarial samples transfer to XGB, LGB, and MLP with ASR values of 4.11%, 4.35%, and 2.46%, respectively. Ablation analysis shows a 73.9% ASR drop without contrastive pre-training, highlighting the importance of semantic representation learning. Statistical results are interpreted conservatively because the Wilcoxon signed-rank test uses only four detector-level pairs and gives p = 0.125 ; therefore, the results support a consistent empirical trend within this testbed rather than formal statistical superiority. The proposed Robustness-Perturbation Frontier benchmark provides a practical way to report the trade-off between evasion and perturbation size under strict static-feature constraints.
Authors
- Niyaz Ahmad Wani (ORCID: https://orcid.org/0000-0002-7656-3374)
- Chhavi Rana (ORCID: https://orcid.org/0000-0002-6955-1092)
- Manju Dhull (ORCID: https://orcid.org/0000-0001-6129-7475)
- Pradeep Kumar
Institutions
- Maharaja Surajmal Institute of Technology (IN)
- Manipal University Jaipur (IN)
- Maharshi Dayanand University (IN)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-11-30
- DOI
- https://doi.org/10.1007/s44163-026-02770-3
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00