MalFormer: A Novel Vision Transformer Model for Robust Malware Analysis

As traditional signature-based malware analysis struggles to detect malware variants, image-based malware analysis has been researched to overcome these limitations. Especially, Vision Transformer (ViT)-based malware analysis has achieved high performance by capturing global features of malware images. However, previous ViT-based methods struggle to effectively capture both local and global features of images and exhibit limited generalization performance. In this paper, we propose a novel malware analysis method that introduces MalFormer, which employs the Cross-Scale Embedding Layer, Long-Short Distance Attention, and Adaptive Token Masking. Also, we introduce Sharpness Aware Minimization (SAM) to optimize the training process of MalFormer. The proposed method enhances sensitivity to key features while maintaining a well-balanced integration of local and global features. From the experimental results on various datasets, we show that the proposed method outperforms state-of-the-art ViT-based methods.We also show that the proposed method provides strong robustness against obfuscation techniques, achieving high performance on obfuscated samples.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3588232
Citations
1
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
1.49

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MalFormer: A Novel Vision Transformer Model for Robust Malware Analysis

Seok-Hwan Choi, H.W. Lee, Gwang-Nam Kim, In-Woong Jeong
1 citations
IEEE Access
Advanced Malware Detection Techniques
1.49
article

MalFormer: A Novel Vision Transformer Model for Robust Malware Analysis

Seok-Hwan Choi, H.W. Lee, Gwang-Nam Kim, In-Woong Jeong
article en
1 citations

Abstract

As traditional signature-based malware analysis struggles to detect malware variants, image-based malware analysis has been researched to overcome these limitations. Especially, Vision Transformer (ViT)-based malware analysis has achieved high performance by capturing global features of malware images. However, previous ViT-based methods struggle to effectively capture both local and global features of images and exhibit limited generalization performance. In this paper, we propose a novel malware analysis method that introduces MalFormer, which employs the Cross-Scale Embedding Layer, Long-Short Distance Attention, and Adaptive Token Masking. Also, we introduce Sharpness Aware Minimization (SAM) to optimize the training process of MalFormer. The proposed method enhances sensitivity to key features while maintaining a well-balanced integration of local and global features. From the experimental results on various datasets, we show that the proposed method outperforms state-of-the-art ViT-based methods.We also show that the proposed method provides strong robustness against obfuscation techniques, achieving high performance on obfuscated samples.

IEEE AccessVol. 13
Yonsei University (KR)
Ministry of Science and ICT, South Korea
Decent work and economic growth
Openalex Percentile: Top 17%
Advanced Malware Detection Techniques
1.49
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.