Open redirect: McGill University

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

Sublime rule (View on GitHub)

 1name: "Open redirect: McGill University"
 2description: |
 3    Message contains use of McGill University's open redirect but the sender is not McGill University.
 4type: "rule"
 5severity: "low"
 6source: |
 7  type.inbound
 8  and any(body.links,
 9          .href_url.domain.domain == 'myalumni.mcgill.ca'
10          and .href_url.path =~ '/redirect.aspx'
11  )
12  and any(body.links, strings.ilike(.href_url.query_params, '*tokenUrl=*'))
13  and sender.email.domain.root_domain != 'mcgill.ca'  
14attack_types:
15  - "Credential Phishing"
16  - "Malware/Ransomware"
17tactics_and_techniques:
18  - "Open redirect"
19detection_methods:
20  - "Sender analysis"
21  - "URL analysis"
22id: "5d006c90-a585-576f-84af-d4f9e4365d39"
to-top