-
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 brand_impersonation_bbb.yml by @morriscode #2168 Source SHA ea91add Triggered by @morriscode
- Loading branch information
Sublime Rule Testing Bot
committed
Nov 25, 2024
1 parent
7847af4
commit 58bb136
Showing
1 changed file
with
45 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,45 @@ | ||
name: "Brand impersonation: the Better Business Bureau (BBB)" | ||
description: "Detect impersonation of the Better Business Bureau (BBB)" | ||
type: "rule" | ||
severity: "medium" | ||
source: | | ||
type.inbound | ||
and ( | ||
// display name contains bbb | ||
( | ||
regex.icontains(strings.replace_confusables(sender.display_name), | ||
'(?:\bBBB\b|better business bureau)' | ||
) | ||
// or levenshtein distance similar to the full name | ||
or strings.ilevenshtein(strings.replace_confusables(sender.display_name), | ||
'better business bureau' | ||
) <= 1 | ||
) | ||
// and the sender is not in org_domains or from the bbb and passes auth | ||
and not ( | ||
sender.email.domain.root_domain in ("bbb.org") | ||
and headers.auth_summary.dmarc.pass | ||
) | ||
) | ||
// and the sender is not from high trust sender root domains | ||
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 | ||
) | ||
// not solicited | ||
and not profile.by_sender().solicited | ||
attack_types: | ||
- "Credential Phishing" | ||
- "BEC/Fraud" | ||
tactics_and_techniques: | ||
- "Impersonation: Brand" | ||
- "Social engineering" | ||
detection_methods: | ||
- "Sender analysis" | ||
id: "76f54e5f-c937-5693-b8e7-3ced7dac61f9" | ||
testing_pr: 2168 | ||
testing_sha: ea91adda6c0e70d4251865c95de26a1de959ded5 |