How Much Have We Really Progressed? A Leakage-Free Re-Evaluation of API Call-Based Malware Family Classification on Mal-API-2019 and APIMDS

Dynamic application programming interface (API) call sequences are widely used for malware family classification, yet the multiclass accuracies published on the Mal-API-2019 benchmark range from 46.6% to 99.6%, under protocols that are rarely comparable. We present a leakage-free re-evaluation on Mal-API-2019 (7107 sequences, eight families) and APIMDS (16,942 sequences, six classes), with shared partitions, five-fold cross-validation, macro-F1 and McNemar tests. An unweighted ensemble of four learners on call frequencies, TF-IDF n-grams and Skip-gram embeddings reaches 70.0% accuracy and 71.0% macro-F1 on Mal-API-2019, significantly outperforming a faithful re-implementation of the state-of-the-art EPCP ensemble (66.7% and 67.6%), and matches EPCP on APIMDS (91.6% and 79.9%). A single gradient-boosting model on n-grams is statistically indistinguishable from the ensemble, and with fixed configurations, deep sequential models remain behind on Mal-API-2019. The highest published results rely on one-vs-rest or binary metrics, or on protocols that can leak test information or are not fully specified. Duplicated sequences inflate all scores: on Mal-API-2019, about 12% of each test split is seen during training, adding 1 to 3 points without changing the ranking; on APIMDS, 45.4% of the samples are duplicates, and counting each distinct behaviour once lowers the scores to 87.8% and 74.0%. N-gram models are also robust to inserted blocks of junk calls. Our partitions and code will be released upon publication.

Authors

Institutions

Publication Details

Journal
Computers
Published
2026-11-08
DOI
https://doi.org/10.3390/computers15110814
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

How Much Have We Really Progressed? A Leakage-Free Re-Evaluation of API Call-Based Malware Family Classification on Mal-API-2019 and APIMDS

Asmae Bentaleb, Jâafar Abouchabaka, En Naji El Bouchtioui
Computers
Advanced Malware Detection Techniques
article

How Much Have We Really Progressed? A Leakage-Free Re-Evaluation of API Call-Based Malware Family Classification on Mal-API-2019 and APIMDS

Asmae Bentaleb, Jâafar Abouchabaka, En Naji El Bouchtioui
article en

Abstract

Dynamic application programming interface (API) call sequences are widely used for malware family classification, yet the multiclass accuracies published on the Mal-API-2019 benchmark range from 46.6% to 99.6%, under protocols that are rarely comparable. We present a leakage-free re-evaluation on Mal-API-2019 (7107 sequences, eight families) and APIMDS (16,942 sequences, six classes), with shared partitions, five-fold cross-validation, macro-F1 and McNemar tests. An unweighted ensemble of four learners on call frequencies, TF-IDF n-grams and Skip-gram embeddings reaches 70.0% accuracy and 71.0% macro-F1 on Mal-API-2019, significantly outperforming a faithful re-implementation of the state-of-the-art EPCP ensemble (66.7% and 67.6%), and matches EPCP on APIMDS (91.6% and 79.9%). A single gradient-boosting model on n-grams is statistically indistinguishable from the ensemble, and with fixed configurations, deep sequential models remain behind on Mal-API-2019. The highest published results rely on one-vs-rest or binary metrics, or on protocols that can leak test information or are not fully specified. Duplicated sequences inflate all scores: on Mal-API-2019, about 12% of each test split is seen during training, adding 1 to 3 points without changing the ranking; on APIMDS, 45.4% of the samples are duplicates, and counting each distinct behaviour once lowers the scores to 87.8% and 74.0%. N-gram models are also robust to inserted blocks of junk calls. Our partitions and code will be released upon publication.

ComputersVol. 15(11)
Université Ibn-Tofail (MA)
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon