arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.03218cs.CR
收藏

域特定特征在恶意软件检测中的作用:macOS案例研究

The Role of Domain-Specific Features in Malware Detection: A macOS Case Study

EURECOM(欧洲通信研究所);SAP(sap公司);GenDigital

Biagio Montaruli, Andrea Oliveri, Savino Dambra, Davide Balzarotti

AI总结:

针对macOS恶意软件检测问题,首次引入域特定静态特征(如嵌入式证书、权限、持久化技术和关键系统API),训练机器学习检测器,在41,129个样本上达到98.50%的检测率,优于现有方法16%,并在9,000个新样本上验证了泛化能力(99.50%),特征移除导致性能下降15.92%。

摘要:

尽管macOS在终端用户和企业系统中的普及度日益增长,但恶意软件研究主要集中于Windows和Android操作系统,macOS恶意软件检测问题相对未被充分探索。实际上,操作系统的特异性以及Mach-O文件格式的独特特征在未知样本分类中可发挥关键作用,大幅提高检测率。本文首次在文献中采用新的域特定特征,即macOS二进制文件特有的静态特征,如嵌入式证书、权限、持久化技术和关键系统API,来训练机器学习恶意软件检测器。我们在包含41,129个样本(11,413个良性、29,716个恶意可执行文件)的新数据集上进行了全面的实验评估,结果表明我们的解决方案达到了最先进的检测性能(98.50%),优于所有现有方法,检测率平均提升16%。我们还深入分析了各个特征的重要性,显示检测器有效利用了新的域特定特征。然后,为了评估检测器随时间推移的泛化能力,我们在包含9,000个新鲜macOS可执行文件的新数据集上进行了真实世界评估。结果表明:(i)检测器保持非常高的检测率(99.50%),(ii)优于现有最先进方法50%,(iii)域特定特征对于泛化到新型恶意软件样本至关重要,因为移除这些特征会导致检测性能下降15.92%。最后,我们还将数据集发布给研究社区。

英文摘要:

Despite the growing popularity of macOS among end users and enterprise systems, malware research has primarily focused on Windows and Android operating systems, leaving the problem of macOS malware detection relatively unexplored. Indeed, the specificity of the operating system and the unique characteristics of the Mach-O file format can play a fundamental role in the classification of unknown samples, drastically increasing the detection rate. In this work, for the first time in the literature, we employ new domain-specific features, i.e., static features specific to macOS binaries, such as embedded certificates, entitlements, persistence techniques and key system APIs, to train a machine learning malware detector. We perform a comprehensive experimental evaluation on a novel dataset of 41,129 samples, comprising 11,413 benign and 29,716 malicious executables, and demonstrate that our solution achieves state-of-the-art detection performance (98.50%), outperforming all existing approaches, with an average improvement of 16% in terms of detection rate. We also provide an in-depth analysis of the importance of the individual features, showing that our detector effectively leverages the new domain-specific features. Then, in order to evaluate the generalization capabilities of our detector over time, we perform a real-world evaluation on a new dataset of 9,000 fresh macOS executables. The results show that (i) our detector maintains a very high detection rate (99.50%), (ii) outperforms the state-of-the-art by 50%, and (iii) the domain-specific features are crucial for generalizing to novel malware samples, as their removal leads to a 15.92% drop in detection performance. Finally, we also release our dataset to the research community.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