-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New insight: high_trust_auth_fail.yml (#1117)
- Loading branch information
1 parent
f3de4a3
commit dd72665
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "High trust sender domain failed authentication" | ||
type: "query" | ||
source: | | ||
filter([sender.email.email], | ||
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 ( | ||
any(distinct(headers.hops, .authentication_results.spf is not null), | ||
strings.ilike(.authentication_results.spf, "*fail") | ||
) | ||
) | ||
or ( | ||
any(distinct(headers.hops, .authentication_results.dkim is not null), | ||
strings.ilike(.authentication_results.dkim, "*fail") | ||
) | ||
) | ||
) | ||
) | ||
severity: "high" |