Image-based Malware Classification using Deep Convolutional Neural Network and Transfer Learning

Dipendra Pant, Rabindra Bista
{"title":"Image-based Malware Classification using Deep Convolutional Neural Network and Transfer Learning","authors":"Dipendra Pant, Rabindra Bista","doi":"10.1145/3503047.3503081","DOIUrl":null,"url":null,"abstract":"Malware classification is a major challenge as they have multiple families and its type has been ever increasing. With the involvement of deep learning and the availability of massive data, neural networks can easily address this problem. This experimental work focuses on classifying the malware that are in the form of grayscale images into their respective families with high accuracy and low loss. We used transfer learning in a pretrained VGG16 model obtaining an accuracy of 88.40% of accuracy. Additionally, upon experimenting with the ResNet-18, InceptionV3 model to classify the malware images into their families didn't give better results as compared to our custom model. The custom model based on convolution neural network achieved better accuracy and was able to classify malware with 98.7% validation accuracy. Upon comparing our custom model with VGG16, ResNet-18, InceptionV3 the custom model gave better accuracy with a better f1 score of 0.99. But improper tuning of VGG16 yielded low accuracy and high parameter loss. In overall the approach of classifying malware by converting them into images and classifying thus obtained images makes the malware classification problem easier.","PeriodicalId":190604,"journal":{"name":"Proceedings of the 3rd International Conference on Advanced Information Science and System","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd International Conference on Advanced Information Science and System","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3503047.3503081","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Malware classification is a major challenge as they have multiple families and its type has been ever increasing. With the involvement of deep learning and the availability of massive data, neural networks can easily address this problem. This experimental work focuses on classifying the malware that are in the form of grayscale images into their respective families with high accuracy and low loss. We used transfer learning in a pretrained VGG16 model obtaining an accuracy of 88.40% of accuracy. Additionally, upon experimenting with the ResNet-18, InceptionV3 model to classify the malware images into their families didn't give better results as compared to our custom model. The custom model based on convolution neural network achieved better accuracy and was able to classify malware with 98.7% validation accuracy. Upon comparing our custom model with VGG16, ResNet-18, InceptionV3 the custom model gave better accuracy with a better f1 score of 0.99. But improper tuning of VGG16 yielded low accuracy and high parameter loss. In overall the approach of classifying malware by converting them into images and classifying thus obtained images makes the malware classification problem easier.
基于图像的基于深度卷积神经网络和迁移学习的恶意软件分类
恶意软件分类是一个重大挑战,因为它们有多个家族,其类型一直在增加。随着深度学习的参与和大量数据的可用性,神经网络可以很容易地解决这个问题。本实验的重点是对灰度图像形式的恶意软件进行分类,使其具有较高的准确率和较低的损失。我们在预训练的VGG16模型中使用迁移学习,获得了88.40%的准确率。此外,在ResNet-18的实验中,与我们的自定义模型相比,InceptionV3模型将恶意软件图像分类为它们的家族并没有给出更好的结果。基于卷积神经网络的自定义模型获得了更好的准确率,能够对恶意软件进行分类,验证准确率达到98.7%。将我们的自定义模型与VGG16, ResNet-18, InceptionV3进行比较,自定义模型具有更好的准确性,f1得分为0.99。但由于VGG16的调谐不当,导致精度低,参数损失大。总的来说,通过将恶意软件转换成图像并对获得的图像进行分类的方法使恶意软件分类问题更加容易。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信