Cryptojacking Malware Detection in Docker Images Using Supervised Machine Learning

S. Saide, Ednilson Luis Alfredo Sarmento, Felermino M. D. A. Ali
{"title":"Cryptojacking Malware Detection in Docker Images Using Supervised Machine Learning","authors":"S. Saide, Ednilson Luis Alfredo Sarmento, Felermino M. D. A. Ali","doi":"10.59200/iconic.2022.006","DOIUrl":null,"url":null,"abstract":"Nowadays, Docker Containers are currently being adopted as industry standards for software delivery, because they provide quick and responsive delivery and handle performance and scalability challenges. However, attackers are exploiting them to introduce malicious instructions in publicly available images to perform unauthorized use of third-party’s computer resources for Cryptojacking. We developed a machine learning based model to detect Docker images that lead to cryptojacking. The dataset used is composed of 800 Docker images collected from Docker hub, half of which contains instructions for cryptomining, and the other half does not contain such instructions. We trained 10 classification algorithms and evaluated them using the K-Fold Cross Validation approach. The results showed accuracy scores ranging from 89% to 97%. Stochastic Gradient Descent for Logistic Regression outperformed the other algorithms reaching an accuracy score of 97%. With these results, we conclude that machine learning algorithms can detect Docker images carrying cryptojacking malware with a good performance.","PeriodicalId":225070,"journal":{"name":"International Conference on Intelligent and Innovative Computing Applications","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Intelligent and Innovative Computing Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.59200/iconic.2022.006","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Nowadays, Docker Containers are currently being adopted as industry standards for software delivery, because they provide quick and responsive delivery and handle performance and scalability challenges. However, attackers are exploiting them to introduce malicious instructions in publicly available images to perform unauthorized use of third-party’s computer resources for Cryptojacking. We developed a machine learning based model to detect Docker images that lead to cryptojacking. The dataset used is composed of 800 Docker images collected from Docker hub, half of which contains instructions for cryptomining, and the other half does not contain such instructions. We trained 10 classification algorithms and evaluated them using the K-Fold Cross Validation approach. The results showed accuracy scores ranging from 89% to 97%. Stochastic Gradient Descent for Logistic Regression outperformed the other algorithms reaching an accuracy score of 97%. With these results, we conclude that machine learning algorithms can detect Docker images carrying cryptojacking malware with a good performance.
使用监督机器学习在Docker图像中检测加密劫持恶意软件
现在,Docker容器正被采纳为软件交付的行业标准,因为它们提供了快速响应的交付,并处理了性能和可伸缩性方面的挑战。然而,攻击者正在利用它们在公开可用的图像中引入恶意指令,以执行未经授权使用第三方计算机资源进行加密劫持。我们开发了一个基于机器学习的模型来检测导致加密劫持的Docker图像。使用的数据集由从Docker hub收集的800个Docker映像组成,其中一半包含加密挖掘指令,另一半不包含加密挖掘指令。我们训练了10种分类算法,并使用K-Fold交叉验证方法对它们进行了评估。结果显示准确率得分在89%到97%之间。随机梯度下降逻辑回归优于其他算法达到97%的准确率得分。根据这些结果,我们得出结论,机器学习算法可以以良好的性能检测携带加密劫持恶意软件的Docker图像。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信
小红书