N-gram opcode frequency based malware detection using CNN algorithm
摘要
As the Internet develops and the utilization rate of computers increases, the threats posed by malware keep increasing. As the number of newly developed malware is rapidly increasing, the demand for an automatic system for analyzing large volumes of malware also grows together. In this paper, we introduce a technique to automatically analyze malware targeting the Windows environment using a deep learning algorithm. Our proposed method employs convolutional neural network algorithm, which is highly effective in image classification, to detect malware represented as images. To reflect the semantic information of malware for detection, our method uses the opcode frequency data of binary files to generate images while transforming frequency data into spatial data. After calculating the correlation degree among opcodes of malware samples, our method performs clustering using the correlation values as the distances between opcodes. The opcodes in the same cluster are located in a close region in each image, and a CNN model analyzes the generated image. In our evaluation, we conducted the experiments using a large dataset consisting of 10,000 malicious files and 10,000 benign files, and our proposed method was verified to achieve 91% accuracy rate in detecting malicious files.