Open redirect: YouTube

Looks for use of the YouTube open redirect coming from someone other than YouTube.

Sublime rule (View on GitHub)

 1name: "Open redirect: YouTube"
 2description: |
 3    Looks for use of the YouTube open redirect coming from someone other than YouTube.
 4type: "rule"
 5severity: "medium"
 6authors:
 7  - twitter: "vector_sec"
 8source: |
 9  type.inbound
10  and any(body.links,
11          .href_url.domain.root_domain == "youtube.com"
12          and strings.icontains(.href_url.url, "attribution_link?")
13  )
14  and sender.email.domain.root_domain != "youtube.com"  
15attack_types:
16  - "Credential Phishing"
17  - "Malware/Ransomware"
18tactics_and_techniques:
19  - "Open redirect"
20detection_methods:
21  - "Sender analysis"
22  - "URL analysis"
23id: "fb33bffe-d3db-5acb-ae19-5ddc6b5b0b01"
to-top