MASCOT-Android: 一个用于安卓恶意软件源代码样本的精选数据集与自动收集管道
MASCOT-Android: A Curated Dataset and Automated Collection Pipeline for Android Malware Source Code Specimens
AI总结:
提出MASCOT-Android数据集和自动收集框架,利用仓库级文档(README)训练LinearSVC分类器,以96.28%准确率和1.06%假阳性率从GitHub发现恶意软件源代码。
摘要:
与二进制文件和反编译代码相比,恶意软件源代码更直接地反映了攻击者的原始意图。然而,源代码的稀缺性和人工审查的高成本使得此类数据集难以构建和维护。我们提出了MASCOT-Android,一个精选的安卓恶意软件源代码数据集,以及一个用于在GitHub上可扩展地发现恶意软件源代码的自动收集框架。我们工作的一个关键发现是,仅仓库级文档就为恶意软件源代码收集提供了强信号。我们的模型从8,772个恶意软件和25,747个良性README文档中提取字符级TF-IDF特征,并训练一个LinearSVC分类器来区分恶意软件仓库。这个仅使用README的模型在本地评估中达到了96.28%的准确率和1.06%的假阳性率。此外,模型输出置信度分数,允许用户调整决策阈值以平衡假阳性率和覆盖率,这在现实世界的恶意软件源代码收集中是实用的。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。