Search papers, labs, and topics across Lattice.
This paper introduces MASCOT-Android, a curated dataset and automated collection pipeline specifically designed for Android malware source code, addressing the challenges posed by the scarcity of such data and the high costs of manual review. By leveraging repository-level documentation, the authors demonstrate that a model trained on character-level TF-IDF features from README documents can effectively classify malware repositories with a remarkable accuracy of 96.28% and a low false positive rate of 1.06%. This advancement not only streamlines the process of malware source code discovery but also provides adjustable confidence scores for practical application in real-world scenarios.
Repository documentation alone can achieve over 96% accuracy in identifying Android malware, revolutionizing how we collect and analyze malware source code.
Compared with binaries and decompiled code, malware source code more directly reflects the attackers' original intent. However, the scarcity of source code and the high cost of manual review make such datasets difficult to build and maintain. We propose MASCOT-Android, a curated dataset of Android malware source code and an automated collection framework for scalable malware source code discovery on GitHub. A key finding of our work is that repository-level documentation alone provides a strong signal for malware source code collection. Our model extracts character-level TF-IDF features from 8,772 malware and 25,747 benign README documents and trains a LinearSVC classifier to distinguish malware repositories. This README-only model achieves an accuracy of 96.28\% and an FPR of 1.06\% in local evaluation. In addition, the model outputs confidence scores, allowing users to adjust the decision threshold to balance FPR and coverage, which is practical in real-world malware source code collection.