Quick Response (QR) codes are two-dimensional matrix barcodes invented in 1994 by Denso Wave. While initially created to track automotive components during manufacturing, they have become ubiquitous for restaurant menus, event ticketing, digital payments, and two-factor authentication.

Understanding how data is encoded and how malicious actors exploit QR codes is vital to navigating modern physical and digital environments safely.

How QR Codes Store Data

QR codes encode data patterns in a grid of black and white squares (called modules). They feature three distinctive finder patterns in the corners, allowing camera sensors to detect orientation and scale regardless of viewing angle.

  • Error Correction: QR codes incorporate Reed-Solomon error correction algorithms. Levels range from Low (7% recovery) to High (30% recovery), allowing codes to be read even if partially obscured, soiled, or damaged.
  • Direct Encoding vs. Redirect URLs: A static QR code encodes the destination directly (e.g., https://example.com or WIFI:S:MyNetwork;P:SecretPass;;). A dynamic QR code encodes a tracking intermediary that redirects the scanner to the final destination.

The Threat: What is “Quishing”?

“Quishing” (QR code phishing) occurs when attackers manipulate QR codes to deceive victims into visiting credential-harvesting websites or authorizing malicious transactions.

Common attack vectors include:

  1. Physical Sticker Tampering: Criminals place adhesive stickers with malicious QR codes directly over legitimate restaurant or parking meter codes.
  2. Email Quishing: Because automated corporate email filters analyze text and hyperlinks, attackers embed their phishing links inside image QR codes to evade standard text parsers.
  3. Malicious Wi-Fi Configuration: Scanning a fraudulent Wi-Fi QR code can prompt your mobile device to join an unencrypted or rogue access point.

4 Rules for Safe QR Scanning

  1. Preview Before Opening: Modern smartphone cameras display the decoded URL before opening it. Always inspect the domain name carefully.
  2. Inspect Physical Codes: In public venues (parking kiosks, transit stations), check if a sticker is pasted over the original signage. If it feels raised or misaligned, do not scan it.
  3. Never Log In via QR Link: If a QR code directs you to a banking, email, or social media login page, close it and navigate to the official app or website directly.
  4. Use Direct Static Generators: When generating QR codes for your business or personal use, utilize clean utilities like GetQR that generate direct, static codes without opaque tracking redirects.