Malformer: A Multi-Modal Malware Detector Using Transformers
Samuel Howard, Kshitiz Aryal, Mahmoud Abdelsalam, Maanak Gupta, Andrew Wheeler, Pradip Kunwar
Key points
From the paper's conclusion- We demonstrate that multimodal transformer fusion can enhance the performance of Windows malware detectors over that of unimodal and bimodal detectors.
Abstract
Traditional malware detection systems that rely on a single representation of malware often fail to identify novel threats. These representations of malware binaries, also known as modalities, do not provide the models with sufficient information to discriminate among all samples. Additionally, individual representations introduce new failure modes, with some modality extraction being dependent upon the success of disassembling. Past works have integrated either additional modalities or more discriminative representations for classification. In this work, we present Malformer, a quadrimodal malware detection model that incorporates text, image, graph, and audio representations of Windows executables. We demonstrate that multimodal transformer fusion can enhance the performance of Windows malware detectors over that of unimodal and bimodal detectors. Malformer employs a combination of two RoBERTa encoders paired with a modified Vision Transformer for image data, WavLM for audio data, and an adaptive loss-weighting scheme to fuse modality-specific representations. Evaluated on a dataset of 201,549 binary samples, Malformer achieved 98.3% accuracy and an F1 score of 0.9833, outperforming both unimodal baselines and bimodal detectors by 4.6-17.6 percentage points. Malformer demonstrates that multimodal fusion provides a promising foundation for countering the growing scale of malware threats, equipping defenders with generalized and resilient detection capabilities.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Phantomware: a Data Augmentation Framework for the Detection of Emerging Malware CampaignsarXiv · 2026
- Breaking Windows Malware Detection: A Comprehensive Evaluation of Problem-Space Adversarial RobustnessarXiv · 2026
- A dynamic malware detection method based on multi-modal featuresCybersecurity · 2026
- Enhancing Malware Family Classification Through Fully Fine‐Tuned Vision Transformers and Attention Map InterpretabilityApplied Computational Intelligence and Soft Computing · 2026
- ByteScope: Detection-Aware Learning for Robust Visual Malware Recognition Under Leakage-Audited, Open-World EvaluationMachine Learning and Knowledge Extraction · 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