Skip to content

Commit

Permalink
Update detection-rules/body_microsoft_logo_bing_redirect.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Ross Wolf <[email protected]>
  • Loading branch information
morriscode and rw-access authored Oct 18, 2023
1 parent ce37817 commit daadfc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion detection-rules/body_microsoft_logo_bing_redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ source: |
)
// Bing redirect
and any(body.links, any(.href_url.rewrite.encoders, strings.contains(., "bing_open_redirect")))
and any(body.links,
(.href_url.domain.root_domain == 'bing.com' and .href_url.path =~ '/ck/a')
or "bing_open_redirect" in .href_url.rewrite.encoders
)
and sender.email.domain.root_domain not in $org_domains
and sender.email.domain.root_domain not in (
"bing.com",
Expand Down

0 comments on commit daadfc7

Please sign in to comment.