Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rule: QR code credential phishing #2142

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions detection-rules/qr_code_credential_phishing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "QR code credential phishing"
description: |
This rule flags QR codes embedded anywhere in the message that lead to a high confidence credential theft page.
type: "rule"
severity: "high"
source: |
type.inbound
and any(file.explode(beta.message_screenshot()),
ml.link_analysis(.scan.qr.url).credphish.disposition == "phishing"
and ml.link_analysis(.scan.qr.url).credphish.confidence == "high"
)
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and not headers.auth_summary.dmarc.pass
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
and not profile.by_sender().solicited
attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "QR code"
- "Social engineering"
detection_methods:
- "Content analysis"
- "Header analysis"
- "QR code analysis"
- "Sender analysis"
- "URL analysis"
id: "62d5e761-7a04-5fc8-a98d-8e9ca7dc5c9f"