MalVis: A Large-Scale Image-Based Framework and Dataset for Advancing Android Malware Classification

📅 2025-05-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the challenges of strong obfuscation in Android malware, insufficient feature representation, and poor interpretability in existing visualization-based detection methods, this paper proposes an entropy-enhanced N-gram joint imaging framework: DEX bytecode is converted into discriminative grayscale images that jointly encode local N-gram patterns and global entropy distributions to improve malicious structural awareness. We construct MalVis—the largest open-source imaging dataset for Android malware analysis to date—comprising 1.3 million samples. Additionally, we design eight ensemble strategies and a targeted undersampling scheme tailored for multi-class imbalance. Evaluated on backbone networks including MobileNet-V2, our method achieves 95.19% accuracy, 90.81% F1-score, and 98.06% ROC-AUC, significantly outperforming state-of-the-art visualization-based approaches. Key contributions include an interpretable joint visual representation and the establishment of a large-scale, standardized benchmark dataset.

Technology Category

Application Category

📝 Abstract
As technology advances, Android malware continues to pose significant threats to devices and sensitive data. The open-source nature of the Android OS and the availability of its SDK contribute to this rapid growth. Traditional malware detection techniques, such as signature-based, static, and dynamic analysis, struggle to detect obfuscated threats that use encryption, packing, or compression. While deep learning (DL)-based visualization methods have been proposed, they often fail to highlight the critical malicious features effectively. This research introduces MalVis, a unified visualization framework that integrates entropy and N-gram analysis to emphasize structural and anomalous patterns in malware bytecode. MalVis addresses key limitations of prior methods, including insufficient feature representation, poor interpretability, and limited data accessibility. The framework leverages a newly introduced large-scale dataset, the MalVis dataset, containing over 1.3 million visual samples across nine malware classes and one benign class. We evaluate MalVis against state-of-the-art visualization techniques using leading CNN models: MobileNet-V2, DenseNet201, ResNet50, and Inception-V3. To enhance performance and reduce overfitting, we implement eight ensemble learning strategies. Additionally, an undersampling technique mitigates class imbalance in the multiclass setting. MalVis achieves strong results: 95.19% accuracy, 90.81% F1-score, 92.58% precision, 89.10% recall, 87.58% MCC, and 98.06% ROC-AUC. These findings demonstrate the effectiveness of MalVis in enabling accurate, interpretable malware detection and providing a valuable resource for security research and applications.
Problem

Research questions and friction points this paper is trying to address.

Detecting obfuscated Android malware using encryption or packing
Improving feature representation and interpretability in malware visualization
Addressing class imbalance and data limitations in malware datasets
Innovation

Methods, ideas, or system contributions that make the work stand out.

Integrates entropy and N-gram analysis
Leverages large-scale MalVis dataset
Uses ensemble learning strategies
🔎 Similar Papers
No similar papers found.