Security Guide

How to Spot a Malicious QR Code: Scanning with Confidence in a Digital World

Learn the mechanics of dynamic vs static QR codes, how quishing works, and how to verify QR security before scanning in a physical world.

SG
Updated 9 min read

Overview

Quick Response (QR) codes have fundamentally transformed modern digital interactions, seamlessly bridging the physical and digital environments. Originally developed in 1994 for automotive inventory tracking, these two-dimensional barcodes have evolved into an indispensable global infrastructure. According to industry reports, over 102 million Americans are projected to scan QR codes by 2026[1], facilitating everything from restaurant menus and transit ticketing to sophisticated marketing campaigns and contactless payments. QR codes are convenient and efficient, but a QR code is simply a data container with no built-in security features[2].

The widespread normalization and inherent convenience of QR codes have inevitably attracted the attention of cybercriminals. Because humans cannot visually decode the pixelated matrix to determine its contents prior to scanning, threat actors have begun exploiting this technology. This social engineering tactic is known as “quishing” (QR phishing)[3]. While these threats are escalating, they should not deter the use of such a beneficial technology. Instead, navigating this landscape requires substituting blind trust with situational awareness.

1. The Architectural Mechanics: Static Versus Dynamic QR Codes

To fully grasp the security implications of scanning a QR code, it is necessary to understand the distinct operational differences between static and dynamic architectures. While both variants appear identical to the naked eye, their underlying data structures and functional capabilities differ drastically.

Static QR codes permanently embed the target information directly into the visual pattern of the matrix. A static QR code is a “one-trick pony”: once created, the information is set in stone and cannot be edited. The primary advantage of this architecture is its permanence and offline capability, making it suitable for transmitting plain text or local Wi-Fi credentials purely offline.

Dynamic QR codes resolve these limitations and represent the standard for modern business applications. Rather than encoding the final destination data directly into the matrix, a dynamic QR code encodes a short, unique redirection URL that points to an online resource. When a smartphone scans the code, the device accesses this short link, which routes the connection through a centralized server managed by the QR code platform. The server subsequently executes an automatic HTTP redirect, seamlessly forwarding the scanner to the intended final destination.

Architectural FeatureStatic QR CodeDynamic QR Code
Data StorageEmbedded directly in pixel patternShort URL redirecting traffic through server
Post-Creation EditabilityPermanent; cannot be modifiedFully editable infinitely
Tracking AnalyticsNoneComprehensive
Pattern DensityHigh (complex grids based on length)Low (simple grids based on short URL)
Offline FunctionalityYesNo (requires internet)

2. Why Checking the URL Preview Is Not Enough

For years, the foundational advice provided by cybersecurity professionals for mitigating QR code risks has been to “always check the URL preview before tapping”. Modern smartphone camera applications facilitate this by displaying a small pop-up window containing the decoded URL, allowing the user to theoretically verify the destination.

The fundamental issue lies in the architecture of the dynamic redirect. When a user scans a dynamic QR code, the smartphone preview displays the intermediary short link, not the final destination website. If an organization utilizes a generic, free URL shortener or a low-tier QR code generator, the URL preview offers absolutely no contextual clues regarding the safety or legitimacy of the endpoint.

Threat actors actively exploit this opacity to execute quishing campaigns. Rather than encoding the phishing domain directly, an attacker encodes a link on a legitimate, trusted domain, such as an open redirect on a reputable website or a Google redirect URL. When the victim scans the code, the camera preview displays a familiar, secure-looking domain. Trusting the preview, the user opens the link, only to be forwarded through a chain of redirects to the phishing site[4].

3. Identifying Malicious QR Codes in the Wild

Since technical validation via URL previews is often obscured by dynamic redirection, the most effective defense against quishing relies on contextual analysis and physical inspection. Cybercriminals deploy malicious QR codes through various vectors, but these attacks consistently exhibit identifiable anomalies.

Physical Tampering in Public Spaces

The most prominent physical threat vector involves direct tampering in public spaces. Scammers print fraudulent QR codes on high-quality adhesive paper and affix them directly over legitimate codes on municipal infrastructure like parking meters, transit ticketing stations, and electric vehicle charging kiosks[5].

