Detecting QR Code Phishing with Email Security
Overview
QR code phishing (quishing) is a rapidly growing attack vector where malicious URLs are embedded in QR code images within phishing emails. Quishing incidents grew fivefold from 46,000 to 250,000 between August and November 2025, with credential phishing comprising 89.3% of detected incidents. Traditional email security filters struggle because QR codes cannot be read by humans or standard URL scanners, and when scanned, users typically use personal mobile devices that lack corporate security controls. Attackers have evolved to use split QR codes (two separate images), nested QR codes, and ASCII text-based QR codes to evade detection.
When to Use
- When investigating security incidents that require detecting qr code phishing with email security
- When building detection rules or threat hunting queries for this domain
- When SOC analysts need structured procedures for this analysis type
- When validating security monitoring coverage for related attack techniques
Detection Gaps & Validation
- Link scanners are blind to images: the malicious URL lives inside a QR PNG/JPG/SVG, so text-based URL reputation and Safe Links never see it - the gateway must OCR/decode the image and submit the extracted URL to the same URL pipeline.
- Split and nested QR codes: Gabagool-style kits divide the code across two benign-looking images, or nest a QR-in-QR; single-image decoders miss these - require reassembly/multi-image analysis.
- ASCII / text-rendered QR: codes drawn with text characters bypass image analysis entirely (~12% of attacks) - add detection for QR-shaped character blocks.
- QR inside PDF/attachment: the code sits in a PDF or document, not the body - enable attachment QR scanning, not just inline image scanning.
- Detection shifts to the phone: even when decoded, the scan happens on an unmanaged personal device with no corporate proxy - pair gateway decoding with MTD/MDM warning on the destination.
- Validate detection: send test quishing (inline PNG, SVG, split-image, PDF-embedded, and ASCII variants), confirm each URL is decoded and sandboxed, and tune FPs - legitimate marketing/event QR codes and MFA-setup codes are the main false positives, so allowlist known-good senders rather than blocking all QR mail.
Prerequisites
- Email security gateway with image analysis capabilities
- Understanding of QR code structure and encoding
- Mobile device management (MDM) or mobile threat defense solution
- Security awareness training program
- SIEM platform for correlation and alerting
Key Concepts
Why Quishing Works
- Bypasses URL Scanners: Traditional gateways scan text-based URLs but cannot decode image-embedded URLs
- Shifts to Unprotected Devices: Corporate email arrives on secured systems but QR scan occurs on personal mobile devices
- User Trust: QR codes are normalized in daily life (payments, menus, parking)
- Low Detection Rate: Only 36% of quishing incidents are accurately identified by recipients
Evasion Techniques (2025)
- Split QR Codes: QR code divided into two separate images that look benign individually (Gabagool PhaaS kit)
- Nested QR Codes: QR code within a QR code, with first scan leading to intermediate page
- ASCII QR Codes: QR rendered as text characters instead of images, bypassing image analysis (12% of attacks in Jan 2026)
- Styled/Artistic QR Codes: Custom-designed QR codes with logos that evade pattern matching
- PDF Attachment QR: QR code embedded in PDF attachment rather than email body
Detection Challenges
- Pattern-based detection faces trade-off: aggressive tuning causes false positives, cautious tuning causes misses
- Average similarity score of 0.209 between quishing and legitimate QR emails
- QR codes in image attachments require OCR and deep image processing
Workflow
Step 1: Enable Image-Based Threat Detection
- Configure email gateway to scan embedded images for QR codes
- Enable OCR processing on image attachments (PNG, JPG, GIF, BMP)
- Deploy multimodal AI that combines image processing, OCR, and NLP analysis
- Configure PDF scanning to detect QR codes within attachments
- Set up detection for ASCII/text-based QR code rendering
Step 2: Configure QR Code URL Analysis
- Extract URLs from detected QR codes and submit to URL reputation services
- Apply same URL scanning policies to QR-extracted URLs as text-based URLs
- Enable real-time sandbox analysis for QR-decoded destination pages
- Configure time-of-click protection for QR-extracted URLs where possible
- Block known phishing domains extracted from QR codes
Step 3: Deploy Mobile-Side Protection
- Implement mobile threat defense (MTD) with QR code scanning capability
- Deploy Palo Alto ALFA or equivalent safe-by-design QR scanning
- Configure MDM policies to warn users before opening scanned URLs
- Enable corporate VPN/secure browser for QR-scanned destinations
- Block known credential harvesting domains at the mobile proxy level
Step 4: Build Detection Rules
- Alert on emails containing only an image and minimal text (common quishing pattern)
- Flag emails with QR code images from external first-time senders
- Detect urgency language combined with QR code presence
- Alert on emails impersonating IT/security team requesting QR scan for MFA setup
- Monitor for common quishing themes: MFA reset, document signing, voicemail notification
Step 5: Train Users on Quishing Recognition
- Update security awareness program to include QR code phishing scenarios
- Conduct quishing simulation campaigns using controlled QR codes
- Teach users to verify QR destination URLs before entering credentials
- Establish reporting process for suspicious QR code emails
- Distribute guidance on safe QR scanning practices
Tools & Resources
- Barracuda Multimodal AI: OCR + deep image processing for QR detection
- Palo Alto ALFA: Safe-by-design QR code scanning assessment
- Microsoft Defender for O365: QR code detection in email images
- Proofpoint TAP: Image-based threat analysis with QR decoding
- Lookout/Zimperium: Mobile threat defense with QR scanning
Validation
- QR code phishing emails detected in controlled testing
- Split QR code and ASCII QR code evasion techniques caught
- QR-extracted URLs submitted to sandbox analysis
- Mobile devices alert on malicious QR destinations
- User reporting rate for quishing simulations exceeds 50%
- False positive rate for QR detection below 1%
1---2name: detecting-qr-code-phishing-with-email-security3description: Detect and prevent QR code phishing (quishing) attacks that bypass traditional email security by embedding malicious URLs in QR code images within emails.4license: Apache-2.05---6# Detecting QR Code Phishing with Email Security78## Overview9QR code phishing (quishing) is a rapidly growing attack vector where malicious URLs are embedded in QR code images within phishing emails. Quishing incidents grew fivefold from 46,000 to 250,000 between August and November 2025, with credential phishing comprising 89.3% of detected incidents. Traditional email security filters struggle because QR codes cannot be read by humans or standard URL scanners, and when scanned, users typically use personal mobile devices that lack corporate security controls. Attackers have evolved to use split QR codes (two separate images), nested QR codes, and ASCII text-based QR codes to evade detection.101112## When to Use1314- When investigating security incidents that require detecting qr code phishing with email security15- When building detection rules or threat hunting queries for this domain16- When SOC analysts need structured procedures for this analysis type17- When validating security monitoring coverage for related attack techniques1819## Detection Gaps & Validation2021- **Link scanners are blind to images:** the malicious URL lives inside a QR PNG/JPG/SVG, so text-based URL reputation and Safe Links never see it - the gateway must OCR/decode the image and submit the extracted URL to the same URL pipeline.22- **Split and nested QR codes:** Gabagool-style kits divide the code across two benign-looking images, or nest a QR-in-QR; single-image decoders miss these - require reassembly/multi-image analysis.23- **ASCII / text-rendered QR:** codes drawn with text characters bypass image analysis entirely (~12% of attacks) - add detection for QR-shaped character blocks.24- **QR inside PDF/attachment:** the code sits in a PDF or document, not the body - enable attachment QR scanning, not just inline image scanning.25- **Detection shifts to the phone:** even when decoded, the scan happens on an unmanaged personal device with no corporate proxy - pair gateway decoding with MTD/MDM warning on the destination.26- **Validate detection:** send test quishing (inline PNG, SVG, split-image, PDF-embedded, and ASCII variants), confirm each URL is decoded and sandboxed, and tune FPs - legitimate marketing/event QR codes and MFA-setup codes are the main false positives, so allowlist known-good senders rather than blocking all QR mail.2728## Prerequisites29- Email security gateway with image analysis capabilities30- Understanding of QR code structure and encoding31- Mobile device management (MDM) or mobile threat defense solution32- Security awareness training program33- SIEM platform for correlation and alerting3435## Key Concepts3637### Why Quishing Works381. **Bypasses URL Scanners**: Traditional gateways scan text-based URLs but cannot decode image-embedded URLs392. **Shifts to Unprotected Devices**: Corporate email arrives on secured systems but QR scan occurs on personal mobile devices403. **User Trust**: QR codes are normalized in daily life (payments, menus, parking)414. **Low Detection Rate**: Only 36% of quishing incidents are accurately identified by recipients4243### Evasion Techniques (2025)44- **Split QR Codes**: QR code divided into two separate images that look benign individually (Gabagool PhaaS kit)45- **Nested QR Codes**: QR code within a QR code, with first scan leading to intermediate page46- **ASCII QR Codes**: QR rendered as text characters instead of images, bypassing image analysis (12% of attacks in Jan 2026)47- **Styled/Artistic QR Codes**: Custom-designed QR codes with logos that evade pattern matching48- **PDF Attachment QR**: QR code embedded in PDF attachment rather than email body4950### Detection Challenges51- Pattern-based detection faces trade-off: aggressive tuning causes false positives, cautious tuning causes misses52- Average similarity score of 0.209 between quishing and legitimate QR emails53- QR codes in image attachments require OCR and deep image processing5455## Workflow5657### Step 1: Enable Image-Based Threat Detection58- Configure email gateway to scan embedded images for QR codes59- Enable OCR processing on image attachments (PNG, JPG, GIF, BMP)60- Deploy multimodal AI that combines image processing, OCR, and NLP analysis61- Configure PDF scanning to detect QR codes within attachments62- Set up detection for ASCII/text-based QR code rendering6364### Step 2: Configure QR Code URL Analysis65- Extract URLs from detected QR codes and submit to URL reputation services66- Apply same URL scanning policies to QR-extracted URLs as text-based URLs67- Enable real-time sandbox analysis for QR-decoded destination pages68- Configure time-of-click protection for QR-extracted URLs where possible69- Block known phishing domains extracted from QR codes7071### Step 3: Deploy Mobile-Side Protection72- Implement mobile threat defense (MTD) with QR code scanning capability73- Deploy Palo Alto ALFA or equivalent safe-by-design QR scanning74- Configure MDM policies to warn users before opening scanned URLs75- Enable corporate VPN/secure browser for QR-scanned destinations76- Block known credential harvesting domains at the mobile proxy level7778### Step 4: Build Detection Rules79- Alert on emails containing only an image and minimal text (common quishing pattern)80- Flag emails with QR code images from external first-time senders81- Detect urgency language combined with QR code presence82- Alert on emails impersonating IT/security team requesting QR scan for MFA setup83- Monitor for common quishing themes: MFA reset, document signing, voicemail notification8485### Step 5: Train Users on Quishing Recognition86- Update security awareness program to include QR code phishing scenarios87- Conduct quishing simulation campaigns using controlled QR codes88- Teach users to verify QR destination URLs before entering credentials89- Establish reporting process for suspicious QR code emails90- Distribute guidance on safe QR scanning practices9192## Tools & Resources93- **Barracuda Multimodal AI**: OCR + deep image processing for QR detection94- **Palo Alto ALFA**: Safe-by-design QR code scanning assessment95- **Microsoft Defender for O365**: QR code detection in email images96- **Proofpoint TAP**: Image-based threat analysis with QR decoding97- **Lookout/Zimperium**: Mobile threat defense with QR scanning9899## Validation100- QR code phishing emails detected in controlled testing101- Split QR code and ASCII QR code evasion techniques caught102- QR-extracted URLs submitted to sandbox analysis103- Mobile devices alert on malicious QR destinations104- User reporting rate for quishing simulations exceeds 50%105- False positive rate for QR detection below 1%