Skip to content

Commit

Permalink
Update open_redirect_youtube.yml (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Dec 5, 2023
1 parent fe1588e commit 139ea8f
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion detection-rules/open_redirect_youtube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,29 @@ source: |
.href_url.domain.root_domain == "youtube.com"
and strings.icontains(.href_url.url, "attribution_link?")
)
and sender.email.domain.root_domain != "youtube.com"
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
.authentication_results.dmarc_details.from.domain != "youtube.com"
)
)
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
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 sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
and (
not profile.by_sender().solicited
or profile.by_sender().any_messages_malicious_or_spam
)
attack_types:
- "Credential Phishing"
- "Malware/Ransomware"
Expand Down

0 comments on commit 139ea8f

Please sign in to comment.