Skip to content

Commit

Permalink
Sync from PR#922
Browse files Browse the repository at this point in the history
Update body_advance_fee_new_sender.yml by @morriscode
#922
Source SHA cfbd6ec
Triggered by @morriscode
  • Loading branch information
Sublime Rule Testing Bot committed Nov 6, 2023
1 parent 7096376 commit 07b9f30
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions detection-rules/body_advance_fee_new_sender.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: "Body: Advance Fee Fraud (AFF) from Freemail providers or Suspicious TLDs"
description: |
Advance 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")
)
or (
length(body.current_thread.text) < 200
and regex.icontains(body.current_thread.text,
'(donation|inheritence|\$\d,\d\d\d\,\d\d\d|lottery)'
)
)
)
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"
testing_pr: 922
testing_sha: cfbd6ecc6b94416e898a284b2601d838eb91b83a

0 comments on commit 07b9f30

Please sign in to comment.