Skip to content

Beyond the efficiency-efficacy dilemma: a critical analysis of transferability in adversarial malware detectionBeyond the Efficiency-Efficacy Dilemma: A Critical Analysis of Transferability in Adversarial Malware Detection

arXiv: Adversarial Attacks, Backdoors & Poisoning· arXiv:2611.33243· Veysel Alevcan, Mohammad Furqan Ali, Teresa Sousa, Luís Miguel Campos, Christoforos NtantogianCOPELABS, ECATI, Lusófona University; PDMFC SA Project Development and Consulting; Department of Informatics, Ionian UniversityIndexed by this site · 3 days ago· Originally publishedAttacks· Its place in the scan record →

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose AAIE and conduct transfer attacks on EMBER2018, reporting that FGSM achieves an ASR of 52.9% against Random Forest, higher than PGD's 45.2%.

Threat modelsurrogate-based black-box transfer attack: the attacker uses white-box methods on a locally differentiable surrogate to generate adversarial examples, then transfers them to a black-box Random Forest target whose internal parameters are inaccessible; perturbations are applied in the continuous standardized feature space and are not back-projected into valid PE binaries.

Questions
Malware detectors face adversarial evasion, but whether iterative attacks transfer across architectures more easily than single-step attacks remains unclear. The authors focus on automated security stress testing and black-box robustness auditing in scenarios such as energy.
Methods
AAIE chains attack specification, generation, transfer, scoring, and provenance. The experiment trains a neural network surrogate with Random Forest predicted labels, implements FGSM or PGD on it, and then transfers the feature-space perturbations to the target.
Experiments and results
On EMBER2018, FGSM's highest ASR against Random Forest is 52.9%, and PGD's is 45.2%; the authors report p=0.00112 for the paired t-test and believe iterative optimization more easily overfits the surrogate.
Limitations and future work
The authors evaluate only one set of surrogate and target and only EMBER2018; the perturbations are not back-projected into valid PE, so they constitute only an upper-bound estimate of transfer under unconstrained perturbations. Problem-space attacks are left to future work.
Experimental setupRandom Forest Classifier、OC-SVM based anomaly detector · EMBER2018 · ASR、Transferability Score (TS) et al.
Evaluated models
Random Forest ClassifierOC-SVM based anomaly detector
Benchmarks
EMBER2018
Metrics
ASRTransferability Score (TS)Detection Evasion Ratio (DER)Resilience Index (RI)AccuracyROC-AUC
AI summaryAdversarial AI Engine (AAIE) is an automated security stress-testing platform, with which the paper analyzes transferability in adversarial malware detection. Launching transfer attacks against a random forest target via EMBER2018, the single-step FGSM attack success rate is 52.9%, higher than the 45.2% of iterative PGD. Under constrained perturbation, the transferability score reaches up to about 0.8, and the platform supports automated adversarial auditing.

