Abstract
Android malware detection faces significant challenges due to the high dimensionality of feature sets and the emergence of zero-day threats. This paper proposes Subspace based Restricted Boltzmann Machines (SRBM), an unsupervised feature learning approach that clusters features into subspaces before training. By employing a "divide and conquer" strategy, SRBM reduces computational complexity and improves detection accuracy for unknown malware. Experimental results on benchmarks like OmniDroid and CIC2020 demonstrate that SRBM significantly outperforms standard RBMs and traditional dimensionality reduction techniques.
Introduction: Addressing the Dimensionality and Zero-Day Challenges
The rapid proliferation of Android malware necessitates robust detection mechanisms. Researchers typically extract a wide array of features, ranging from requested permissions to complex API call sequences, to characterize application behavior. However, this approach introduces two primary difficulties:
- The Curse of Dimensionality: Datasets often contain thousands of features, leading to slow training times and the inclusion of redundant information.
- The Zero-Day Gap: Supervised models rely on labeled data, making them less effective against novel, unlabeled "zero-day" threats.
While unsupervised methods like Restricted Boltzmann Machines (RBMs) can identify patterns without labels, they often struggle with the parameter explosion associated with high-dimensional Android data.
Methodology: Subspace based Restricted Boltzmann Machines (SRBM)
The proposed SRBM algorithm introduces a modular approach to feature learning. Instead of processing the entire feature set through a single large network, the system follows a three-step process:
- Feature Subspace Clustering: Features are grouped into related subspaces using K-means clustering.
- Parallel RBM Training: A dedicated, smaller RBM is trained for each subspace. This significantly reduces the total number of parameters compared to a global model.
- Feature Fusion: The hidden layer outputs from all subspace RBMs are concatenated to form a compact, low-dimensional representation.
This architecture allows the model to capture intricate non-linear relationships within specific feature groups more efficiently.
Experimental Setup and Datasets
The SRBM method was evaluated using three distinct benchmarks:
- OmniDroid: Includes 22,000 samples with both static (APIs, Permissions) and dynamic features.
- CIC2019: Focuses on permissions and intent actions across 42 malware families.
- CIC2020: Specifically designed to test detection of zero-day malware, providing a rigorous test for unsupervised generalization.
Key Insights
- Computational Efficiency: Mathematical analysis and empirical results confirm that breaking the feature space into subspaces drastically reduces the parameter count, leading to faster training.
- Stability: Unlike methods like Spectral Clustering, SRBM maintains stable performance across varying numbers of learned features.
- Robustness to Unknown Threats: By learning the underlying structure of the data rather than memorizing labels, SRBM proves superior in identifying zero-day malware compared to PCA or standard RBMs.
Results and Performance Analysis
SRBM consistently outperformed baseline methods (RBM, SAE, and PCA):
- General Performance: On average, SRBM improved Normalized Mutual Information (NMI) by 6.2%, Accuracy (ACC) by 6.9%, and F-score by 15.4% over standard RBMs.
- Zero-Day Detection: On the CIC2020 dataset, SRBM achieved an F-score of 0.843, compared to just 0.260 for the standard RBM.
- Efficiency: The time required for feature learning was significantly lower for SRBM, validating the theoretical advantages of the subspace approach.
Conclusion and Future Directions
SRBM offers a promising solution for high-dimensional, unsupervised malware detection. Future research will focus on multimodal learning, integrating static, dynamic, and network-level features into a unified SRBM framework, and optimizing the clustering algorithms used for subspace formation.
Summary updated