Phantomware improves detection of unseen malware variants in data-scarce scenarios
Phantomware increases detection rates for unseen malware variants compared to existing augmentation methods
Security & privacy arXiv 14 Oct 2026 Method Prototype evidence
Published as “Phantomware: a Data Augmentation Framework for the Detection of Emerging Malware Campaigns”
Why it matters
Practitioners can boost early-stage malware family detection with minimal data and compute, but must manage a higher false-positive rate.
Summary
Phantomware raises detection of unseen variants from 0.89 to 0.98 on a real PE malware benchmark, showing a 9-percentage-point gain while operating entirely in latent space and requiring only a few synthetic embeddings. The improvement comes with a higher false-positive rate (up to 8%), and the paper also shows that adversarial-based augmentation is inconsistent and often less effective. Evidence is based on experiments with 57 families (23 of which were hard cases) from the BODMAS dataset.
What they found 2
- Phantomware improves detection rate from 0.89 to 0.98 on target families.
“Overall, MalConv correctly detects 510 out of 570 target-family test samples, achieving a detection rate of 0.89, whereas MalConvP ha detects 558 samples, increasing the detection rate to 0.98.”
- Detection performance improves in 20 of 23 hard families (87%).
“We observe that MalConvP ha improves the detection performance of the original MalConv model in 20 out of 23 cases, corresponding to 87% of the considered families.”
Caveats 5
- The false-positive rate rises from <1% for the original model to between 1% and 8% after Phantomware finetuning.
- Adversarial augmentation sometimes matches Phantomware but fails for several families, showing inconsistent gains.
- Existing approaches that generate functional malware variants through adversarial manipulation suffer from several important limitations.
- These approaches suffer from three critical limitations: (i) the process is time-consuming due to the need for functional correctness checks; (ii) when only a limited number of malware samples is available, the generation procedure may fail to produce a sufficiently large and/or diverse number of adversarial samples for effective finetuning; and (iii) it assumes the availability of a well-trained detector, which is unlikely in scarce-data scenarios.
- While Phantomware improves malware recall, it increases the false-positive rate to up to 8%, indicating a trade-off between detection and benign-sample misclassification.
What’s new here 4
- Generates synthetic malware embeddings directly in the latent space of a pretrained detector, avoiding binary generation and execution.
- Provides a constructive guarantee of diversity by perturbing benign anchors along malware-discriminative directions.
- Works with as few as five real samples per family, targeting extreme data-scarce scenarios.
- Reduces computational cost dramatically (≈6 min vs up to 7 h for adversarial attacks).