An empirical analysis of evasion and poisoning attacks on malware drift detectorsEmpirical Analysis of Evasion and Poisoning Against Malware Data Drift Detection
For evasion and poisoning against CADE and Transcendent along with the malware classifier, larger perturbations or more poisonings do not necessarily increase overall ASR.
The attacker needs malicious samples to be classified as benign by the MLP and not enter the top-k drift review. Without full access to the victim model, only knowing 10% benign and 10% malicious samples from the initial training set, using substitute models for perturbations. Only non-negative features can be increased; Bodmas has only 17/2381 modifiable features; clean-label backdoor, retraining only accepts the most drifted samples.
- Malware evolution causes concept drift, and classifiers may become outdated. Drift detectors are used to identify samples that may be misclassified. Whether evasion and poisoning attacks against the classifier can simultaneously bypass the detector is unclear.
- The attacker knows only 10% of the initial training set, using substitute MLP cross-entropy or substitute CAE distance to the benign center for universal perturbations. The perturbation is used for both evasion and as a clean-label backdoor poison. Success requires being classified as benign and not in the top-k drift samples.
- When attacking only the MLP classifier, with Bodmas perturbation bound 1 and surrogate MLP, the average ASR is 100% (Table 2). The authors state that with CADE, overly large perturbations can decrease overall ASR; with more poisoned samples, overall ASR can also decrease on detectors with CAE, but not when only the classifier is poisoned.
- The paper does not specifically discuss limitations. Experiments cover universal perturbation evasion and clean-label backdoor poisoning averaged over 30 runs on Bodmas and Androzoo. The paper does not report the number of optimization rounds, the constant b, or curve readings of overall ASR in figures.
- Evaluated models
- MLP 100-100CAE 512-384-256-128CAE 512-128-32-8
- Benchmarks
- BodmasAndrozoo
- Metrics
- ASR_overallASR_malware classificationOOD scorecred+conf
The study examines the effects of evasion and poisoning attacks simultaneously targeting data drift detectors and malware classifiers, finding that the unique characteristics of data drift detectors cause attacks against malware classifiers to behave differently on them. The work reveals differences in attack mechanisms in the combined scenario.
Paper analysis
What problem does this paper attempt to solve?
Evasion and poisoning against the classifier become less effective when facing CADE or Transcendent.
Whether evasion and poisoning on malware classification remain effective when also facing data drift detectors.
- Scenario: The authors state malware and benign software evolve over time, and classifiers can quickly become outdated. Drift detectors identify samples deviating from the training distribution, used to reject predictions that may be misclassified, or to continuously train the classifier with these samples.
- Existing Gap: Existing evasion and poisoning mainly target classifiers. The authors state that for such systems, a successful attack should affect both the classifier and the drift detector; the detector's objectives, losses, and architectures differ, and how they behave under attack is unclear.
- Observation: The authors state detector characteristics cause these attacks to behave differently, and show cases where attacks are effective on the classifier but not on the detector.
- Approach: Simultaneously attack the MLP classifier and CADE or Transcendent, examining perturbation magnitude, number of poisoned samples, and underlying architecture.
- Threat Model:
- Goal: Malicious samples classified as benign and not in the top-k most drifted samples, thus avoiding human analysis and blocking.
- Knowledge: No full access to victim model; knows 10% benign and 10% malicious samples from the initial training set, builds substitute models hoping for transfer.
- Capability: Computes one universal perturbation; can only increase non-negative features. Poisoning must be clean-label, derivable from benign software. Retraining only inserts the most drifted samples; experiments assume all inserted are poisoned.
- Victim System: MLP classifier plus CADE or Transcendent. Features from static analysis without running samples. Bodmas has only 17/2381 modifiable features; Androzoo's 16978 features can be increased to 1.
What related research exists?
The authors position this work as simultaneously attacking drift detection and classification, and state no prior work exists.
Evasion and Poisoning
- The paper categorizes [5,15] as modifying malicious samples to evade classifiers that use handcrafted features from static analysis, and [7,10–12] as evading classifiers that take raw binaries as input. The paper does not critique these works individually.
- Severi et al. (2021) and Jigsaw Puzzle (Yang et al., 2023) perform backdoor poisoning on classifiers using static features, causing malicious samples with triggers to be misclassified.
Substitute Models
- [14,16,18] assume the attacker lacks full knowledge of the victim model and thus train substitute models. The paper states these substitute models have the same features as the victim model but typically use smaller training sets and/or different architectures; this paper's substitute models are constructed similarly.
Preserving Malicious Functionality
- Severi et al. (2021) and RAMEn (Demetrio et al., 2021) modify static features that do not affect format or functionality; Jigsaw Puzzle adds bytecode gadgets from benign applications while preserving malicious behavior; Lucas et al. (2021) alter binary instructions that do not affect execution results. The paper states it similarly modifies samples without affecting functionality.
Success Rates and Feature Knowledge
- The paper states that [7,10,12,14,18] achieve high attack success rates in evasion and poisoning, and claims this is similar to the high attack success rates in this paper.
- The paper paraphrases Demetrio et al. (2019): classifiers taking raw binaries as input learn relationships between labels and bytes that do not indicate true maliciousness. The paper paraphrases Suciu et al. (2018): knowing the features used by the victim model is important for the success of evasion and poisoning.
Experimental Comparisons and Positioning
- The experiments do not report numerical comparisons with the aforementioned attack implementations. Internal comparisons are cross-entropy for substitute MLP versus distance loss for substitute CAE, and attacking only the MLP classifier versus attacking both CADE or Transcendent. Data are Androzoo and Bodmas.
- The paper states that to its knowledge, no prior work has attacked malware data drift detectors; its attack model targets both drift detection and classification, distinguishing it from works that only attack classifiers.
How does the paper address this problem?
Use universal perturbations with substitute MLP or CAE for evasion, and perform clean-label backdoor poisoning.
The attack generates a single universal perturbation on substitute models, used for both evasion and as a backdoor trigger for poisoning; the evaluation requires fooling both the MLP classifier and CADE or Transcendent.
Problem Setting and Success Conditions
- Data and Models: The victim trains models on the initial training set from Table 1, with random oversampling of malicious samples. The classifier is MLP. Drift detection is CADE or Transcendent. The future selection set is samples from two months after initial training.
- Human Budget: The detector selects at most k most drifted samples for human review, where malicious samples are analyzed and blocked. Most experiments use k=500, one uses 200. The authors state larger k makes evasion harder.
- Time Selection: Poisoning uses 2019-11 and 2020-02, not the immediately following month. The authors state retraining takes time. Evasion uses the same future selection set for comparability.
- Success Definition: MLP classifies the sample as benign, and it is not among the k samples. The perturbation is computed once and applied to malicious samples. The authors state per-sample perturbation results are similar, details not given.
Two Substitute Models and Losses
The two perturbations are computed separately, not summed. Optimizer is rectified Adam with feature constraints. The same perturbation is used for evasion and poisoning. The paper does not report epochs or learning rates.
Substitute MLP minimizes cross-entropy of perturbed malicious samples to the benign class: arg minu cross entropy(MLP(Xmalware+u), ybenign). Meaning: pull samples toward the benign class in the classifier. The authors use it to examine whether crossing the decision boundary suffices to be a non-drifted member of the benign class.
Substitute CAE minimizes mean squared error between encoder output and benign centroid: arg minu MSE(CAE encoder(Xmalware+u), benign centroid). Meaning: pull malicious samples toward the benign center in embedding space. The authors also examine whether it can push the classifier across the boundary.
How Detectors Score
- CADE: Contrastive loss separates classes in embedding space and brings same-class samples together; reconstruction loss makes decoding close to original input. Class center is the mean of training embeddings for that class. Anomaly score compares distance to class center with median distance in training set, denominator includes fixed constant b, not given in this paper. OOD score is the minimum of class anomaly scores. Selection uses highest OOD, not benign-class anomaly score.
- Transcendent: The authors state it approximates and sometimes exceeds Transcend with lower overhead. p-value is the proportion of training samples in the class at least as dissimilar. Linear SVM is built on CAE embeddings or the last hidden layer before MLP output; farther from the hyperplane indicates more like that class; on the other side, distance is negative. Credibility is the p-value of the predicted class, confidence is 1 minus the highest p-value of other classes, cred+conf is their product, lower means more drifted. Selection uses the lowest cred+conf of the predicted class, not the benign class.
Evasion and Clean-Label Backdoor
- Evasion: Add the universal perturbation to malicious samples.
- Poisoning: The trigger is the same as the perturbation, added to all benign samples known to the attacker to form a candidate set. The victim inserts only the most drifted seen samples; to isolate poisoning effects, the experiment assumes all inserted samples are poisoned, no rebalancing, and trains from scratch.
- Labels: The victim performs rough human triage on each inserted sample and assigns correct labels, so labels cannot be changed. The authors state the model should still behave normally on clean inputs without triggers, only misclassifying when the trigger appears.
Feature Constraints
- Direction: Cannot break functionality or file format; only increase non-negative features.
- Bodmas: Min-max scaled to 0 to 1 based on initial training data, only 17 modifiable features, clipped to 0 or 1 if out of bounds.
- Androzoo: 16978 0/1 features can all be increased to 1. The attack uses only features selected by logistic regression RFE on attacker-known data: top 200 for smaller restriction, top 1000 for larger.
What experiments did the paper conduct?
When attacking only the classifier, ASR increases with perturbation; with a CAE detector, larger perturbations or more poisoning are not necessarily more effective.
Experimental Setup
- Data: Bodmas initial training from 2007-01 to 2019-09, malicious:benign ratio 4741:17565; future selection set from 2019-11, 2494:3718. Androzoo initial training from 2019-01 to 2019-12, 4542:40947; future selection set from 2020-02, 406:3697. Table 1 shows unbalanced counts.
- Models: Victim classifier is MLP 100-100. Detectors are CADE or Transcendent, with underlying CAE 512-384-256-128, CAE 512-128-32-8; Transcendent also tested with MLP 100-100. Substitute models are these three architectures, built on data known to the attacker. The paper does not report numerical comparisons with external attack implementations.
- Metrics: ASR_malware classification is the proportion of malicious samples classified as benign. ASR_overall additionally requires not being in the top-k. CADE compares OOD, Transcendent compares predicted class cred+conf, with thresholds set at the k-th sample of the future selection set. No LLM review.
- Test Set: Perturbations are added to all malicious samples in the initial training set, not only those known to the attacker, nor to the future selection set. The authors state results are similar in the latter setting but not included.
- Repeats: Attacks are run 30 times and averaged. Table 2 gives standard deviations without specifying how they are computed; Tables 3–6 do not report standard deviations. The paper does not report significance tests.
- Budget and Assumptions: k is mostly 500; Figure 4b and Figure 6d use 200. Poisoning experiments assume all inserted samples in the new training set are poisoned.
Main Results
The table below includes only evasion ASR for the MLP classifier as given in tables. ASR_overall for combined settings is in Figures 1, 2, 7; the text does not provide curve readings.
Swipe horizontally to read the table
Condition Substitute MLP 100-100 Substitute CAE 512-384-256-128 Substitute CAE 512-128-32-8 Bodmas limit 0.25 77.7% (3.2%) 79.1% (5.1%) 78.5% (6.3%) Bodmas limit 0.5 97.6% (1.9%) 97.4% (3.8%) 92.5% (6.0%) Bodmas limit 1 100% (0) 99.997% (0.02%) 95.6% (5.6%) Androzoo 50 (Sig Feat 200) 72.1% (2.8%) 71.2% (2.3%) 72.2% (2.7%) Androzoo 200 (Sig Feat 1000) 98.3% (0.7%) 95.0% (1.8%) 95.3% (2.0%) Androzoo 500 (Sig Feat 1000) 98.9% (0.4%) 94.9% (1.9%) 95.4% (1.9%) From Table 2. Not listed Bodmas limit 0.75: 100% (0), 99.985% (0.07%), 95.4% (5.8%). Androzoo 100 (Sig Feat 200): 74.3% (2.9%), 71.6% (2.5%), 73.6% (2.7%).
- Classifier-only: The authors state both substitute losses are effective, with ASR generally increasing with the limit. In the table, Androzoo large CAE does not continue increasing from 200 to 500 features. At Bodmas limit 1, the small CAE substitute does not reach 100%.
- CADE: The authors state that after perturbations are already large, further increasing them can decrease overall ASR (Figure 1, victim CAE 512-128-32-8, k=500). They attribute this to overly large features being seen as unseen patterns, pushing samples away from the benign center. On Androzoo, with RFE feature pool 200, increasing modifiable features from 50 to 100 decreases overall ASR for substitute MLP and small CAE; increasing pool to 1000 with modifiable features 200 can increase it again. The authors state substitute MLP ASR drops faster than substitute CAE because cross-entropy does not constrain distance to the CAE benign center. The text does not give readings for these points.
- Transcendent: The authors state that on Transcendent+CAE, cross-entropy with substitute MLP generates large perturbations with higher overall ASR than substitute CAE (Figures 2a, 2b). They argue samples far from the CADE benign center may still be far from the SVM boundary and thus not considered drifted. In Figure 2c (Bodmas, Transcendent+MLP, k=500), the authors state overall ASR is much higher than Transcendent+CAE, and differences between CAE substitutes are smaller. The text does not give readings.
Backdoor Poisoning Comparisons
- Classifier-only: In Table 4, ASR does not decrease with poisoning count. Bodmas, limit 1, substitute MLP: 100% for insertions of 100, 200, 500, 1000; small CAE substitute from 87.1% to 91.3%. Androzoo, 500 features (Sig Feat 1000): lowest is 99.34% for insertion 500 with large CAE substitute, highest is 99.99% for insertion 1000 with substitute MLP.
- With detector: The authors state this differs from classifier-only poisoning. In Figure 3 (Bodmas, limit 1, k=500, victim CAE 512-128-32-8) and Figure 4 (Androzoo, 500 features), more poisoning can decrease overall ASR. Figure 4b uses k=200; the authors state the appendix has the same evaluation with k=500. They attribute this to reconstruction loss: limited capacity near the benign center, so triggered samples are placed farther away.
- Substitute models: The authors state that in small embedding settings like Figure 4a, substitute CAE ASR is much lower than substitute MLP because CAE loss pushes poisoned samples toward the already crowded benign center. The text does not give readings.
Distance to Benign Center
Tables 5 and 6 report average distance/average benign-class anomaly score, not ASR. The authors use them to support that more poisoned samples move triggered samples away from the benign center.
Swipe horizontally to read the table
Victim CAE and data Insertions Substitute MLP Substitute large CAE Substitute small CAE Bodmas, 512-128-32-8 100 1.77/705 1.05/386 1.15/504 Bodmas, 512-128-32-8 1000 1.67/724 1.78/635 2.33/1016 Androzoo, 512-128-32-8 500 1.03/31 1.97/63 1.88/61 Androzoo, 512-128-32-8 4000 0.87/27 2.18/78 1.98/71 From Tables 5 and 6. Androzoo uses 500 features (Sig Feat 1000). Large CAE refers to 512-384-256-128.
- Small victim CAE, small substitute CAE on Bodmas: distance and anomaly score increase with insertion count.
- Not every cell increases. Bodmas small victim CAE, substitute MLP distance from 1.77 to 1.67. Androzoo small victim CAE, substitute MLP distance from 1.03 to 0.87. The authors do not explain these cells further.
- In Table 5, larger victim CAE distances range from 0.143 to 0.718. Substitute MLP and large substitute CAE at 1000 poisonings are 0.143 and 0.148, lower than at 100 poisonings (0.172 and 0.229).
Other Ablations and Analyses
- Table 3: Bodmas, 1000 poisonings, limit 0.25, classifier-only ASR is 85.5%, 82.1%, 73.7%; limit 1 is 100%, 100%, 91.3%.
- Table 3: Androzoo, 4000 poisonings, 50 features (Sig Feat 200) is 87.84%, 86.92%, 87.26%; 500 features is 99.98%, 99.62%, 99.65%.
- Table 6 victim large CAE, Androzoo: substitute MLP average distance from 0.79 at 500 insertions to 0.89 at 4000; both substitute CAEs from 1.72 to 2.35 and 2.39.
- Appendix Figures 5 and 6 show poisoning ASR_overall for larger victim CAE and k=500; Figure 7 shows evasion ASR_overall for victim large CAE. The text does not give readings.
- Table 5 also has Bodmas insertions 250 and 500; Table 6 also has Androzoo insertions 1000 and 2000. The text does not interpret each cell.
- The paper does not report optimization epochs, learning rates, constant b, or query counts for combined attacks.
What are some points that can be further explored?
The paper does not specifically discuss limitations, nor does it write future work.
Limitations and Future Directions Noted by the Authors
The paper does not specifically discuss limitations. The Conclusion discusses the interaction of CAE embedding space, loss, and attack parameters, but is not framed as limitations or future work.
Experimental Coverage
- Data are Bodmas and Androzoo, with sizes and time ranges in Table 1; features come from static analysis without running samples.
- Victim is MLP 100-100 classifier, and CADE, Transcendent; underlying includes two CAEs, Transcendent also uses MLP 100-100. Attacks are universal perturbation evasion and clean-label backdoor poisoning, each averaged over 30 runs (Section 5).
- Attacker knows 10% of each class in the initial training set. Bodmas modifiable features are 17/2381; Androzoo uses top 200 or 1000 features from RFE. k is mostly 500, Figure 4b and Figure 6d use 200.
- ASR testing adds perturbations to all malicious samples in the initial training set. The authors state experiments adding to the future selection set and per-sample perturbations give similar results, details not included.
- The paper does not report optimization epochs, learning rates, constant b, significance tests, or curve readings for ASR_overall in Figures 1–7. Tables 3–6 do not report standard deviations.
Summarize the main content of the paper
When combined with CAE drift detection, larger perturbations or more poisoned samples can decrease overall ASR.
This is an evasion and clean-label backdoor poisoning experiment against a malware data drift detector together with a classifier.
- Problem: The authors state that software evolution makes classifiers outdated; the detector flags samples likely to be misclassified for human review or retraining. Fooling only the classifier is insufficient.
- Method: The attacker knows only 10% of the initial training set and generates universal perturbations using cross-entropy of a surrogate MLP or distance to the benign center of a surrogate CAE. The success criterion is being classified as benign and not entering top-k. Poisoning adds the perturbation as a backdoor to benign samples, inserting only the most drifted ones, and keeps correct labels.
- Classifier-only: In Table 2, with Bodmas perturbation bound 1 and surrogate MLP, the average ASR is 100%; with Androzoo, 500 features, surrogate MLP, it is 98.9%. In Table 4, when only the classifier is poisoned, with Bodmas bound 1 and surrogate MLP, ASR remains 100% across 100 to 1000 poisoned samples.
- With detector: The authors state that overly large perturbations or more poisoned samples can decrease overall ASR on CADE and Transcendent+CAE, because samples are pushed away from the CAE benign center. On Transcendent+CAE, the authors state that large perturbations from surrogate MLP yield higher overall ASR than from surrogate CAE. These curve readings are not written in the main text.
- Distance does not always increase: In Table 5, with Bodmas, victim small CAE, small surrogate CAE, as poisoning increases from 100 to 1000, average distance goes from 1.15 to 2.33. In Table 6, with Androzoo, victim small CAE, surrogate MLP, from 500 to 4000, distance decreases from 1.03 to 0.87.
- Authors' conclusion: In detectors with CAE, the interaction between embedding space and loss with perturbation magnitude and poisoning count is complex; surrogate models and losses need to be chosen based on the properties of the embedding space in different scenarios.