A Two-Stage Selective Deep Learning Framework for Malware Family Classification in Encrypted Network Traffic

Encrypted network traffic limits traditional payload-based inspection and makes malware family attribution more difficult. This study proposes a two-stage selective deep learning framework for malware family classification in encrypted traffic. The framework was evaluated on two datasets: USTC-TFC2016 as a 20-class task containing 10 malware families and 10 benign applications, and MCFP-14-M2 as a 14-class malware classification task. Stage 1 uses a lightweight 1D convolutional neural network for fast screening, while uncertain samples are escalated to Stage 2, where NetMamba performs refined classification. The models were evaluated using accuracy, macro-F1, weighted F1-score, per-class results, inference latency, escalation rate, and edge-oriented deployment measurements. On USTC-TFC2016, the standalone 1D-CNN achieved 99.02% accuracy, while standalone NetMamba achieved 99.51%. At the selected threshold of τ = 0.80, the two-stage framework achieved 99.34% accuracy, 0.9664 macro-F1, and 0.9934 weighted F1-score while escalating only 11.03% of samples and reaching an expected latency of 0.6494 ms. On MCFP-14-M2, the corresponding results were 93.02% accuracy, 0.9311 macro-F1, a 28.71% escalation rate, and 2.25 ms expected latency. The results show that selective escalation improves over the lightweight model and approaches NetMamba-level accuracy while reducing average computational cost.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-10-29
DOI
https://doi.org/10.3390/electronics15215013
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
article

A Two-Stage Selective Deep Learning Framework for Malware Family Classification in Encrypted Network Traffic

Mohammad Alkhatib, Moath Alghanmi
1 links
Electronics
Advanced Malware Detection Techniques
article

A Two-Stage Selective Deep Learning Framework for Malware Family Classification in Encrypted Network Traffic

Mohammad Alkhatib, Moath Alghanmi
article en

Abstract

Encrypted network traffic limits traditional payload-based inspection and makes malware family attribution more difficult. This study proposes a two-stage selective deep learning framework for malware family classification in encrypted traffic. The framework was evaluated on two datasets: USTC-TFC2016 as a 20-class task containing 10 malware families and 10 benign applications, and MCFP-14-M2 as a 14-class malware classification task. Stage 1 uses a lightweight 1D convolutional neural network for fast screening, while uncertain samples are escalated to Stage 2, where NetMamba performs refined classification. The models were evaluated using accuracy, macro-F1, weighted F1-score, per-class results, inference latency, escalation rate, and edge-oriented deployment measurements. On USTC-TFC2016, the standalone 1D-CNN achieved 99.02% accuracy, while standalone NetMamba achieved 99.51%. At the selected threshold of τ = 0.80, the two-stage framework achieved 99.34% accuracy, 0.9664 macro-F1, and 0.9934 weighted F1-score while escalating only 11.03% of samples and reaching an expected latency of 0.6494 ms. On MCFP-14-M2, the corresponding results were 93.02% accuracy, 0.9311 macro-F1, a 28.71% escalation rate, and 2.25 ms expected latency. The results show that selective escalation improves over the lightweight model and approaches NetMamba-level accuracy while reducing average computational cost.

ElectronicsVol. 15(21)
Imam Mohammad ibn Saud Islamic University (SA)
Openalex Percentile: Top 14%
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