Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

QR Code Attack

← Back to Glossary
By NHI Mgmt Group Updated October 25, 2026 Domain: Threats, Abuse & Incident Response

A QR code attack is when a malicious or altered QR code tricks someone or a system into opening a harmful link, payment request, or login flow. In identity and security terms, the code can redirect users to phishing sites, credential theft pages, malware delivery, or unauthorized actions, bypassing normal visual inspection.

What QR code attacks are and why they work

A QR code attack exploits the gap between what a person sees and what the code actually resolves to. The printed symbol looks legitimate, but the embedded destination can send the victim to a phishing page, a payment prompt, or a login flow controlled by an attacker.

This works because QR codes compress a lot of trust into a small visual object. People often scan them quickly on mobile devices, where the URL preview is easy to miss and the context, such as a menu, poster, invoice, or email attachment, can make the code seem safe.

Common QR code attack patterns

QR code abuse shows up in several recurring patterns. Attackers place malicious stickers over legitimate codes, embed codes in emails or PDFs, and use payment scenarios to redirect money or credentials to the wrong destination.

Some campaigns use quishing, a QR-based form of phishing, to push victims into entering passwords, MFA codes, or account details on a lookalike site. Others rely on a scan-to-pay flow, where the user assumes the request is tied to a trusted merchant or internal process.

Because the code itself is only a carrier, the real risk is the destination and the action it triggers. A QR code can deliver a malicious website, launch an unauthorized app flow, or route a user into a consent screen, login page, or fraud payment path.

Security impact on users and organisations

The security impact is usually identity theft, financial fraud, or malware delivery, but it can also include session hijacking and unauthorized account actions when the scan leads to a convincing credential capture or approval flow. For organisations, QR attacks often bypass email filters and visual review because the harmful destination is hidden until the scan occurs.

The problem is especially serious in hybrid work and public-facing environments, where QR codes are used for access, support, payments, or onboarding. A single altered code can create a direct path from offline trust to online compromise, which makes the attack attractive for opportunistic phishing as well as targeted fraud.

How to check exposure and reduce QR code abuse

Exposure starts with the places where QR codes are used: printed materials, customer journeys, internal workflows, login assistance, and payment instructions. Organisations should inventory those touchpoints, identify who creates the codes, and confirm whether the destination is controlled by the business or a third party.

Defensive controls should focus on the destination, not the image alone. Use trusted code generation, short-lived or branded redirect domains where appropriate, and user training that encourages checking the URL before continuing. Where QR codes are used for authentication or payments, pair them with stronger verification and anti-phishing controls. Guidance on QR Code Phishing (Quishing) Guide covers the main attack patterns and defences in more depth.

For broader phishing context, Top 10 Phishing Techniques shows where QR lures sit alongside other common delivery methods.

Detection and response after a suspicious scan

Detection is difficult because the harmful action often happens after the scan, outside normal web and email controls. Useful signals include reports of unexpected QR stickers, repeated scans from the same campaign material, unusual login attempts after a scan event, or payment requests that do not match established business processes.

If a QR attack is suspected, organisations should treat it like a phishing or fraud incident: identify the destination URL, review related authentication events, and check whether credentials, payment details, or device sessions were exposed. If users entered credentials or approved a flow, the incident review should extend to account access, session validity, and any linked recovery channels.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while OWASP ASVS, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV10 — OAuth and OIDCQR scams often end in fake login or consent flows.
Recommendation — Verify redirect and consent handling to resist malicious QR-driven login flows.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementQR attacks frequently target credentials, OTPs, and enrollment flows.
Recommendation — Manage and rotate authenticators and secrets exposed through QR-based phishing.
NIST CSF 2.0PR.DS-10 — Integrity mechanismsAltered QR stickers and swapped destinations are integrity failures.
Recommendation — Use integrity checks and controlled publishing to detect tampered QR assets.
MITRE ATT&CKT1566 — PhishingQR code attacks are a phishing delivery technique.
Recommendation — Map QR lures to phishing detections and hunt for follow-on credential theft.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org