Skip to content

Commit

Permalink
Negate FP: body_business_email_compromise_unsolicited.yml
Browse files Browse the repository at this point in the history
Adding dmarc or gmail autoforward checks in conjunction with "via" in display name
  • Loading branch information
morriscode authored Sep 20, 2023
1 parent fdf9156 commit 2dc8b78
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion detection-rules/body_business_email_compromise_unsolicited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,20 @@ source: |
)
),
)
// negate "via" senders via dmarc authentication or gmail autoforwards
and (
(
not any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "pass")
or not any([headers.return_path.email],
strings.ilike(headers.return_path.local_part, "*+caf_=*")
)
)
and strings.contains(sender.display_name, "via")
)
)
// unsolicited
and (
(
Expand All @@ -39,6 +52,7 @@ source: |
and sender.email.domain.domain not in $recipient_domains
)
)
attack_types:
- "BEC/Fraud"
tactics_and_techniques:
Expand Down

0 comments on commit 2dc8b78

Please sign in to comment.