Skip to content

Commit

Permalink
Sync from PR#2327
Browse files Browse the repository at this point in the history
Create open_redirect_smartadserver.yml by @zoomequipd
#2327
Source SHA 9652197
Triggered by @zoomequipd
  • Loading branch information
Sublime Rule Testing Bot committed Jan 23, 2025
1 parent b3ff549 commit 277b063
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions detection-rules/open_redirect_smartadserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Open Redirect: smartadserver.com"
description: |
Message contains use of the smartadserver.com redirect. This has been exploited in the wild.
type: "rule"
severity: "medium"
source: |
type.inbound
and any(body.links,
.href_url.domain.root_domain == "smartadserver.com"
and strings.icontains(.href_url.query_params, 'go=')
and not strings.icontains(.href_url.query_params,
'go=https?(?:%3a|:)(?:%2f|\/){2}(?:[^\/]+)?smartadserver.com\/'
)
)
// remove uses that originate from smartadserver.com
and not any(headers.domains, .root_domain == "smartadserver.com")
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and not headers.auth_summary.dmarc.pass
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
- "Malware/Ransomware"
tactics_and_techniques:
- "Open redirect"
detection_methods:
- "Sender analysis"
- "URL analysis"
id: "27e5a585-891d-549d-af34-e2b8dff6d64e"
testing_pr: 2327
testing_sha: 96521975583335deba00080137e1a05e44262e9f

0 comments on commit 277b063

Please sign in to comment.