I-MAD: A Novel Interpretable Malware Detector Using Hierarchical Transformer

09/15/2019
by   Miles Q. Li, et al.
0

Malware imposes tremendous threats to computer users nowadays. Since signature-based malware detection methods are neither effective nor efficient to identify new malware, many machine learning-based methods have been proposed. A common disadvantage of existing machine learning methods is that they are not based on understanding the full semantic meaning of assembly code of an executable. They rather use short assembly code fragments, because assembly code is usually too long to be modelled in its entirety. Another disadvantage is that those methods either have inferior performance or bad interpretability. To overcome these challenges, we propose an Interpretable MAware Detector (I-MAD), which achieves state-of-the-art performance on static malware detection with excellent interpretability. It integrates a hierarchical Transformer network that can understand assembly code at the basic block, function, and executable level. It also integrates our novel interpretable feed-forward neural network to provide interpretations for its detection results, by pointing out the impact of each feature with respect to the prediction. Experiment results show that our model significantly outperforms previous static malware detection models and presents meaningful interpretations.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset