Skip to content

EXE-Bench: A trade-off ranking of AI Windows malware detectors for real-world usabilityEXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usability

Paper Tracker· arXiv:2607.24177· IEEE Transactions on Information Forensics and Security 2026· Andrea Ponte, Daniel Gibert, Matous Kozak, Dmitrijs Trizna, Maura Pintor, Battista Biggio, Fabio Roli, Luca Demetrio·Indexed by this site · 2026-10-04· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

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

EXE-Bench scores 30 Windows malware detectors on four metrics with the same data, and EmberGBDT leads with an aggregate score of 0.86.

Questions
Existing evaluations of AI Windows malware detection are inconsistent in data and settings, and rarely cover temporal drift, graded adversarial attacks, or inference overhead, making it hard to fairly choose a deployable model.
Methods
EXE-Bench trains 30 detectors on the same EMBER split and ranks them by an average score combining deployment F1, sample-weighted temporal F1, area under the adversarial detection rate curve, and an exponential penalty on inference time.
Experiments and results
The authors report EmberGBDT leads with an aggregate score of 0.86, F1 tied with MalConv at 0.99, temporal score 0.78, robustness 0.80; ResNet18 robustness 0.01, and NGramConvRS has the lowest aggregate score of 0.19.
Limitations and future work
The authors note that only static analysis is used, the training data is EMBER, transformers, assembly graphs, and adversarial training are not included, certified accuracy and some attacks are not counted, and timestamps may be biased. The experiments cover 30 models, ten time bins from Speakeasy, and black-box attacks on 5,000 unpacked samples.
Experimental setupEmberGBDT、MalConv et al. · EMBER 2017、Speakeasy · S、P (F1) et al.
Evaluated models
EmberGBDTMalConvAvastStyleConvBBDnnNGramConvResNet18MalConvRsDelMalConvRSMalConvFDRSMalConvKDRSMalConvRDRSMalConvSDRSAvastStyleConvRsDelAvastStyleConvRSAvastStyleConvFDRSAvastStyleConvKDRSAvastStyleConvRDRSAvastStyleConvSDRSBBDnnRsDelBBDnnRSBBDnnFDRSBBDnnKDRSBBDnnRDRSBBDnnSDRSNGramConvRsDelNGramConvRSNGramConvFDRSNGramConvKDRSNGramConvRDRSNGramConvSDRS
Benchmarks
EMBER 2017Speakeasy
Metrics
SP (F1)TRIFRDR
AI summaryEXE-Bench is a comprehensive benchmark for AI Windows malware detectors, scoring them across four dimensions—performance, temporal robustness, adversarial robustness, and computational overhead—and aggregating into a single score for direct, fair model comparison. The benchmark notes that evaluating only after deployment does not fully reflect detector performance; domain knowledge injected through feature engineering remains highly effective against temporal drift and adversarial attacks, while most deep networks excel only in the early deployment phase.

