Detection rules › Sublime MQL

Open redirect: Cartoon Network

Severity
medium
Type
rule
Source
github.com/sublime-security/sublime-rules

This rule detects the use of Cartoon Network's Denmark domain as an open redirect.

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesCredential Phishing, Spam
Tactics and techniquesOpen redirect, Evasion

Event coverage

Rule body MQL

type.inbound
and any(body.links,
        .href_url.domain.sld == 'cartoonnetwork'
        // it has to be www. - not hitting the www doesn't work
        and .href_url.domain.subdomain == 'www'
        // the path startswith a double //
        and strings.starts_with(.href_url.path, '//')
        // the path has to end in a trailing /
        and strings.ends_with(.href_url.path, '/')
)

Detection logic

Scope: inbound message.

This rule detects the use of Cartoon Network's Denmark domain as an open redirect.

  1. inbound message
  2. any of body.links where all hold:
    • .href_url.domain.sld is 'cartoonnetwork'
    • .href_url.domain.subdomain is 'www'
    • .href_url.path starts with '//'
    • .href_url.path ends with '/'

Inspects: body.links, body.links[].href_url.domain.sld, body.links[].href_url.domain.subdomain, body.links[].href_url.path, type.inbound. Sensors: strings.ends_with, strings.starts_with.

Indicators matched (4)

FieldMatchValue
body.links[].href_url.domain.sldequalscartoonnetwork
body.links[].href_url.domain.subdomainequalswww
strings.starts_withprefix//
strings.ends_withsuffix/