USENIX Security2026Top-tier venue
What You Decode Depends on Where You Stand: Distance-Based Optical QR Code
Pulkit Garg, Robin Verma, Somitra Sanadhya, Gaurav Gupta
Abstract
Quick Response (QR) codes are ubiquitous; we can see them in authentication, payments, advertising, and other information-sharing use cases. QR code’s security relies on the assumption that every scanner decodes identical information from the same code. This work introduces Optical Quick Response (OQR) codes, a novel multi-layer QR code design that challenges this assumption. OQR uses specially designed optical patterns to encode distinctive information across distance-dependent layers within a single code, while upholding full backward compatibility with standard QR decoders. This paper presents 2-layer (OQR 2 ) and 3-layer (OQR 3 ) OQR configurations that achieve up to 300% higher data capacity. Exploiting this multi-layer capability, a filter evasion vulnerability is identified in which automated QR validators decode only the innermost layer of pixel-perfect images, enabling attackers to conceal malicious content in the outer layers and remain undetected. To counter this threat, a blurring-based defense is developed that recovers all layer content, enabling detection and flagging of malicious OQR codes before they reach end users. A custom dataset of 600 OQR codes was generated for evaluation. Results across six smartphones, for both printed and digital formats, demonstrate a reliable multi-layer Code Decodability Rate (CDR) of 100% for OQR 2 and over 98% for OQR 3 . The filter evasion attack success rate against two popular QR decoding libraries reaches 100% for OQR 2 and 98.67% for OQR 3 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 21692ba1-101e-435b-acea-c56cffa3209bBuilds on10
- KnowPhish: Large Language Models Meet Multimodal Knowledge Graphs for Enhancing Reference-Based Phishing DetectionYuexin Li, Chengyu Huang, Shumin Deng, Mei Lin Lock et al.USENIX Security 2024 · 70 citations
- Picking Up My Tab: Understanding and Mitigating Synchronized Token Lifting and Spending in Mobile PaymentXiaolong Bai, Zhe Zhou, XiaoFeng Wang, Zhou Li et al.USENIX Security 2017 · 34 citations
- Phishing URL Detection: A Network-based Approach Robust to EvasionTaeri Kim, Noseong Park, Jiwon Hong, Sang-Wook KimCCS 2022 · 21 citations
- ScreenID: Enhancing QRCode Security by Fingerprinting ScreensYijie Li, Yi-Chao Chen, Xiaoyu Ji, Hao Pan et al.INFOCOM 2021 · 7 citations
- It's a Match - Enhancing the Fit between Users and Phishing Training through PersonalisationLorin Schöni, Neele Roch, Hannah Sievers, Martin Strohmeier et al.CHI 2025 · 5 citations
Related papers
- Development, Evaluation, and Implementation of SEQR - a Usable Secure QR Code ScannerMattia Mossano, Maxime Fabian Veit, Tobias Länge, Benjamin Maximilian Berens et al.CHI 2026 · 1 citation
- Q-Art Code: Generating Scanning-robust Art-style QR Codes by Deformable ConvolutionHao Su, Jianwei Niu, Xuefeng Liu, Qingfeng Li et al.ACM MM 2021 · 8 citations
- DiSCoQR: Diffusion-Driven Semantic Compression for Robust Image Steganography in Standard QR CodesLijing Ren, Denghui ZhangWWW 2026
- Scanned and Scammed: Insecurity by ObsQRity? Measuring User Susceptibility and Awareness of QR Code-Based AttacksMarvin Kowalewski, Leona Lassak, Markus Dürmuth, Theodor SchnitzlerUSENIX Security 2025
- Demystifying the (In)Security of QR Code-based Login in Real-world DeploymentsXin Zhang, Xiaohan Zhang, Bo Zhao, Yuhong Nan et al.USENIX Security 2025