Adversarial AI Engine (AAIE) is an automated security stress-testing platform, with which the paper analyzes transferability in adversarial malware detection. Launching transfer attacks against a random forest target via EMBER2018, the single-step FGSM attack success rate is 52.9%, higher than the 45.2% of iterative PGD. Under constrained perturbation, the transferability score reaches up to about 0.8, and the platform supports automated adversarial auditing.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study automated adversarial auditing in malware detection and the cross-architecture transfer differences between single-step and iterative attacks.

    The core question is: how to automatically stress-test malware detectors under black-box conditions, and determine the relationship between attack strength and cross-model transferability.

    • Application background: The authors state that energy IT/OT, SCADA, and industrial control networks increasingly use ML to detect malware and intrusions, and that adversarial evasion may affect physical processes, so systematic, automated security testing is needed.
    • Existing knowledge gap: The authors state that existing work usually assumes iterative attacks such as PGD are stronger, but their transfer effectiveness to different architectures such as tree-based ensembles remains insufficiently understood; stronger white-box attacks do not guarantee better black-box transfer.
    • Core hypothesis: The authors believe PGD may overfit the surrogate's local curvature and nonlinearity, whereas FGSM's single-step linear approximation may preserve more generalizable perturbation directions. This is the authors' hypothesis used to explain the results.
    • Threat model:
      • Target: cause the Random Forest malware detector to misclassify adversarial examples; the primary metric is the target model's ASR.
      • Knowledge: a surrogate-based black-box setting is used; the target's internal parameters are inaccessible; attack generation uses only a local differentiable surrogate.
      • Capability: generate samples on the surrogate with white-box FGSM or PGD, then transfer to the target; perturbations are constrained by an L∞ budget.
      • Victim system and boundary: the target is a Random Forest with 200 trees and maximum depth 15; the experiments only modify continuous standardized features and do not generate valid PE binaries.
    • Paper output: The authors propose Adversarial AI Engine (AAIE), which automates attack specification, generation, transfer, scoring, and provenance, and evaluates transfer attacks on EMBER2018 using ASR, TS, DER, and RI.
  2. What related research exists?

    Related work is divided into four categories: adversarial attacks and transfer, malware constraints, transfer-enhancing methods, and robustness evaluation.

    Adversarial examples and black-box attacks

    • Szegedy et al. (2013), Goodfellow et al. (2015): The paper takes visual AML research as a starting point, with the goal of finding perturbations that cause large model loss under distance constraints; the latter corresponds to the FGSM used in this paper.
    • Madry et al. (2018), Carlini and Wagner (2017): Cited as related work on PGD and robustness evaluation, respectively; the paper uses them to explain the white-box attack and evaluation background.
    • Chen et al. (2024), Asimopoulos et al. (2025): The former studies query-efficient black-box attacks guided by a transfer-based prior, and the latter formalizes a surrogate-guided pipeline that enables white-box methods to be used in black-box scenarios.

    Malware detection and transfer mechanisms

    • Anderson and Roth (2018), Ling et al. (2023): EMBER provides a static PE malware detection dataset; the latter surveys attacks on Windows PE malware detection. The paper points out that cybersecurity features are often discrete, non-differentiable, and must preserve malicious functionality, so AAIE uses a feature-space surrogate.
    • Zhu et al. (2022), Wang et al. (2023): Study adversarial transfer from a distribution perspective and a backpropagation perspective, respectively; in the discussion, the authors use them to support the explanation that perturbation direction and propagation matter more than optimization steps.

    Feature methods for improving transferability

    • Li et al. (2025): Studies relative feature importance-aware attacks; the paper states that directly considering relative feature importance can improve transfer to multiple architectures.
    • Zheng et al. (2025): Studies multi-feature attention; the paper states that it can further enhance transfer; the authors connect the two with the directional explanation of FGSM.

    Evaluation frameworks and this paper's positioning

    • Zhang et al. (2025), Yuan et al. (2024), Zhang et al. (2024): The first two provide AML taxonomies; the latter emphasizes that perturbation norms other than L∞ should also be evaluated, so this paper additionally reports the L2 perturbation ratio.
    • Baselines and benchmarks: The attack comparisons are FGSM and 10-step PGD, both transferred from the same surrogate to Random Forest; the dataset is EMBER2018, and OC-SVM is additionally used to measure DER. The paper does not use other transfer attacks as experimental baselines.

    The authors position this paper as an automated auditing engineering framework plus one empirical observation: in their surrogate-to-Random Forest setting, single-step FGSM transfers better than iterative PGD.

  3. How does the paper address this problem?

    AAIE uses pseudo-label surrogates to generate attacks and transfer them to Random Forest, evaluated with four types of metrics and statistical tests.

    The overall idea is to use the Adversarial AI Engine (AAIE) for automated adversarial auditing: generate FGSM or PGD examples on a local neural network surrogate, transfer them to a black-box Random Forest, and record attack effectiveness, stealthiness and experimental parameters.

    Problem setting and system modules

    • Optimization objective: The evasion attack is written as argmaxδ L(fθ(x+δ),y), constrained by |δ|p≤ε and x+δ∈ X; that is, increasing the classification loss within the input domain and perturbation budget.
    • Seven components: MICo collects inputs and metadata; ASM converts security objectives; ATGen combines FGSM, PGD and transfer attacks; TM schedules surrogate-based black-box attacks; Orchestrator controls experiments; ESM scores; PAL records parameters.
    • Replaceability: The authors state that datasets, attack algorithms and target models can be replaced independently; PAL is used for reproducibility and AI governance auditing. The complete pipeline takes less than 15 minutes on commodity hardware.

    Data and feature processing

    • Sample split: 9,693 training samples and 1,195 test samples are randomly drawn in a stratified manner from EMBER2018, maintaining approximately 50% benign and 50% malicious; it is also stated that the data are split into 85% training and 15% validation.
    • 30-dimensional representation: Six types of PE regions are statically parsed, including byte histogram, byte entropy, string, file metadata, PE header and structural counts, plus one padding feature.
    • Standardization: scikit-learn StandardScaler is used to convert features to zero mean and unit variance; the scaler is fitted only on training data to avoid leakage and to unify the application of ε across features of different scales.

    Target and surrogate training

    • Target model: The Random Forest contains 200 trees with a maximum depth of 15, uses balanced class weights, and has random state fixed at 42; approximately 85% of the scaled features are used to train the target classifier. The authors state it was chosen to simulate a production-grade malware detection architecture.
    • Surrogate model: The fully connected network has two hidden layers with widths from 64 to 32, uses ReLU, and ends with softmax; it is trained directly with pseudo-labeling using labels predicted by the Random Forest.
    • Optimization settings: Cross-entropy is minimized with Adam at a learning rate of 1×10−3 and weight decay of 1×10−4; full-batch is used to maintain deterministic gradient computation.

    Attack generation and budgets

    • FGSM: A single-step perturbation along the sign direction of the input loss gradient, with step size ε; the attack is constructed only on the surrogate and then transferred to the Random Forest.
    • PGD: Each step updates with α=ε/4 and projects back to the ε-ball, for 10 iterations in total, ensuring the perturbation satisfies the L∞ constraint.
    • Budget range: ε takes 0.01, 0.02, 0.03, 0.05, 0.075, 0.10, 0.15, 0.20; the main results are the target ASR under the L∞ constraint, and the L2 norm ratio of PGD to FGSM perturbations is reported.

    Metrics, criteria and runtime environment

    • ASR and TS: ASR is the proportion of adversarial examples that are misclassified, reported with 95% Wilson confidence intervals; TS=ASRtarget/ASRsurrogate, and TS greater than 1 indicates that the target is more susceptible to transfer attacks than the surrogate.
    • DER and RI: DER=100×(DRadv−DRclean), where a negative value indicates a decrease in anomaly detection rate; RI combines accuracy retention, attack resistance and stealth with weights 0.4, 0.4, 0.2, ranging from 0–100.
    • Statistics and reproducibility: Paired t-tests are performed on the ASR of FGSM and PGD at all ε, and two-sample t-tests and Cohen’s d are also reported; the experiments use Google Colab Pro, NVIDIA T4, PyTorch 2.1.0 and scikit-learn 1.3.0, with random seeds all set to 42.
  4. What experiments did the paper conduct?

    The experiments cover eight perturbation budgets; FGSM's target ASR is higher than PGD's at each budget, with accompanying statistical tests.

    Experimental Setup

    • Target and attack models: The target is a Random Forest Classifier; the attack generation model is a two-hidden-layer Surrogate Neural Network. The target is not the surrogate itself; all results are cross-architecture transfer.
    • Data scale: The EMBER2018 stratified subset contains 9,693 training samples and 1,195 test samples, approximately 50% benign and 50% malicious; features are a 30-dimensional static PE representation.
    • Attack baselines: FGSM and 10-step PGD, with eight L∞ perturbation budgets; PGD step size α=ε/4. No experimental comparison with other attack algorithms is reported.
    • Baseline performance: In Table I, the target Accuracy is 0.8820 and ROC-AUC is 0.9557; the surrogate's are 0.7397 and 0.8142, respectively. The authors state that surrogate fidelity is sufficient to perform transfer attacks.
    • Metrics and criteria: The primary metric is the target ASR, with additional TS, DER, RI, and Accuracy, F1, Precision, Recall, ROC-AUC; ASR is calculated as the misclassification proportion, and the paper does not use LLM judging.
    • Statistics and repetition: two-sample and paired t-tests, Cohen's d, and 95% CI are reported; the seed is fixed at 42. The paper does not report the number of independent repetitions, nor does it list Wilson intervals for each ASR in the results tables.

    Main Results

    According to Table II, the values are ASR after transfer to Random Forest; the Adv. column is the FGSM advantage as labeled in the paper, and Ratio is the L2 perturbation ratio of PGD/FGSM.

    Swipe horizontally to read the table

    εFGSM ASRPGD ASRAdv.Ratio
    0.0100.1890.160+15.5%0.842
    0.0200.2320.197+14.8%0.815
    0.0300.2860.244+14.9%0.801
    0.0500.3210.278+13.5%0.793
    0.0750.3890.325+16.6%0.788
    0.1000.4540.362+20.3%0.782
    0.1500.5290.437+17.4%0.775
    0.2000.5270.452+14.3%0.770
    • Peak and exception: The main text reports that FGSM's highest ASR is 52.89% (ε=0.15) and PGD's highest is 45.19% (ε=0.20); when ε increases from 0.15 to 0.20, FGSM changes from 0.529 to 0.527, not a continuous increase.
    • Statistical results: Table III reports a two-sample t-test with t=4.917, p=0.00172, a paired t-test with t=5.234, p=0.00112, Cohen's d=0.742, and a 95% CI of [0.047, 0.107]; on this basis the authors consider it unlikely that the difference arises from chance.
    • Perturbation size: The main text states that PGD on average produces perturbations 21.4% smaller than FGSM, corresponding to the average Ratio=0.786 in Table II; the authors therefore do not attribute the higher ASR to larger L2 perturbations.

    Transferability and Surrogate Overfitting Analysis

    • TS results: In Table IV, FGSM's average TS is 0.555 and PGD's is 0.465, and the paper labels FGSM's average TS as 19.4% higher; at ε=0.15 the two are 0.802 and 0.663, and at ε=0.20 they are 0.800 and 0.686.
    • Figure content: The Figure 2 caption states that FGSM's ASR is higher than PGD's at every budget; the Figure 3 caption states that the shading represents the generalization loss from the differentiable surrogate to the non-differentiable Random Forest, and the main text states that PGD's transfer gap is larger.
    • Authors' explanation: The authors believe that PGD's iterative search overfits the surrogate's local curvature and nonlinearity, whereas FGSM's single-step direction, although weaker against the surrogate, generalizes better between the neural network and the Random Forest; this is a mechanistic hypothesis, not a causal-intervention conclusion.

    Performance Degradation, Anomaly Detection, and RI

    • Accuracy changes: In Table V at ε=0.15, the Accuracy of Clean, FGSM, and PGD is 0.882, 0.471, and 0.563, respectively, and ROC-AUC is 0.956, 0.721, and 0.814; the main text separately writes FGSM and PGD accuracy as 46.6% and 36.1%, which is inconsistent with the table and the ASR relationship, and Table V should be taken as authoritative.
    • OC-SVM detection: The secondary detector is trained only on clean benign samples, with ν=0.03 and γ=0.01; the clean detection rate is 34.06%, the adversarial detection rate for both attacks is 22.72%, and the DER for both is -33.31%.
    • RI results: In Table V, the RI of Clean, FGSM, and PGD is 100.0, 54.99, and 49.76, respectively; the authors state that 33–66 is moderate resilience, and on this basis consider that FGSM forms more transferable perturbations. The Figure 4 caption concerns detection rate, evasion resistance, and RI, but the converted text does not provide verifiable curve values.

    Other Ablations and Analyses

    • Perturbation budget: Table II and Table IV jointly compare eight ε values, which is the paper's main parameter analysis.
    • Attack iteration method: FGSM single-step and PGD ten-step are compared on the same surrogate and target; no sweep of PGD iteration counts is reported.
    • Secondary defense: Only the detection results of the above OC-SVM setting at ε=0.15 are reported; no adaptive attacks are reported.
    • Efficiency: The authors state that the full experiment takes less than 15 minutes on Google Colab Pro, and do not separately report the time or number of queries for FGSM and PGD.
  5. What are some points that can be further explored?

    The authors explicitly limit this to a single group of models and feature-space attacks, and list more models, domains, and problem-space attacks as future directions.

    Limitations and future directions noted by the authors

    • Range of model combinations: Section VI-D states that the evaluation uses only one set of models, namely a neural network surrogate attacking a Random Forest target; future work could study model families such as gradient boosting, SVMs and deep neural networks.
    • Data and domain scope: The same section states that the experiments conduct feature-space attacks only on EMBER2018; future work could study cybersecurity domains or models such as ICS and IoT.
    • Boundary of feature perturbation: The same section notes that perturbations are applied in the continuous, standardized feature space and are not back-projected into valid PE binaries, so the results are an upper-bound transferability estimate under unconstrained perturbations.
    • Stricter attack models: The same section leaves problem-space attacks that preserve binary validity to future work, citing examples such as section padding satisfying integer field constraints and import table manipulation.
    • Directions for enhancing transfer: The same section cites feature-aware transferability research, states that recent work has improved cross-model transfer, and places it in the discussion of future work.

    Scope of experimental coverage

    • Models and data: There is only one attacked target, a Random Forest, and the surrogate is a two-hidden-layer neural network; the data use only a stratified subset of EMBER2018 (Section IV-A, IV-B).
    • Attacks and budgets: The experimental attacks are FGSM and 10-step PGD, covering eight L∞ ε values; no other transfer attack baselines or PGD iteration budget sweeps are reported (Section IV-D, Table II).
    • Defense evaluation: The secondary anomaly detection uses only an OC-SVM with specified parameters, and reports detection rates for clean and the two attacks at ε=0.15; adaptive attacks are not reported (Section V-D).
    • Statistics and reproducibility: The paper reports two t-tests, effect sizes and one 95% CI, with the random seed fixed at 42; it does not report the number of independent repetitions, nor does it give Wilson intervals for each ASR in the results tables (Section IV-C, V-B).
    • Runtime cost: The full experiment is reported as taking less than 15 minutes, but the time cost of the two attacks, the number of target queries and the training cost are not reported separately (Section IV-E).
  6. Summarize the main content of the paper

    AAIE automated feature-space transfer audit; the authors report that FGSM transfers to Random Forest more easily than PGD.

    This is an adversarial malware detection study combining the automated auditing framework AAIE with surrogate-based black-box transfer experiments on EMBER2018, examining the difference between single-step and iterative attacks in cross-architecture transfer.

    • Problem: ML malware detectors may be evaded by adversarial examples, and the authors state that whether iterative attacks are necessarily more suitable than single-step attacks for black-box transfer remains unclear, while energy and industrial scenarios require reproducible automated stress testing.
    • Method: AAIE organizes input, attack specification, generation, transfer, scoring, and provenance. The Random Forest's predicted labels are used to train a neural network surrogate, after which FGSM or 10-step PGD perturbations are generated only on the surrogate and then transferred to the target.
    • Main results: In Table II, FGSM achieves the highest target ASR of 52.89% at ε=0.15, and PGD reaches 45.19% at ε=0.20; FGSM's ASR is higher at all eight budgets, but FGSM at ε=0.20 is slightly lower than its result at ε=0.15.
    • Statistics and transfer: Table III's paired t-test gives p=0.00112, Cohen's d=0.742; in Table IV, the average TS of FGSM and PGD is 0.555 and 0.465, respectively, and the paper labels FGSM's average as 19.4% higher.
    • Robustness metrics: At ε=0.15, in Table V the Accuracy of FGSM and PGD is 0.471 and 0.563, respectively, and RI is 54.99 and 49.76; both have a DER of -33.31% against OC-SVM.
    • Authors' conclusions and boundaries: The authors believe PGD may overfit the surrogate's nonlinearity, whereas FGSM's linear approximation generalizes more easily, and recommend using lightweight single-step attacks for scalable auditing. The conclusions are limited to this model combination and feature-space setting; no valid PE is generated, and problem-space attacks are left for the future.

Related papers

Read originalarxiv.org