A Classification Model to Detect Malicious Software in QR Code

Authors

DOI:

https://doi.org/10.56286/ngcs4e85

Keywords:

QR Code, CNN, malicious, benign, deep learning

Abstract

Quick Response (QR) codes have become very popular in making payments, marketing/authentication, and are frequently used with malicious intent by cybercriminals using them to inject malicious URLs to steal information or install malware. The current study is concerned with malicious QR codes detection with deep learning. A balanced data set of 316,254 benign and 316,254 malicious URLs were turned into an image of QR code to train a Convolutional Neural Network (CNN). On the validation set, the model attained 99.62% accuracy and on the test set, the model attained 100% accuracy, absolute precision, recall and F1 scores. Average processing speed is 61ms per batch which allows real time scanning. CNN was able to outperform other probabilistic models because of its high performance implying that further comparisons can be carried out in future. This work brings to the fore an efficient, scalable solution devised to identify malicious QR codes and enhance the security in the current contactless digital environment.

Downloads

Download data is not yet available.

Additional Files

Published

2026-03-22

Issue

Section

Articles

How to Cite

[1]
“A Classification Model to Detect Malicious Software in QR Code”, NTU-JET, vol. 5, no. 1, Mar. 2026, doi: 10.56286/ngcs4e85.

Similar Articles

1-10 of 30

You may also start an advanced similarity search for this article.