Skip to content

Commit

Permalink
New Rule: Body contains Advance Fee language (#856)
Browse files Browse the repository at this point in the history
Co-authored-by: ID Generator <[email protected]>
Co-authored-by: Sam Scholten <[email protected]>
  • Loading branch information
3 people authored Oct 17, 2023
1 parent ae46cc8 commit f107a5a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions detection-rules/body_advance_fee_new_sender.yml
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"

0 comments on commit f107a5a

Please sign in to comment.