mlsanityData to 14 Oct 2026

Bytes to Threats: Byte-Sequence Transformer For Malware Detection

arXiv 2610.18787 ↗First posted 13 Oct 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 34 references that are in the map. First posted on arXiv 13 Oct 2026.

Builds on

11 of 34 references.

References · 11

  1. 2017Attention Is All You Needcited by 60,361
  2. 2017Malware Detection by Eating a Whole EXEcited by 115
  3. 2020Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detectioncited by 24
  4. 2023Bytes Are All You Need: Transformers Operating Directly On File Bytescited by 18
  5. 2018Deep learning at the shallow end: Malware classification for non-domain expertscited by 11
  6. 2019I-MAD: Interpretable Malware Detector Using Galaxy Transformercited by 8
  7. 2021Reliable Detection of Compressed and Encrypted Datacited by 8
  8. 2023Nebula: Self-Attention for Dynamic Malware Analysiscited by 8
  9. 2022Self-Supervised Vision Transformers for Malware Detectioncited by 6
  10. 2024AdaTrans: Feature-wise and Sample-wise Adaptive Transfer Learning for High-dimensional Regressioncited by 3
  11. 2024SoK: Leveraging Transformers for Malware Analysiscited by 3

Built on by

Not cited yet.