QRNet: QR-Specific Representation Learning for Direct Image-Based Quishing Detection
Abstract
QR codes are widely used for payments, authentication, advertising and information sharing, yet their visual form hides destination links and makes phishing attacks difficult to recognize. This study presents QRNet, a novel image-based deep learning architecture for detecting QR code phishing attacks or quishing, without decoding the embedded URL. QRNet was trained and evaluated on 1,005,738 QR images resized to () pixels. QRNet achieved, on the test set, 90.53% accuracy, 93.23% precision, 89.98% recall, a 91.58% F1-score, a 90.37% macro-F1 score and a 96.81% ROC-AUC. QRNet numerically and statistically outperformed all twelve evaluated machine learning and deep learning baselines, including XGBoost, LightGBM, ResNet50, DenseNet121, EfficientNetB0 and a YOLO-based classifier. Its improvement over the strongest baseline was also highly significant according to DeLong test () and McNemar test (). Robustness was evaluated under 27 distorted conditions involving blur, noise, JPEG compression, brightness and contrast changes, resizing, downscaling and occlusion, where QRNet remained stable under most distortions. Structural transfer experiments achieved macro-F1 scores of 97.56% for mask pattern detection and 97.62% for QR version detection, indicating that the learned representation captures meaningful QR specific structural information and can support tasks beyond phishing detection. For explainability analysis, QRNet decisions were examined using Grad-CAM, occlusion sensitivity, Integrated Gradients, LIME, local SHAP and global SHAP. Finally, QRNet was evaluated on an independent external dataset, showing strong zero-shot performance and further improvement after supervised fine-tuning, highlighting its ability to generalize and to adapt to unseen QR code images.
Create a lesson
Metadata
- Categories
- cs.CR, cs.CV, cs.LG
- Comments
- 28 pages, 13 figures, 10 tables
Related papers
Monitoring Activations for Real-Time Detection of Cyber Misuse
Shared title terminologycs.CRCarlo Alfano, Adam Stein, Neil Gollapudi et al.
JANUS: Permission-Guided Intrusion Detection in Kubernetes via Cross-Modal Association
Shared title terminologycs.CRYongqiang Li, Tao Luo, Guohua Xin et al.
Implementation of a Hybrid Scheme Combining Post-Quantum Cryptography and Quantum Key Distribution: A Case Study of ETSI Specifications
Shared title terminologycs.CRAbel C. H. Chen
Prompt Injection Detection using DeBERTa-v3: A Position-Neutral Dataset for AI Security
Shared title terminologycs.CRMirza Akhi
Observability, Not Placement: A PyCPS-IDS Simulation Study of Edge, Fog, Cloud, and Hybrid Intrusion Detection in Smart-City IoT
Shared title terminologycs.CRMustafa S. Aljumaily, Hayder Kareem Abd, Nawar S. Alseelawi
An Empirical Evaluation of Validation Practices for Machine Learning-Based Network Intrusion Detection
Shared title terminologycs.CRJoão R. Campos