arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.02548cs.CRcs.AIcs.LG
收藏

基于操作码和API调用的CNN-LSTM与迁移学习模型的恶意软件分类

CNN-LSTM and Transfer Learning Models for Malware Classification based on Opcodes and API Calls

University of Colorado Colorado Springs(科罗拉多大学科罗拉多斯普林斯分校)

Ahmed Bensaoud, Jugal Kalita

AI总结:

本文提出基于API调用和操作码的CNN-LSTM恶意软件分类模型,结合N-gram特征,在97万余样本上以8-gram达到99.91%准确率,并验证多种迁移学习架构,取得领先性能。

摘要:

本文提出了一种基于应用程序编程接口(API)调用和操作码的新型恶意软件分类系统模型,以提高分类准确率。该系统采用卷积神经网络(CNN)与长短期记忆网络(LSTM)相结合的新颖设计。我们从Windows恶意软件样本中提取操作码序列和API调用用于分类,并将这些特征转换为N-gram(N=2、3和10)序列。我们在包含9,749,57个样本的数据集上的实验表明,使用8-gram序列可获得99.91%的高准确率。我们的方法在使用多种近期深度学习架构时显著提升了恶意软件分类性能,达到了最先进水平。具体而言,我们实验了ConvNeXt-T、ConvNeXt-S、RegNetY-4GF、RegNetY-8GF、RegNetY-12GF、EfficientNetV2、Sequencer2D-L、Swin-T、ViT-G/14、ViT-Ti、ViT-S、VIT-B、VIT-L和MaxViT-B。在这些架构中,Swin-T和Sequencer2D-L架构分别取得了99.82%和99.70%的高准确率,与我们的CNN-LSTM架构相当,但未超过它。

英文摘要:

In this paper, we propose a novel model for a malware classification system based on Application Programming Interface (API) calls and opcodes, to improve classification accuracy. This system uses a novel design of combined Convolutional Neural Network and Long Short-Term Memory. We extract opcode sequences and API Calls from Windows malware samples for classification. We transform these features into N-grams (N = 2, 3, and 10)-gram sequences. Our experiments on a dataset of 9,749,57 samples produce high accuracy of 99.91% using the 8-gram sequences. Our method significantly improves the malware classification performance when using a wide range of recent deep learning architectures, leading to state-of-the-art performance. In particular, we experiment with ConvNeXt-T, ConvNeXt-S, RegNetY-4GF, RegNetY-8GF, RegNetY-12GF, EfficientNetV2, Sequencer2D-L, Swin-T, ViT-G/14, ViT-Ti, ViT-S, VIT-B, VIT-L, and MaxViT-B. Among these architectures, Swin-T and Sequencer2D-L architectures achieved high accuracies of 99.82% and 99.70%, respectively, comparable to our CNN-LSTM architecture although not surpassing it.

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

↑