Skip to content

Commit

Permalink
Add sender profile (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamdjou authored Nov 5, 2023
1 parent 7a5138a commit 500df97
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions detection-rules/recipients_undisclosed_compauth_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@ source: |
)
)
)
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
)
)
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
detection_methods:
- "Content analysis"
- "Computer Vision"
Expand Down

0 comments on commit 500df97

Please sign in to comment.