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

解析API调用序列恶意软件分析中的特征工程

Demystifying Feature Engineering in Malware Analysis of API Call Sequences

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);The Bradley Department of Electrical and Computer Engineering, Virginia Tech(弗吉尼亚理工大学布拉德利电气与计算机工程系);National Computer Network Emergency Response Technical Team/Coordination Center of China(国家计算机网络应急技术处理协调中心)

Tianheng Qu, Hongsong Zhu, Limin Sun, Haining Wang, Haiqiang Fei, Zheng He, Zhi Li

AI总结:

本文研究了基于API调用序列的恶意软件分析中特征工程的影响,发现基于知识的特征工程在性能上优于NLP方法,且模型更关注变化较大的特征。

摘要:

机器学习(ML)已被广泛用于分析API调用序列中的恶意软件,这通常需要领域专家从原始数据中提取相关特征。提取的特征在恶意软件分析中起着关键作用。传统特征提取基于人类领域知识,而有一种趋势是使用自然语言处理(NLP)进行自动特征提取。这引发了一个问题:如何基于API调用序列有效选择特征用于恶意软件分析?为回答这个问题,本文对研究特征工程对恶意软件分类的影响进行了全面研究。我们首先在三种模型下进行了性能比较评估,即卷积神经网络(CNN)、长短期记忆(LSTM)和Transformer,分别针对基于知识和NLP的特征工程方法。我们观察到,基于知识的特征工程输入的模型在所有指标上通常优于使用NLP的模型,尤其是在样本较小的情况下。然后我们分析了API调用序列的完整数据特征集,我们的分析发现,模型往往专注于诸如句柄和虚拟地址等特征,这些特征在不同执行中变化较大,且对人类分析师来说难以解释。

英文摘要:

Machine learning (ML) has been widely used to analyze API call sequences in malware analysis, which typically requires the expertise of domain specialists to extract relevant features from raw data. The extracted features play a critical role in malware analysis. Traditional feature extraction is based on human domain knowledge, while there is a trend of using natural language processing (NLP) for automatic feature extraction. This raises a question: how do we effectively select features for malware analysis based on API call sequences? To answer it, this paper presents a comprehensive study of investigating the impact of feature engineering upon malware classification.We first conducted a comparative performance evaluation under three models, Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), and Transformer, with respect to knowledge-based and NLP-based feature engineering methods. We observed that models with knowledge-based feature engineering inputs generally outperform those using NLP-based across all metrics, especially under smaller sample sizes. Then we analyzed a complete set of data features from API call sequences, our analysis reveals that models often focus on features such as handles and virtual addresses, which vary across executions and are difficult for human analysts to interpret.

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

↑