Skip to content
naulon
Not checkedNot checked for notices yet.

MalFormer: A Novel Vision Transformer Model for Robust Malware Analysis

In-Woong Jeong, Han-Ju Lee, Gwang-Nam Kim and 1 more

IEEE Access · 2025

doi:10.1109/access.2025.3588232 (opens in a new tab)

We email you when a new notice or a question about this paper appears.

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.

Abstract licence: CC BY-NC-ND

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.