Open Redirect: LinkedIn Redirect

Message contains use of a LinkedIn Redirect. The redirect contains a 3 second delay before redirecting the browser. This redirection has been abused by threat actors in the wild.

Sublime rule (View on GitHub)

 1name: "Open Redirect: LinkedIn Redirect"
 2description: |
 3    Message contains use of a LinkedIn Redirect. The redirect contains a 3 second delay before redirecting the browser. This redirection has been abused by threat actors in the wild.
 4type: "rule"
 5severity: "medium"
 6source: |
 7  type.inbound
 8  and any(body.links,
 9          .href_url.domain.root_domain == "linkedin.com"
10          and .href_url.path =~ "/redir/redirect"
11          and strings.icontains(.href_url.query_params, 'url=')
12          and not any(.href_url.query_params_decoded["url"],
13                      strings.parse_url(.).domain.root_domain in (
14                        "lnkd.in",
15                        'linkedin.com'
16                      )
17          )
18  )
19  
20  // negate highly trusted sender domains unless they fail DMARC authentication
21  and (
22    (
23      sender.email.domain.root_domain in $high_trust_sender_root_domains
24      and not headers.auth_summary.dmarc.pass
25    )
26    or sender.email.domain.root_domain not in $high_trust_sender_root_domains
27  )  
28attack_types:
29  - "Credential Phishing"
30  - "Malware/Ransomware"
31tactics_and_techniques:
32  - "Open redirect"
33detection_methods:
34  - "Sender analysis"
35  - "URL analysis"
36id: "4ad2d505-4ca7-5201-bd78-6ae92cffb228"
to-top