EXE-Bench is a comprehensive benchmark for AI Windows malware detectors, scoring them across four dimensions—performance, temporal robustness, adversarial robustness, and computational overhead—and aggregating into a single score for direct, fair model comparison. The benchmark notes that evaluating only after deployment does not fully reflect detector performance; domain knowledge injected through feature engineering remains highly effective against temporal drift and adversarial attacks, while most deep networks excel only in the early deployment phase.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Evaluation settings are inconsistent, making it difficult to decide which AI Windows malware detector to deploy.

    Existing evaluations cannot compare AI Windows malware detectors under the same conditions, making it hard to decide which to deploy in production.

    • Deployment scenario: The authors focus on static analysis, i.e., looking only at PE metadata and program representations without executing samples. Over the past decade, feature models, deep networks that consume bytes directly, and certifiable models all claim good results, but data and experimental setups differ.
    • Existing shortcomings: The authors summarize four points: training and test data or splits are inconsistent, making comparisons unfair; most only look at accuracy on a single test set without examining concept drift; adversarial evaluations often test only one strength rather than characterizing from weak to strong; endpoint inference overhead is ignored, and training cost does not represent the most frequent prediction.
    • Authors' judgment: Looking only at accuracy after deployment gives an incomplete picture. The authors believe domain knowledge injected through feature engineering can still resist both time and adversarial EXEmples, while most deep networks only perform well right after deployment.
    • This paper's approach: Proposes EXE-Bench, computing deployment performance, temporal stability, adversarial robustness, and inference overhead on the same data, splits, and hardware, then combining into a single score. The authors say to their knowledge this is the first fair and comprehensive benchmark in this area.
    • Adversarial setting: The robustness part uses black-box genetic optimization, reading only the target's answer; it performs functionality-preserving substitutions or injections in problem space, with a byte budget and Levenshtein distance. Certifiable models could not be directly attacked, so transferred samples are tested instead.
  2. What related research exists?

    Related work is organized by detector family, existing evaluations, and adversarial examples; the authors position this paper using a unified set of four metrics.

    The paper organizes related work by detector family, existing evaluations, and adversarial examples; the authors believe existing results hold within their own scopes, but the settings differ and cannot be directly compared.

    Detector families

    • Feature models: Anderson and Roth (2018) use EMBER features; Saxe and Berlin (2015) use two-dimensional program features; Ahmadi et al. (2016) do family classification from disassembly. This paper uses only EMBER features on raw binaries; the authors say disassembly adds preprocessing.
    • End-to-end: MalConv (Raff et al., 2018), AvastConv (Krčál et al., 2018), BBDNN (Coull and Gardner, 2019), NGramConv (Gibert et al., 2021) learn directly on bytes; Nataraj et al. (2011) and Gibert et al. (2019) treat programs as images and then convolve.
    • Certifiable: randomized smoothing and de-randomized smoothing from the image domain are adapted to PE: the former does majority voting over copies with deleted bytes or ablations, the latter does majority voting over fixed blocks, K partitions, random blocks, or sequential blocks. The paper cites Cohen et al. (2019), Levine and Feizi (2020), Huang et al. (2023), Gibert et al. (2023–2024), and Saha et al. (2024).

    Existing evaluations

    • Performance comparisons: Vinayakumar et al. (2019) and Fahim et al. (2025) compare SVM, Random Forest, and MalConv on public or private data.
    • Adversarial evaluations: Demetrio et al. (2021), Imran et al. (2024), Louthánová et al. (2024), and Verwer et al. (2020) report white-box and black-box evasion rates, transfer, and perturbations. The authors believe these cover only specific strategies and do not form a security evaluation from a few bytes to large injections.
    • Gaps identified by the authors: data sources and scales differ—the paper gives examples from 104 samples to thousands of samples; splits, thresholds, pretraining, and retraining are also inconsistent. Temporal drift is mostly absent, with multi-year data often pooled into one period. Metrics are isolated from each other, and computation and deployment are not considered together. After defenses incorporate adversarial examples, the authors still consider the settings incomparable.

    Drift, attacks, and baselines

    • Temporal: TESSERACT by Pendlebury et al. (2019) discusses cross-time bias. The authors believe its AUC is not weighted by per-bin sample counts, which may incorrectly affect temporal analysis.
    • Adversarial examples: Kolosnjaji et al. (2018), Lucas et al. (2021), and Demetrio et al. (2021) discuss adversarial EXEmples; Pierazzi et al. (2020) distinguish feature space from problem space. Robustness curves follow Biggio and Roli (2018) and AttackBench (Cinà et al., 2025).
    • Baselines and data in this paper: the comparison targets are exactly these 30 detectors. Training and deployment testing use EMBER 2017; temporal testing uses Speakeasy (Trizna, 2022). Attacks are FullDOS, Content-shift, and GAMMA, with a genetic algorithm as the optimizer.

    The authors position this paper as a four-metric composite ranking under the same data, splits, hardware, and attacks of increasing strength, and state that the temporal metric is newly proposed.

  3. How does the paper address this problem?

    Trains 30 models on the same data and combines performance, temporal, robustness, and inference time into a total score.

    EXE-Bench trains detectors on the same training set, then ranks them by the equal-weight average of four 0–1 scores.

    Data and models

    • EMBER 2017: 300,000 unlabeled removed. VirusTotal retrieved benign 349,994/400,000 (87%) and malicious 399,992/400,000 (99%), totaling 749,986, randomly split 80%/10%/10% into training, validation, and test.
    • 30 models: EmberGBDT (LightGBM + EMBER features). End-to-end are MalConv (2,000,000 bytes, 1,067,529 parameters), AvastConv (512,000 bytes, 904,697 parameters; written AvastStyleConv in Table I), BBDNN (102,400 bytes, 895,275 parameters; BBDnn in the table), NGramConv (512,000 bytes, 17,957 parameters), ResNet18 (256×256 grayscale images, 11,177,025 parameters). Except ResNet18, each end-to-end network has six certified variants.
    • Certified variants: RS randomly ablates bytes, RsDel randomly deletes bytes, then majority vote. FDRS, KDRS, RDRS, SDRS are all chunked majority vote: fixed chunks (example 32768), K chunks (example K=12), proportional random chunks (example p=10%), and the same chunk size but taken sequentially from the file header.
    • Training: batch 64, Adam, learning rate 10^-3, Binary Cross Entropy, weighted by class proportions. Stop when validation loss does not decrease for 5 epochs, 10 for certified models. Machine is Intel i9 14900KF (24 cores), 64 GB, Nvidia 4090 RTX 24GB.

    Score definitions

    Models with probabilistic outputs have thresholds tuned to 1% FPR; certified models do not change the majority vote to avoid interfering with certification, and their unfixed FPR enters F1. T and P use the same threshold. DR counts the proportion of adversarial samples still classified as malicious within budget ε, where ε is Levenshtein distance, not tied to a single manipulation. R is the integral of DR over ε, approximated in practice by the chosen attacks, then normalized by the area corresponding to the empirical maximum distance across all model-attack pairs. I uses average inference time t (including preprocessing) as an exponential penalty. The authors say replacing I with 1/(1+t) makes no substantive change. The ranking is S(f)=(P(f)+T(f)+R(f)+I(f))/4. The temporal score is T(f)=∑i (|Si|/|D|) F1i(f), weighted by per-bin sample size.

    Temporal bins and attacks

    • Speakeasy: union of collections from January and April 2022, used only for inference. Total 125,921 samples, the paper writes divided into 7 malware families; Figure 3 legend has both Goodware and Malware. PE timestamps are divided into 10 four-month windows (January 2019 to April 2022). The x-axis is 2019-Q1 to 2022-Q1, with Past Out. and Future Out., which are dropped.
    • Why timestamps: The authors say only 33% of samples are on VirusTotal, of which only 7% have non-empty first seen. In Table IV, first submissions after the collection date are 6,344 (44.9%), the main text writes about 45%, and the authors consider that date unreliable. The table note bounds are 2022-02 on the training side and 2022-05 on the test side.
    • Attacks: 5,000 unpacked programs from the EMBER test set (Detect It Easy negates packing). Black-box genetic algorithm, at most 500 queries, 10 variants per round. FullDOS replaces everything in the DOS header except the magic number and PE offset; Content-shift injects between the header and the first section according to file alignment, with that field at most 4096 bytes for the sampled files; GAMMA injects benign byte strings into non-executable sections with regularization coefficient 0. Sources are .rdata from Windows 11 sysWOW64 (5, 10, 20, 30, 50 sections) and .rdata from Speakeasy (5, 10 sections). When there is no .rdata, an empty section is injected but the section table entry is kept, and the authors still count it.
    • Transfer and timing: All adversarial samples, whether or not they evade the source model, are re-tested on all detectors. Certified models are not directly attacked. Inference timing is on CPU: 500 malicious plus 500 benign, sizes within μ±0.5σ of the Speakeasy test set.
  4. What experiments did the paper conduct?

    EmberGBDT ranks first with an aggregate score of 0.86; most deep networks score lower on the temporal or adversarial metrics.

    The authors rank 30 models on four metrics on the same split and call EmberGBDT the overall first.

    Experimental setup

    • Models: 30, all trained on the same EMBER split. Bases are EmberGBDT, MalConv, AvastStyleConv (written AvastConv in the main text and Table III), BBDNN (BBDnn in the table), NGramConv, ResNet18; except ResNet18, each has RS, RsDel, FDRS, KDRS, RDRS, SDRS. Inference timing is only on CPU.
    • Data: P uses the EMBER test set (10%, the paper does not give the exact count). T uses the Speakeasy merged set of 125,921 and 10 four-month windows. R uses 5,000 unpacked samples from the EMBER test set. I uses 500 malicious plus 500 benign with sizes within μ±0.5σ.
    • Metrics: P is F1, with probability models thresholded at 1% FPR, certified models not threshold-tuned. T is F1 per bin weighted by sample size. R is the integral of DR over byte budget, normalized. I is e to the power of −t. S is the average of the four. FR is the sum of ranks across the four sub-leaderboards, lower is better.
    • Attacks: black-box genetic algorithm, query cap 500, 10 variants per round; manipulations are FullDOS, Content-shift, and the listed levels of GAMMA. All samples are transferred. Certified models are not directly attacked.
    • Judgment: no LLM review; F1 and DR are computed from labels and thresholds. The authors report Kendall's coefficient of concordance W=0.48 (p=0.0021) and call the metric rankings moderately consistent. The paper does not report random seeds or repetitions.

    Main results

    The table below selects by S from high to low and keeps the lowest S. Numbers all come from Table I.

    Swipe horizontally to read the table

    ModelSPTRI
    EmberGBDT0.860.990.780.800.87
    BBDnn0.850.970.670.790.98
    BBDnnFDRS0.800.960.660.580.99
    MalConv0.670.990.520.180.98
    ResNet180.610.970.520.010.95
    AvastStyleConv0.450.780.030.010.98
    NGramConvRS0.190.270.430.040.01
    • Authors' overall ranking: The authors list EmberGBDT as overall first and BBDnn second, and say handcrafted features dominate in performance, time, and robustness, except inference time. The top six in the I leaderboard of Table II are all 0.99, and they are all derandomized smoothing variants.
    • Certified variants: The authors say FDRS/KDRS balance the metrics better than RS/RsDel; MalConv and BBDnn with certification are overall worse than the originals, while NGramConv and AvastStyleConv certified variants are higher than the originals. NGramConv, not in the table above, has S=0.66, P=0.98, T=0.70, R=0.06 in Table I.
    • The two rankings are not identical: The authors say they sort by S. The printed row order of Table I is consistent with increasing FR. BBDnnSDRS (0.69) and BBDnnRDRS (0.68), ranked 5th and 6th by S, are not in the table above; the former has FR=15.25, worse than MalConv's FR=11.00. Figure 4 arranges radar charts by S. The four scores of the remaining 23 models are in Table I.

    Sub-metric leaderboards

    • P (Table II): The top six are EmberGBDT 0.99, MalConv 0.99, NGramConv 0.98, BBDnnRsDel 0.98, ResNet18 0.97, AvastStyleConvRsDel 0.97. Table I marks both 0.99s as tied for highest, while Table II still lists them as 1st and 2nd. The authors say looking only at this leaderboard would rank MalConv before BBDnn. The authors say RsDel raises AvastStyleConv's F1 by about 0.2; in Table I its P is 0.78 and the RsDel variant is 0.97. The main text also writes that model's test-set F1 as 0.76, inconsistent with the table; here the table is taken as authoritative. The authors say in Figure 5 EmberGBDT is already almost perfect at 10^-3 FPR; the axes are False Positive Rate and True Positive Rate, and the text does not give other curve readings.
    • T (Table II): The top six are EmberGBDT 0.78, NGramConv 0.70, BBDnn 0.67, BBDnnFDRS 0.66, NGramConvFDRS 0.63, NGramConvRsDel 0.63. The authors say these six do not monotonically worsen over time but fluctuate per bin; Figure 6 plots F1 and per-bin sample sizes, and the text gives no checkable per-bin F1. The authors link the fluctuation possibly to timestamp manipulation or few samples in some bins, but say all models use the same data, so the weighted comparison is still fair.
    • R (Table II, Figure 7): The top six are EmberGBDT 0.80, BBDnn 0.79, BBDnnRS 0.62, BBDnnRsDel 0.61, BBDnnFDRS 0.58, BBDnnKDRS 0.52. The x-axis is perturbed byte count and the y-axis is Detection Rate. The authors say BBDnn is higher than GBDT only after injecting several MB, on the right side of the plot, and overall GBDT is still slightly higher; the text gives no curve endpoint readings. The authors say ResNet18 is broken by the weakest FullDOS and Content-shift and argue that folding programs into images has no spatial semantics. The authors also mention that GAMMA-injected benign bytes may change chunk voting, and that BBDNN's 100KB input window may put injections outside the window; these are explanations, not numbers from separate control experiments.

    Inference time and training cost

    • I: The top six in Table II are all 0.99, namely AvastStyleConvKDRS, BBDnnKDRS, AvastStyleConvFDRS, MalConvKDRS, MalConvFDRS, BBDnnFDRS. The authors say derandomized smoothing is fastest and use KDRS as an example that even with 12 inferences, small chunks are faster than the whole file; randomized smoothing is slowest because it repeats inference 100 times on truncated samples. Figure 8 is a box plot of inference time (seconds), and the text gives no box endpoints. The authors say EmberGBDT still completes inference within 1 second.
    • Training hours (Table III): The shortest is AvastConvRsDel at 0.46 and the longest is MalConvRS at 146.47. EmberGBDT is 7.18; the authors say feature processing is the bulk, with standalone training on about 600,000 featurized samples taking about 4 minutes, and updates only need to process new samples.

    Other ablations and analyses

    • Removing Inference gives Spearman ρ=0.2538 (p=0.1759) and Pearson r=0.2623 (p=0.1614) against the original ranking, the lowest of the four; the authors say BBDnnRsDel rises from 22nd by S to 4th (Table V).
    • Removing Temporal gives the largest displacement of 6 ranks; removing Performance gives the highest correlation: Pearson r=0.5291 (p=0.0026), Spearman ρ=0.3419 (p=0.0644) (Table V).
    • Removing Robustness: Pearson r=0.2162 (p=0.2513), Spearman ρ=0.3673 (p=0.0459) (Table V).
    • The authors say replacing I with 1/(1+t) makes no substantive change; the main text does not give scores for that version.
    • Low-score side: NGramConvRS has I=0.01, P=0.27; AvastStyleConv has T=0.03, R=0.01; ResNet18 has R=0.01, tied for the lowest R in the table, and its T=0.52 is not the lowest. The authors oppose using image-as-program detectors in production.
  5. What are some points that can be further explored?

    The authors write static scope, data, models and attacks not included, and timestamp bias as extensible points.

    The follow-up space is mainly the extensions the authors name in the limitations and future work sections, not low scores in a particular results table.

    Limitations and follow-up directions named by the authors

    • Static analysis: The included models only do static analysis, with no dynamic analysis models. The authors say dynamic methods are costly and also say the existing metrics can be applied to any Windows detector (Sect. VI).
    • Data: Training uses EMBER. The authors mention SOREL and EMBER2024 and say changing data does not change the method, and it can serve as training data or future time splits (Sect. VI).
    • Models not included: transformers, due to training memory; the authors cite prior work saying their detection performance is comparable to this paper's CNNs, with inference time 570.57% higher than MalConv. GNNs on assembly or control-flow/function-call graphs, because disassembly may be incomplete under packing or obfuscation, and commercial disassemblers are expensive and add latency. Adversarial training due to time: the fastest prior method takes 5.7 days for 3 epochs on fewer than 300,000 samples, the slowest takes months, and the attacks are not public or lack components; the authors say this paper's training set is about twice that (Sect. VI).
    • Certified accuracy: certified accuracy could not be included. RsDel estimates that quantity requires about 4,000 randomizations per sample; the original implementation exceeds GPU memory, and inference truncates by input window. The authors say without simplification, certified models would rank lower on the leaderboard due to computation time (Sect. VI).
    • Timestamps: The analysis may be affected by timestomping, the 2019–2022 period, and the collection vendor. The authors say timestamps were the information available at the time and follow prior practice; if first-seen ground truth is obtained, the leaderboard can be recomputed without changing the pipeline (Sect. VI).
    • Attacks and classification: Some other attacks are not included. Family classification is not done; the authors say that would require changing the metrics and threat model, and existing models mostly target detection rather than classification (Sect. VI). Follow-up includes classification over time, more detectors (including dynamic analysis), and an expanded attack set (Sect. VII).

    Experimental coverage

    • The subjects are 30 static detectors trained on the same EMBER 2017 split; the training machine is the CPU/GPU in the paper, and inference timing is on CPU (Sect. IV, V).
    • The temporal evaluation uses 125,921 samples after Speakeasy merging, the 7 families written in the paper, 10 four-month windows, and drops past/future outliers (Sect. IV-A, Figure 3).
    • The robustness evaluation is black-box genetic attacks on 5,000 unpacked EMBER test samples, query cap 500, 10 variants per round, manipulations at the listed levels of FullDOS, Content-shift, and GAMMA, with transfer; certified models are not directly attacked (Sect. IV-C).
    • The inference samples are 500 malicious plus 500 benign programs with sizes within the Speakeasy test-set mean ±0.5 standard deviation (Sect. IV-D). Training cost is recorded in hours in Table III.
    • The paper does not report random seeds, repetitions, or the actual number of queries consumed per attack, only the cap of 500.
  6. Summarize the main content of the paper

    After unifying the four metrics, the hand-crafted-feature EmberGBDT ranks first overall; looking only at accuracy would mislead deployment.

    EXE-Bench ranks AI Windows malware detectors on four metrics under the same setting, rather than comparing only one test-set accuracy.

    • Problem: existing evaluations of static detectors are inconsistent in data, splits, and thresholds, and rarely consider temporal drift, attacks of increasing strength, and endpoint inference speed together, so deployment choices lack a comparable basis.
    • Approach: 749,986 retrieved EMBER programs are split 80/10/10 to train 30 models. P is deployment F1, T is F1 weighted by per-bin sample counts on Speakeasy, R is the normalized area under the adversarial detection rate versus byte budget, I is an exponential penalty on inference time, and S is the average of the four.
    • Results: in Table I, EmberGBDT has S=0.86, P=0.99, T=0.78, R=0.80, I=0.87, and the authors rank it first overall; BBDnn follows with S=0.85. MalConv has the same P of 0.99 but T=0.52 and R=0.18. ResNet18 has R=0.01, AvastStyleConv has T=0.03, and NGramConvRS has the lowest S=0.19.
    • Authors' conclusions: the authors state that accuracy alone is insufficient to guide deployment. They believe that at this paper's data scale, hand-crafted features still preserve both temporal stability and adversarial robustness better than pure-byte networks; de-randomized smoothing is fast at inference, while randomized smoothing is costly due to repeated inference. Image detectors have the lowest R in the table, and the authors do not recommend them for production. The authors list family classification, dynamic-analysis detectors, and more attacks as future work.

Related papers

Read originalIEEE Transactions on Information Forensics and Security 2026