arrow
Return

Malicious code classification based on opcode sequences and textCNN network

delete2022-06-01
delete20
PRE
AI
Q
Qianhui Wang
Q
Quan Qian *
DOI:10.1016/j.jisa.2022.103151delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
A malicious code classification problem is essential for the network security. Malicious code is the most common means of network attack, which threatens user information and property security. An effective malicious code classification method can improve the efficiency of malicious code detection and the ability to discover new malicious code families. This study proposes a new malicious code classification method to analyze, classify, and detect malicious code. The semantic features of opcode sequences are extracted effectively by introducing the concept of word vectors. Furthermore, the extracted sequence is regarded as a text sentence and then introduced to a text convolutional neural network (textCNN) to identify malicious code families. The experimental results revealed that the model has more than 98% accuracy (with macro-average precision above 98.65% and macro-average recall approximately 98.66%) on the Microsoft Malware Challenge dataset conducted in 2015. Meanwhile, the accuracy of the model on the SOREL-20M dataset is 91.93%. Mostly call instructions are used to call the API, library functions, and other user-defined functions through which the behavior of malicious code is generally realized. Thus, selecting the block that contains call instructions as the key block will reduce the model training speed. After selecting the key block, on average, the number of opcodes on Microsoft Malware Challenge dataset is reduced by 39.07% and has a 98.18% accuracy rate, which is slightly lower than the result obtained by using all opcodes. The number of opcodes on the SOREL20M dataset is reduced by 30.49% on average, and the accuracy is increased to 93.46%. Experimental results show that the proposed algorithm works well and outperforms the results obtained by using byte n-gram representation.
Keywords:
Malicious code classification
Opcode sequences
Word embedding
Text convolutional neural network
Tri-channel visualised malicious code classification based on improved ResNet
err2024-09-16
err5
errOAAI
errLi, Sicong; Wang, Jian; Song, Yafei; Wang, Shuo
errShare
errSave
Control flow-based opcode behavior analysis for Malware detection
err2014-07-01
err70
PREAI
errDing, Yuxin; Dai, Wei; Yan, Shengli; Zhang, Yumei
errShare
errSave
Improving text classification with weighted word embeddings via a multi-channel TextCNN model
err2019-10-01
err157
PREAI
errGuo, Bao; Zhang, Chunxia; Liu, Junmin; Ma, Xiaoyi
errShare
errSave
Deep Learning and Regularization Algorithms for Malicious Code Classification
err2021-01-01
err6
errOAAI
errWang, Haojun; Long, Haixia; Wang, Ailan; Liu, Tianyue; Fu, Haiyan
errShare
errSave
Decompiled APK based malicious code classification
err2020-09-01
err15
PREAI
errMateless, Roni; Rejabek, Daniel; Margalit, Oded; Moskovitch, Robert
errShare
errSave
CNN- and GAN-based classification of malicious code families: A code visualization approach
err2022-10-25
err20
PREAI
errWang, Ziyue; Wang, Weizheng; Yang, Yaoqi; Han, Zhaoyang; Xu, Dequan; Su, Chunhua
errShare
errSave

Journal

Journal of Information Security and Applications cover
Journal of Information Security and Applications
IF:
3.7
Papers:
2.0K
Citations:
5.6K

Organization

Shanghai University cover
Shanghai University
Scholars:
3.7K
Papers: 1.2K
Citations: 2.1W
Cited Papers

Cited Papers

Effects of titanium and tantalum adhesion layers on the properties of sol-gel derived SrBi2Ta2O9 thin films
err2002-08-01
err0
PREAI
errChing-Chich Leu; Hung-Tao Lin; Chen-Ti Hu; Chao-Hsin Chien; Ming-Jui Yang; Ming-Che Yang; Tiao-Yuan Huang
errShare
errSave
Preparation and Characterization of Nitrosylruthenium(III) Complexes Containing Diethylenetriamine
err2006-07-19
err0
PREAI
errRisa Asanuma; Hiroshi Tomizawa; Akio Urushiyama; Eiichi Miki; Kunihiko Mizumachi; Tatsujiro Ishimori
errShare
errSave
SPAM: Signal Processing to Analyze Malware
err2016-03-01
err41
errOAAI
errNataraj, Lakshmanan; Manjunath, B. S.
errShare
errSave
High magnetic moments on binary yttrium-alkali superatoms
err2013-09-01
err0
PREAI
errHenry González-Ramírez; J. Ulises Reveles; Z. Gómez-Sandoval
errShare
errSave
HYDRA: A multimodal deep learning framework for malware classification
err2020-08-01
err80
PREAI
errGibert, Daniel; Mateu, Carles; Planes, Jordi
errShare
errSave
no more