Multi-HMM Embeddings for Dynamic Malware Classification Using API Call Sequences
En Naji El Bouchtioui, Asmae Bentaleb, Jaafar Abouchabaka
Key points
From the paper's conclusion- These results indicate that the Multi-HMM representation is effective on both datasets.
Abstract
Classifying malware into families and categories remains difficult because modern threats are complex and polymorphic. This study couples Hidden Markov Model (HMM)-based representations of Application Programming Interface (API) call sequences with supervised learning. A class-specific HMM is trained for each malware class, and four descriptors (state occupancy, transition, observation compatibility, and likelihood), extracted from the posterior quantities of every HMM, are concatenated into a fixed-length Multi-HMM embedding, classified with Random Forest (RF), Support Vector Machine (SVM), and k-Nearest Neighbors (k-NN). The number of hidden states is fixed to K=4 (selecting training data only does not change the conclusions). On the benchmark dataset of Aggarwal and Di Troia, RF reaches 91.1% (family) and 69.2% (category) accuracy on the main split, and about 90% and 70% averaged over 10 splits. The class-specific construction improves accuracy by about 6 percentage points over a single pooled HMM and by between 11.8 and 17.7 points over a maximum-likelihood HMM classifier. On a second, larger public dataset (APIMDS), without re-tuning, the latter advantage holds, while the gain over a pooled HMM is smaller than on the first dataset. These results indicate that the Multi-HMM representation is effective on both datasets.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- How Much Have We Really Progressed? A Leakage-Free Re-Evaluation of API Call-Based Malware Family Classification on Mal-API-2019 and APIMDSComputers · 2026
- A dynamic malware detection method based on multi-modal featuresCybersecurity · 2026
- Exact Identity Aware Evaluation of Static Malware Images and API Sequences Using Multi Scale Features and Confidence Aware Selective PredictionInternational journal of intelligent engineering and systems · 2026
- Ensemble Learning for Android Malware Detection: Stability Across Malware Categories and Feature RepresentationsApplied Sciences · 2026
- Multimodal generative cyber forensics network for unified malware intelligence synthesis through temporal evidence alignment, neuro-symbolic hypergraph reasoning, and cognitive threat attributionsScientific Reports · 2026
- What Malware Actually Does: An Empirical Analysis of Post-Infection Behavior Across Malware FamiliesarXiv · 2026