Deep Hashing for Malware Family Classification and New Malware Identification
- 12 January 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 11 (16) , 26837-26851
Abstract
Although numerous state-of-the-art deep neural networks have recently been proposed for malware classification, effectively detecting malware on a large-scale sample set and identifying zero-day or new malware variants still pose significant challenges. To address this issue, a deep hashing-based malware classification model is designed for malware identification, including two parts: 1) ResNet50-based deep hashing for malware retrieval and 2) voting-based malware classification. Specifically, multiple deep hashing models are developed by extracting the high-layer outputs (feature maps) from the ResNet50 trained with malware gray-scale images in the first part. In this case, to maximize the Hamming distance or dissimilarity among hash values computed with malware samples under different families, a ResNet50-based deep polarized network (RNDPN) is designed to return $Top\;K$ similar samples. In the second part, we propose a majority-voting and a Hamming-distance-based voting for malware identification according to the retrieved results. The experiment results show that RNDPN outperforms the other six deep hashing models with 97.54% mean average precision (mAP) for malware retrieval when only 40 similar examples are retrieved, where the best results for all deep hashing models are observed with 48-bits hashing code length. Furthermore, the Hamming distance-based voting method implemented with RNDPN demonstrates unparalleled performance in malware classification compared to other models. Notably, it achieves exceptional results in two key aspects: 1) malware classification accuracy with an impressive accuracy rate of 96.5% and 2) the identification of new or zero-day malware with a commendable accuracy of 85.7%.Keywords
Funding Information
- Applied Basic Research Foundation of Yunnan Province (202201AT070156, 202201AT070203, 202301AT070194, 202301AT070422)
- National Natural Science Foundation of China (61801418, 62361056)
- Opening Foundation of Yunnan Key Laboratory of Smart City in Cyberspace Security (202105AG070010-JC-11, 202105AG070010-ZN-10)
This publication has 54 references indexed in Scilit:
- Universal backdoor attack on deep neural networks for malware detectionApplied Soft Computing, 2023
- Deep learning based cross architecture internet of things malware detection and classificationComputers & Security, 2022
- Effective and Efficient Hybrid Android Malware Classification Using Pseudo-Label Stacked Auto-EncoderJournal of Network and Systems Management, 2021
- Catch them alive: A malware detection approach through memory forensics, manifold learning and computer visionComputers & Security, 2021
- Autoencoder-based unsupervised clustering and hashingApplied Intelligence, 2020
- Image-Based malware classification using ensemble of CNN architectures (IMCEC)Computers & Security, 2020
- Deep learning for image-based mobile malware detectionJournal of Computer Virology and Hacking Techniques, 2020
- Deep Supervised Hashing for Fast Image RetrievalInternational Journal of Computer Vision, 2019
- Using convolutional neural networks for classification of malware represented as imagesJournal of Computer Virology and Hacking Techniques, 2018
- Malware identification using visualization images and deep learningComputers & Security, 2018