Open redirect: ijf.org

Message contains use of the ijf.org redirect. This has been exploited in the wild.

Sublime rule (View on GitHub)

 1name: "Open redirect: ijf.org"
 2description: |
 3    Message contains use of the ijf.org redirect. This has been exploited in the wild.
 4type: "rule"
 5severity: "medium"
 6source: |
 7  type.inbound
 8  and any(body.links,
 9          .href_url.domain.root_domain == "ijf.org"
10          and strings.istarts_with(.href_url.path, '/cookies_agree')
11          and strings.icontains(.href_url.query_params, 'backTo=')
12          and not regex.icontains(.href_url.query_params,
13                                  'backTo=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*ijf\.org(?:\&|\/|$|%2f)'
14          )
15  )
16  and not sender.email.domain.root_domain == "ijf.org"
17  
18  // negate highly trusted sender domains unless they fail DMARC authentication
19  and not (
20    sender.email.domain.root_domain in $high_trust_sender_root_domains
21    and coalesce(headers.auth_summary.dmarc.pass, false)
22  )  
23attack_types:
24  - "Credential Phishing"
25  - "Malware/Ransomware"
26tactics_and_techniques:
27  - "Open redirect"
28detection_methods:
29  - "Sender analysis"
30  - "URL analysis"
31id: "aa07b31a-d1da-53ac-a40f-ea19375f96bd"
to-top