Answers are grounded in this paper and cite their sources.
Transformer‐based traffic analysis models can capture long‐range byte dependencies, but their quadratic attention cost limits their use in latency‐sensitive malicious traffic detection. This paper proposes a lightweight malicious traffic detection framework based on a hybrid CNN‐Mamba architecture with statistical feature enhancement. The method uses a depthwise separable 1D‐CNN front end to strengthen local byte‐pattern extraction and stacked Mamba blocks to model long‐range sequence dependencies with linear‐time sequence processing. In addition to byte‐level representations, packet length (PL) and inter‐arrival time (IAT) sequences are extracted as low‐cost flow‐level statistical metadata and fused with the semantic representation produced by the Mamba backbone. Compared with prior Mamba‐based traffic models, the contribution of this work is not the first application of Mamba to network traffic, but a task‐specific lightweight extension that investigates whether local convolutional enhancement and PL/IAT metadata can improve the accuracy‐efficiency trade‐off for malicious traffic detection. On the USTC‐TFC2016 benchmark, the task is formulated as fine‐grained multi‐class traffic recognition over both normal application classes and malware‐family classes. Under this setting, the proposed model achieves a macro F 1‐score of 99.03%, a macro false positive rate of 0.0717%, and a single‐flow model‐forward latency of 0.3586 ms after preprocessing. Additional validation on CIC‐IDS‐2017, CICIoT2023, and CICAPT‐IIoT2024 further evaluates the model under broader intrusion, IoT, and APT/IIoT traffic‐security settings. Header‐sanitization analysis, expanded baseline comparisons, ablation studies, and five‐seed stability experiments indicate that the improvement is obtained without relying on identity‐related header shortcuts and with only a small increase in model size and model‐forward latency.
No takes yet. Share an insight, caveat, or question.
Pan et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: