Skip to content

Commit

Permalink
Sync from PR#2168
Browse files Browse the repository at this point in the history
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.
45 changes: 45 additions & 0 deletions detection-rules/brand_impersonation_bbb.yml
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

0 comments on commit 58bb136

Please sign in to comment.