-
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.
New Rule: Body contains Advance Fee language (#856)
Co-authored-by: ID Generator <[email protected]> Co-authored-by: Sam Scholten <[email protected]>
- Loading branch information
1 parent
ae46cc8
commit f107a5a
Showing
1 changed file
with
46 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,46 @@ | ||
name: "Body: Advanced Fee Fraud (AFF) from Freemail providers or Suspicious TLDs" | ||
description: | | ||
Advanced Fee Fraud (AFF) is a type of BEC/Fraud involving upfront fees for promised | ||
future returns, such as lottery scams, inheritance payouts, and investment opportunities. | ||
This rule identifies messages from Freemail domains or suspicious TLDS, including those | ||
with suspicious reply-to addresses. It utilizes Natural Language Understanding to detect | ||
AFF language in their contents. | ||
type: "rule" | ||
severity: "medium" | ||
source: | | ||
type.inbound | ||
and ( | ||
sender.email.domain.domain in $free_email_providers | ||
or ( | ||
length(headers.reply_to) > 0 | ||
and all(headers.reply_to, | ||
( | ||
.email.domain.root_domain in $free_email_providers | ||
or .email.domain.tld in $suspicious_tlds | ||
) | ||
and .email.email != sender.email.email | ||
) | ||
) | ||
or sender.email.domain.tld in $suspicious_tlds | ||
) | ||
and any(ml.nlu_classifier(body.current_thread.text).tags, | ||
.name == "advance_fee" and .confidence in ("medium", "high") | ||
) | ||
and ( | ||
profile.by_sender().prevalence in ("new", "outlier") | ||
or ( | ||
profile.by_sender().any_messages_malicious_or_spam | ||
and not profile.by_sender().any_false_positives | ||
) | ||
) | ||
attack_types: | ||
- "BEC/Fraud" | ||
tactics_and_techniques: | ||
- "Social engineering" | ||
detection_methods: | ||
- "Content analysis" | ||
- "Header analysis" | ||
- "Natural Language Understanding" | ||
- "Sender analysis" | ||
id: "6a5af373-a97b-5013-aeec-42ac8b4b8ba1" |