Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update body_advance_fee_new_sender.yml #922

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions detection-rules/body_advance_fee_new_sender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,23 @@ source: |
)
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")
any(ml.nlu_classifier(body.current_thread.text).tags,
.name == "advance_fee" and .confidence in ("medium", "high")
)
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_false_positives
length(body.current_thread.text) < 200
and regex.icontains(body.current_thread.text,
'(donation|inheritence|\$\d,\d{3}\,\d{3}|lottery)'
)
)
)

and (
not profile.by_sender().solicited
or profile.by_sender().any_messages_malicious_or_spam
)

and not profile.by_sender().any_false_positives
attack_types:
- "BEC/Fraud"
tactics_and_techniques:
Expand Down
Loading