arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.11235cs.CRcs.LG
收藏

基于API调用分析的可解释机器学习在勒索病毒家族检测和分类中的应用

Application of Explainable Machine Learning in Detecting and Classifying Ransomware Families Based on API Call Analysis

North Carolina A&T State University(北卡罗来纳农工州立大学)

Rawshan Ara Mowri, Madhuri Siddula, Kaushik Roy

摘要:

最近几天,勒索软件已成为主要的全球威胁之一。勒索软件攻击和新的勒索软件变体的惊人增长率促使研究人员不断研究勒索软件的显著特征并改进其检测策略。应用程序编程接口(API)是一个程序与另一个程序协作的方式; API调用是它们通信的媒介。勒索软件使用这种策略与操作系统进行交互,并以不同的顺序进行大量调用,要求采取行动。这项研究工作利用不同API调用的频率来检测和分类勒索软件家族。首先,开发了一个Web Crawler来自动收集15个不同勒索软件家族的Windows可移植可执行文件(PE)。通过提取68个API调用的不同频率,我们在两阶段特征工程过程的第一阶段开发了我们的数据集。在特征工程过程的第二阶段中选择最重要的特征之后,我们部署了六种监督机器学习模型:朴素贝叶斯、逻辑回归、随机森林、随机梯度下降、K-最近邻和支持向量机。然后,对所有分类器的性能进行比较,以选择最佳模型。结果表明,逻辑回归可以有效地将勒索软件分类到相应的家族中,总体准确率为99.15%。最后,我们没有依赖于机器学习模型的“黑箱”特性,而是使用“SHapley加法解释”或SHAP值对我们的最佳性能模型进行事后分析,以确定模型预测的透明度和可信度。

英文摘要:

Ransomware has appeared as one of the major global threats in recent days. The alarming increasing rate of ransomware attacks and new ransomware variants intrigue the researchers to constantly examine the distinguishing traits of ransomware and refine their detection strategies. Application Programming Interface (API) is a way for one program to collaborate with another; API calls are the medium by which they communicate. Ransomware uses this strategy to interact with the OS and makes a significantly higher number of calls in different sequences to ask for taking action. This research work utilizes the frequencies of different API calls to detect and classify ransomware families. First, a Web-Crawler is developed to automate collecting the Windows Portable Executable (PE) files of 15 different ransomware families. By extracting different frequencies of 68 API calls, we develop our dataset in the first phase of the two-phase feature engineering process. After selecting the most significant features in the second phase of the feature engineering process, we deploy six Supervised Machine Learning models: Na"ive Bayes, Logistic Regression, Random Forest, Stochastic Gradient Descent, K-Nearest Neighbor, and Support Vector Machine. Then, the performances of all the classifiers are compared to select the best model. The results reveal that Logistic Regression can efficiently classify ransomware into their corresponding families securing 99.15% overall accuracy. Finally, instead of relying on the 'Black box' characteristic of the Machine Learning models, we present the post-hoc analysis of our best-performing model using 'SHapley Additive exPlanations' or SHAP values to ascertain the transparency and trustworthiness of the model's prediction.

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

↑