Using Convolutional Neural Networks for Classification of Malware represented as Images

27 Aug 2018  Â·  Daniel Gibert, Carles Mateu, Jordi Planes & Ramon Vicens ·

The number of malicious files detected every year are counted by millions. One of the main reasons for these high volumes of different files is the fact that, in order to evade detection, malware authors add mutation. This means that malicious files belonging to the same family, with the same malicious behavior, are constantly modified or obfuscated using several techniques, in such a way that they look like different files. In order to be effective in analyzing and classifying such large amounts of files, we need to be able to categorize them into groups and identify their respective families on the basis of their behavior. In this paper, malicious software is visualized as gray scale images since its ability to capture minor changes while retaining the global structure helps to detect variations. Motivated by the visual similarity between malware samples of the same family, we propose a file agnostic deep learning approach for malware categorization to efficiently group malicious software into families based on a set of discriminant patterns extracted from their visualization as images. The suitability of our approach is evaluated against two benchmarks: the MalImg dataset and the Microsoft Malware Classification Challenge dataset. Experimental comparison demonstrates its superior performance with respect to state-of-the-art techniques.

PDF

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Malware Classification Malimg Dataset Gray-scale IMG CNN Accuracy (10-fold) 0.9848 # 1
Macro F1 (10-fold) 0.9580 # 1
Malware Classification Microsoft Malware Classification Challenge LBP features + XGBoost Accuracy (5-fold) 0.951 # 5
Malware Classification Microsoft Malware Classification Challenge Haralick features + XGBoost Accuracy (5-fold) 0.9550 # 4
Malware Classification Microsoft Malware Classification Challenge Gray-scale IMG CNN Accuracy (10-fold) 0.9750 # 16
LogLoss 0.184483 # 11
Macro F1 (10-fold) 0.9400 # 15
Accuracy (5-fold) 0.973 # 3

Methods


No methods listed for this paper. Add relevant methods here