QR Code Phishing in PDFs: How Quishing Works and How to Stay Safe

QR code phishing in PDFs, often called "quishing", hides a malicious link inside a QR code embedded in a PDF attachment. Because the link is an image rather than text, many email filters do not scan it, and because the victim scans it with a phone, they leave the protection of their work computer. The QR code usually leads to a fake login page for Microsoft 365, a bank or a delivery service.

Jul 21, 2025 - 09:39
Updated: 
102.6k

Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Explainer

QR Code Phishing in PDFs: How Quishing Works and How to Stay Safe

Quick answer: QR code phishing in PDFs, often called "quishing", hides a malicious link inside a QR code embedded in a PDF attachment. Because the link is an image rather than text, many email filters do not scan it, and because the victim scans it with a phone, they leave the protection of their work computer. The QR code usually leads to a fake login page for Microsoft 365, a bank or a delivery service. Protect yourself by treating unexpected QR codes in emails as suspicious, checking the web address before entering anything, and using phishing-resistant MFA such as passkeys, which fake sites cannot capture.

Key takeaways

  • QR codes in PDFs evade text-based link scanning.
  • Scanning on a personal phone moves the attack outside company security tools.
  • Common lures: MFA reset, payroll update, shared document, invoice, parking fine.
  • Always read the full URL shown by your camera before opening it.
  • Passkeys and security keys stop credential theft on fake sites.

Table of Contents

How Does a QR Code PDF Phishing Attack Work?

  1. An email arrives with a PDF that looks like an HR notice, invoice or document-sharing message.
  2. The PDF tells you to scan a QR code to "verify your account" or "view the document".
  3. Your phone opens a fake login page, often copying Microsoft 365 or a bank.
  4. Entering credentials and MFA codes hands them to the attacker, who logs in immediately.

MITRE classifies this as phishing with an attachment (T1566.001).

Why Do Attackers Use QR Codes in PDFs?

  • Filters scan text links, but a QR code is just an image inside a file.
  • Phones often lack corporate web filtering and show shortened URLs.
  • QR codes feel routine after their widespread use for payments and menus.

The FBI has warned about scammers hiding harmful links in QR codes.

What Are the Warning Signs?

  • An email asking you to scan a QR code to log in or reset MFA; IT departments rarely do this.
  • Urgency: account suspension, salary hold, missed delivery.
  • A PDF with only a logo, a short message and a QR code.
  • A web address that does not match the organisation, or uses lookalike spelling.

How Do You Check a QR Code Safely?

  • Most phone cameras show the URL before opening it; read the domain carefully.
  • If unsure, do not open it; go to the service by typing its address yourself.
  • Never enter passwords or OTPs on a page reached from an unexpected QR code.

What Can Security Teams Do?

Decode suspicious QR codes in a safe environment to extract the URL for blocking and investigation:

# Convert the PDF page to an image, then decode the QR code (poppler-utils and zbar)
pdftoppm -png -r 200 suspicious.pdf page
zbarimg --quiet page-1.png
# QR-Code:https://login-microsoftonline.example-phish.top/...
  • Enable email security features that scan images and attachments for QR codes.
  • Deploy phishing-resistant MFA (passkeys, FIDO2 keys) and conditional access requiring managed devices.
  • Run awareness training with QR examples, following NCSC guidance and CISA's phishing guidance.
  • Make reporting easy and thank reporters.

What If You Already Scanned One?

  1. If you entered a password, change it immediately from a trusted device.
  2. Sign out all sessions and review MFA methods for unknown additions.
  3. Tell your IT or security team at once.
  4. For bank details, call your bank; in India, also call 1930 or use cybercrime.gov.in.

Related: UPI scan-to-pay safety and AI phishing. WebAsha offers security awareness training.

Which Email and Identity Settings Reduce Quishing?

  • Use email security that extracts and checks URLs from images and attachments.
  • Require compliant, managed devices for access to corporate apps through conditional access, so stolen credentials used on attacker devices are blocked.
  • Enable number matching or phishing-resistant MFA instead of simple push approvals.
  • Alert on new MFA registrations and sign-ins from unusual locations.

Microsoft documents Conditional Access grant controls, including requiring compliant devices, and anti-phishing protection in Microsoft 365.

How Should You Train Staff on QR Phishing?

MessageWhy
IT never asks you to scan a QR code to log in or reset MFARemoves the most common lure
Check the URL your camera shows before openingBuilds a simple habit
Report suspicious QR emails with the report buttonSpeeds up blocking
Do not use personal phones for work logins from emailsKeeps logins on managed devices

The UK NCSC recommends multiple layers rather than relying on users alone, and CERT-In publishes awareness advisories for Indian organisations.

References

Frequently Asked Questions

Phishing that uses a QR code to send victims to a malicious website, often embedded in emails or PDF attachments.

Email filters often do not scan image-based links, and phones lack corporate security protections.

Read the full URL your camera shows and only open it if the domain clearly matches the real organisation.

Rarely. Treat such requests as suspicious and confirm with IT through a known channel.

Yes. Passkeys only work on the genuine site, so a fake login page cannot capture them.

They convert the PDF to an image and decode it with tools such as zbarimg in a safe environment.

Change it from a trusted device, sign out all sessions, check MFA methods and report to IT.

Report to your IT team, and for financial loss call 1930 or use cybercrime.gov.in.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.