Open redirect: Slack

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

Sublime rule (View on GitHub)

 1name: "Open redirect: Slack"
 2description: |
 3    Message contains use of Slack's open redirect but the sender is not Slack.
 4type: "rule"
 5severity: "low"
 6source: |
 7  type.inbound
 8  and 0 < length(body.links) < 10
 9  and sender.email.domain.root_domain not in~ (
10    'atlassian.net',
11    'slack.com',
12    'soundtrap.com'
13  )
14  and any(body.links,
15          .href_url.domain.domain == 'slack-redir.net'
16          and strings.ilike(.href_url.query_params, '*url=*')
17  )  
18tags:
19  - "Attack surface reduction"
20attack_types:
21  - "Credential Phishing"
22  - "Malware/Ransomware"
23tactics_and_techniques:
24  - "Open redirect"
25detection_methods:
26  - "Sender analysis"
27  - "URL analysis"
28id: "1b15f4a3-e7ab-56c1-9ba3-f63788389ebe"

Related rules

to-top