Skip to content

Commit

Permalink
Negate FP: body_business_email_compromise_unsolicited.yml (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Sep 22, 2023
1 parent f6052cb commit 0fe0450
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 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,22 @@ 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 +54,7 @@ source: |
and sender.email.domain.domain not in $recipient_domains
)
)
attack_types:
- "BEC/Fraud"
tactics_and_techniques:
Expand Down

0 comments on commit 0fe0450

Please sign in to comment.