Symmetry (May 2020)

Malware Classification Using Simhash Encoding and PCA (MCSP)

  • Young-Man Kwon,
  • Jae-Ju An,
  • Myung-Jae Lim,
  • Seongsoo Cho,
  • Won-Mo Gal

DOI
https://doi.org/10.3390/sym12050830
Journal volume & issue
Vol. 12, no. 5
p. 830

Abstract

Read online

Malware is any malicious program that can attack the security of other computer systems for various purposes. The threat of malware has significantly increased in recent years. To protect our computer systems, we need to analyze an executable file to decide whether it is malicious or not. In this paper, we propose two malware classification methods: malware classification using Simhash and PCA (MCSP), and malware classification using Simhash and linear transform (MCSLT). PCA uses the symmetrical covariance matrix. The former method combines Simhash encoding and PCA, and the latter combines Simhash encoding and linear transform layer. To verify the performance of our methods, we compared them with basic malware classification using Simhash and CNN (MCSC) using tanh and relu activation. We used a highly imbalanced dataset with 10,736 samples. As a result, our MCSP method showed the best performance with a maximum accuracy of 98.74% and an average accuracy of 98.59%. It showed an average F1 score of 99.2%. In addition, the MCSLT method showed better performance than MCSC in accuracy and F1 score.

Keywords