arXiv cs.AI· Abdelrahman Yassin Eljamal, Abdeltawab Hendawi·· 3 天前AI 评分22
MalwareFormer:基于字节序列 Transformer 的恶意软件检测框架
Bytes to Threats: Byte-Sequence Transformer For Malware Detection
AI 导读
论文提出 MalwareFormer,一个基于 Transformer 的字节级恶意软件检测框架,直接处理原始字节,无需领域知识或特征提取,准确率 98.35%、平衡准确率 98.32%、macro-F1 98.32%、假阳性率 1.94%,在所有阈值相关分类指标上均优于基线。
正文 · 原文
Abstract:Existing malware detection approaches heavily rely on handcrafted features derived from static or dynamic analysis of the executable files. These methods require specialized domain expertise, dedicated analysis tools, and time-consuming analysis, which limits their scalability and robustness in the face of the increasing complexity and diversity of modern malware. Consequently, there is a growing interest in approaches that operate directly on raw bytes, which contain rich semantic and structural information. However, capturing long-range dependencies within executable files remains challenging for conventional static and CNN-based methods. This paper presents MalwareFormer, a transformer-based, byte-level malware detection framework that operates directly on raw bytes, without requiring domain knowledge or feature extraction. MalwareFormer achieves an accuracy of 98.35%, a balanced accuracy of 98.32%, a macro-F1 of 98.32%, and a false positive rate of 1.94%, outperforming both baselines across all threshold-dependent classification metrics and demonstrating that transformers provide a powerful and scalable approach for byte-level malware detection.
| Comments: | 7 pages, 4 figures. Accepted and published at IEEE ICAD 2026 |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.18787 [cs.CR] |
| (or arXiv:2610.18787v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2610.18787 arXiv-issued DOI via DataCite (pending registration) |
|
| Journal reference: | 2026 IEEE International Conference on AI and Data Analytics (ICAD), Boston, MA, USA, 2026, pp. 1-7 |
| Related DOI: | https://doi.org/10.1109/ICAD69378.2026.11608884
DOI(s) linking to related resources |
Submission history
From: Abdelrahman Eljamal [view email]
[v1]
Tue, 13 Oct 2026 17:37:17 UTC (532 KB)
来源:arXiv cs.AI · arxiv.org