Skip to content

Commit

Permalink
Sync from PR#2291
Browse files Browse the repository at this point in the history
Create open_redirect_youtube_google.yml by @zoomequipd
#2291
Source SHA e18e747
Triggered by @zoomequipd
  • Loading branch information
Sublime Rule Testing Bot committed Jan 9, 2025
1 parent 4e4a776 commit e8605ba
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions detection-rules/open_redirect_youtube_google.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Open Redirect: YouTube --> Google Redirection Chain"
description: |
Message contains use of a redirect chain which involves YouTube and Google amp. This has been exploited in the wild.
type: "rule"
severity: "medium"
source: |
type.inbound
and any(body.links,
(
.href_url.domain.root_domain == "youtube.com"
and strings.icontains(.href_url.path, 'logout')
// the redirect field
and strings.icontains(.href_url.query_params, "continue=")
and regex.icontains(.href_url.query_params, '&continue=(?:https?)?(?:(?:%3a|\:)?(?:\/|%2f){2})?google\.com[^\&]*\/+amp\/+s\/+')
)
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Open redirect"
detection_methods:
- "Sender analysis"
- "URL analysis"
id: "67823fac-cb03-5aea-a8ff-782e2e8c42d4"
testing_pr: 2291
testing_sha: e18e747ec8ead2ac7dde90bf0a77dafb6edb3177

0 comments on commit e8605ba

Please sign in to comment.