EXPLORE
← Back to Explore
sublimemediumRule

Open redirect: YouTube --> Google Redirection Chain

Message contains use of a redirect chain which involves YouTube and Google amp. This has been exploited in the wild.

Detection Query

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\/+'
          )
        )
)

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email
Raw Content
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"