Skip to content

Commit

Permalink
Update body_microsoft_logo_bing_redirect.yml
Browse files Browse the repository at this point in the history
Updating logic to handle bing_open_redirect encoder
  • Loading branch information
morriscode authored Oct 18, 2023
1 parent ff301af commit ce37817
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions detection-rules/body_microsoft_logo_bing_redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: "rule"
severity: "high"
source: |
type.inbound
// Microsoft logo
and (
any(attachments,
Expand Down Expand Up @@ -42,9 +42,9 @@ source: |
)
)
)
// Bing redirect
and any(body.links, .href_url.domain.root_domain == 'bing.com' and .href_url.path =~ '/ck/a')
and any(body.links, any(.href_url.rewrite.encoders, strings.contains(., "bing_open_redirect")))
and sender.email.domain.root_domain not in $org_domains
and sender.email.domain.root_domain not in (
"bing.com",
Expand All @@ -57,6 +57,7 @@ source: |
"sharepointonline.com",
"yammer.com"
)
attack_types:
- "BEC/Fraud"
tactics_and_techniques:
Expand Down

0 comments on commit ce37817

Please sign in to comment.