To spot physical tampering, individuals must inspect the QR code before scanning. Legitimate codes are typically integrated seamlessly into the underlying signage, printed directly onto the metal or plastic substrate. A code that appears to be a separate sticker, features peeling edges, demonstrates a differing texture from the surrounding material, or is slightly misaligned, is a critical red flag.

Digital Quishing Campaigns

Digital quishing campaigns rely on urgency and unsolicited contact. They borrow the playbook of text-message scams such as bogus unpaid toll notices[7]: a message, letter, or email pressures the recipient to act now, and a QR code simply takes the place of the link.

Even physical mail is a vector. The FBI has warned of unsolicited packages, often shipped with no sender information, that contain a QR code leading to malware or to requests for personal and financial details[8].

If a scanned code requests sensitive data, especially banking credentials or enterprise login information, users should immediately terminate the session and manually navigate to the official web address.

A Quick Checklist Before You Scan

  1. Check the surface: Look for a sticker over another code, peeling edges, or a code that sits slightly crooked on the sign.
  2. Check the context: Ask who put the code there. A legitimate code usually has the business's name or logo beside it; an unexpected code in a text, email, letter, or package deserves suspicion.
  3. Read the preview: Use your phone's built-in camera and read the domain in the preview from right to left. In "paypal.com.secure-login.net", the site you would actually visit is secure-login.net.
  4. Watch the landing page: If the page asks for a password, card number, or a payment you did not expect, close it and type the organization's official address yourself.
  5. Refuse installs and permissions: Never install an app or grant your phone new permissions from a link you reached by scanning[8].
  6. Act fast if you slipped: If you entered details on a suspicious page, change the affected passwords, contact your bank, and report it to the FBI's Internet Crime Complaint Center at ic3.gov[8].

4. Securing the Ecosystem: How Businesses Deploy QR Codes Safely

Because consumers cannot always verify the safety of a dynamic redirect, the responsibility for securing the ecosystem shifts to the organizations deploying the codes. A dynamic code's preview shows the platform's short link, not the final page, so scanners are trusting the platform. Choose a provider with a recognizable short domain and an acceptable-use policy that prohibits malicious destinations, and print your brand next to every code so scanners know who it belongs to.

Kebo QR's Terms of Service prohibit linking codes to malware, phishing sites, or scams, and reserve the right to disable codes that do. Beyond the rules, the dynamic architecture gives a business two controls a static code cannot:

  • Edit or delete a code instantly

    If a destination is compromised, point the code somewhere safe or delete it from your dashboard, with no reprint needed. This protects codes you printed: a scammer's sticker placed over your code is a separate code, so inspect your signage regularly.
  • Brand every code

    Add your logo and brand colors in Kebo QR, and print your business name beside the code. A plain black-and-white sticker stands out against a branded code, and your name tells scanners who the code belongs to.

5. Conclusion

QR codes represent a powerful, highly efficient technology that significantly enhances digital connectivity across the global economy. While the emergence of quishing and physical tampering highlights the ingenuity of cybercriminals, these threats should not precipitate a retreat from such a useful tool.

By maintaining situational awareness, inspecting public codes for physical alterations, and treating unsolicited codes with healthy skepticism, users can safely navigate the digital landscape. Businesses share the responsibility: print their brand beside every code, inspect public signage for stickers, and use a platform that lets them edit or delete a code the moment something looks wrong.

6. Frequently Asked Questions

References

  1. Wave Connect. QR Code Statistics
  2. WWPass. QR Code Authentication: How it works, benefits, and best practices
  3. Cloud Security Alliance. Quishing is Here and it's Hiding in Plain Sight
  4. Palo Alto Networks. QR Code Phishing (Quishing) Operations
  5. IT360Inc. Payment Fraud Moves to the Real World with Fake QR Codes on Parking Meters
  6. Internet Crime Complaint Center (IC3). Cybercriminals Tampering with QR Codes to Steal Victim Funds
  7. Federal Trade Commission (FTC). New FTC data spotlight highlights text scams may target your business
  8. Internet Crime Complaint Center (IC3). Brushing Scams Utilizing QR Codes to Deliver Malware