一种用于不平衡多类恶意软件分类的预训练Transformer模型
An Ensemble of Pre-trained Transformer Models For Imbalanced Multiclass Malware Classification
摘要:
恶意软件家族的分类对于全面了解它们如何感染设备,计算机或系统至关重要。因此,恶意软件识别使安全研究人员和事件响应者能够采取预防措施来防范恶意软件并加速缓解。由恶意软件进行的API调用序列是机器和深度学习模型广泛使用的用于恶意软件分类的特征,因为这些序列表示恶意软件的行为。然而,传统的机器和深度学习模型仍然无法捕获API调用之间的序列关系。另一方面,基于transformer的模型将序列作为一个整体进行处理,并由于多头注意力机制和位置嵌入而学习API调用之间的关系。我们的实验表明,具有一个Transformer块层的Transformer模型超越了广泛使用的基础架构LSTM。此外,BERT或CANINE,预训练的Transformer模型,在根据评估指标,F1分数和AUC分数对高度不平衡的恶意软件家族进行分类方面表现出色。此外,所提出的基于装袋的随机Transformer森林(RTF),BERT或CANINE的集成,已经达到了四个数据集中的三个的最先进的评估分数,特别是最先进的F1分数为0.6149的常用基准数据集之一。
英文摘要:
Classification of malware families is crucial for a comprehensive understanding of how they can infect devices, computers, or systems. Thus, malware identification enables security researchers and incident responders to take precautions against malware and accelerate mitigation. API call sequences made by malware are widely utilized features by machine and deep learning models for malware classification as these sequences represent the behavior of malware. However, traditional machine and deep learning models remain incapable of capturing sequence relationships between API calls. On the other hand, the transformer-based models process sequences as a whole and learn relationships between API calls due to multi-head attention mechanisms and positional embeddings. Our experiments demonstrate that the transformer model with one transformer block layer surpassed the widely used base architecture, LSTM. Moreover, BERT or CANINE, pre-trained transformer models, outperformed in classifying highly imbalanced malware families according to evaluation metrics, F1-score, and AUC score. Furthermore, the proposed bagging-based random transformer forest (RTF), an ensemble of BERT or CANINE, has reached the state-of-the-art evaluation scores on three out of four datasets, particularly state-of-the-art F1-score of 0.6149 on one of the commonly used benchmark dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。