Detection rules › Sublime MQL

Open redirect: Slack

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

Message contains use of Slack's open redirect but the sender is not Slack.

Threat classification

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

CategoryValues
Attack typesCredential Phishing, Malware/Ransomware
Tactics and techniquesOpen redirect

Event coverage

Rule body MQL

type.inbound
and 0 < length(body.links) < 10
and sender.email.domain.root_domain not in~ (
  'atlassian.net',
  'slack.com',
  'soundtrap.com'
)
and any(body.links,
        .href_url.domain.domain == 'slack-redir.net'
        and strings.ilike(.href_url.query_params, '*url=*')
)

Detection logic

Scope: inbound message.

Message contains use of Slack's open redirect but the sender is not Slack.

  1. inbound message
  2. all of:
    • length(body.links) > 0
    • length(body.links) < 10
  3. sender.email.domain.root_domain not in ('atlassian.net', 'slack.com', 'soundtrap.com')
  4. any of body.links where all hold:
    • .href_url.domain.domain is 'slack-redir.net'
    • .href_url.query_params matches '*url=*'

Inspects: body.links, body.links[].href_url.domain.domain, body.links[].href_url.query_params, sender.email.domain.root_domain, type.inbound. Sensors: strings.ilike.

Indicators matched (5)

FieldMatchValue
sender.email.domain.root_domainmemberatlassian.net
sender.email.domain.root_domainmemberslack.com
sender.email.domain.root_domainmembersoundtrap.com
body.links[].href_url.domain.domainequalsslack-redir.net
strings.ilikesubstring*url=*