-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create abuse_quickbooks_new_domain.yml by @zoomequipd #2052 Source SHA 1f9cc3a Triggered by @zoomequipd
- Loading branch information
Sublime Rule Testing Bot
committed
Oct 25, 2024
1 parent
076eecf
commit 7ca9bda
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: "Service Abuse: QuickBooks Notification From New Domain" | ||
description: "This Attack Surface Reduction (ASR) rule matches on QuickBooks notifications with recently registered reply-to domains." | ||
type: "rule" | ||
severity: "medium" | ||
source: | | ||
type.inbound | ||
// Legitimate Intuit sending infratructure | ||
and sender.email.email == "[email protected]" | ||
and headers.auth_summary.spf.pass | ||
and headers.auth_summary.dmarc.pass | ||
and strings.ends_with(headers.auth_summary.spf.details.designator, | ||
'.intuit.com' | ||
) | ||
// remove payment confirmation messages | ||
and not strings.starts_with(subject.subject, 'Payment confirmation:') | ||
// the message needs to have a reply-to address | ||
and length(headers.reply_to) > 0 | ||
// reply-to email address has never received an email from your org | ||
and not any(headers.reply_to, .email.email in $recipient_emails) | ||
// new reply-to | ||
and any(filter(headers.reply_to, | ||
// negate .com.au which doesn't provide created date for domains | ||
.email.domain.tld not in ('com.au') | ||
), | ||
network.whois(.email.domain).days_old < 30 | ||
) | ||
tags: | ||
- "Attack surface reduction" | ||
attack_types: | ||
- "Callback Phishing" | ||
- "Credential Phishing" | ||
- "BEC/Fraud" | ||
tactics_and_techniques: | ||
- "Evasion" | ||
- "Social engineering" | ||
detection_methods: | ||
- "Content analysis" | ||
- "Sender analysis" | ||
- "Header analysis" | ||
id: "c4f46473-0f5a-56d6-bb7e-489460bdb20f" | ||
testing_pr: 2052 | ||
testing_sha: 1f9cc3a1368094789d5abeb7452bfb04d6b84b5d |