AntiMal: an Approach of Malware Detection Employing Swin Transformer
Open Access
- 6 December 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-5
Abstract
In the present era, the menace of malicious software is growing continuously, posing a significant challenge in the realm of cybersecurity. Currently, traditional machine learning algorithms have been widely applied to the analysis of malicious software and are considered effective methods. However, these approaches often require extensive feature engineering, feature learning, and feature representation, which can be time-consuming and resource-intensive. In this paper, a method for the identification of malicious software, named "AntiMal," is proposed. This method utilizes the Swin Transformer as the backbone network and combines it with image features for static analysis. It leverages the dataset provided by Microsoft for the Kaggle Microsoft Malware Classification Challenge. Initially, it converts the binary data of malicious code into grayscale images, treating every 8 bits as a pixel. Subsequently, it employs PyTorch to build and train the Swin Transformer, classifying the images in the validation set. The results demonstrate that this approach excels in the problem of malicious software classification, achieving an impressive accuracy of up to 95%, showcasing remarkable precision and generalization capabilities. Furthermore, it exhibits significant advantages when dealing with large datasets, requiring fewer computational resources, thus offering exceptional computational efficiency.Keywords
Funding Information
- the fund of Fujian Province Digital Economy Alliance, National Natural Science Foundation of China (62372110? 62072109)
- the Natural Science Foundation of Fujian Province (2020J01500?2021J01616)
This publication has 19 references indexed in Scilit:
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
- Multi-dimensional feature fusion and stacking ensemble mechanism for network intrusion detectionFuture Generation Computer Systems, 2021
- Android malware detection based on image-based features and machine learning techniquesSN Applied Sciences, 2020
- Malware Detection in Cloud Computing using an Image Visualization Technique2019
- Android Malware Detection using Deep Learning2019
- Malware detection in android based on dynamic analysis2017
- Deep Learning for Classification of Malware System Call Sequences2016
- Static Malware Analysis Using Machine Learning Methods2014
- Visual Reverse Engineering of Binary and Data Files2008
- N-gram-based detection of new malicious code2004