Skip to content
Merged
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
37 changes: 37 additions & 0 deletions detection-rules/service_abuse_square_QR_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Service abuse: Square marketing with suspicious QR code"
description: "Detects messages from Square's marketing domain containing QR codes that redirect to self-service creation platforms, file sharing services, or image hosting services."
type: "rule"
severity: "high"
source: |
type.inbound
and sender.email.domain.domain == "squaremktg.com"
and beta.scan_qr(file.message_screenshot()).found
//
// This rule makes use of a beta feature and is subject to change without notice
// using the beta feature in custom rules is not suggested until it has been formally released
//
and any(filter(beta.scan_qr(file.message_screenshot()).items,
Comment thread
peterdj45 marked this conversation as resolved.
// ignore square's own free website hosting service
.url.domain.root_domain != "square.site"
),
(
.url.domain.root_domain in $self_service_creation_platform_domains
or .url.domain.domain in $self_service_creation_platform_domains
)
or (
.url.domain.root_domain in $free_file_hosts
or .url.domain.domain in $free_file_hosts
)
)

attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "QR code"
- "Free file host"
detection_methods:
- "Computer Vision"
- "QR code analysis"
- "Sender analysis"
- "URL analysis"
id: "079c81ff-45f6-5460-8dc5-f00dcfcdd57a"
Loading