EXPLORE
← Back to Explore
sublimemediumRule

Open redirect: ijf.org

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

Detection Query

type.inbound
and any(body.links,
        .href_url.domain.root_domain == "ijf.org"
        and strings.istarts_with(.href_url.path, '/cookies_agree')
        and strings.icontains(.href_url.query_params, 'backTo=')
        and not regex.icontains(.href_url.query_params,
                                'backTo=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*ijf\.org(?:\&|\/|$|%2f)'
        )
)
and not sender.email.domain.root_domain == "ijf.org"

// negate highly trusted sender domains unless they fail DMARC authentication
and (
  (
    sender.email.domain.root_domain in $high_trust_sender_root_domains
    and not headers.auth_summary.dmarc.pass
  )
  or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email
Raw Content
name: "Open redirect: ijf.org"
description: |
  Message contains use of the ijf.org redirect. This has been exploited in the wild.
type: "rule"
severity: "medium"
source: |
  type.inbound
  and any(body.links,
          .href_url.domain.root_domain == "ijf.org"
          and strings.istarts_with(.href_url.path, '/cookies_agree')
          and strings.icontains(.href_url.query_params, 'backTo=')
          and not regex.icontains(.href_url.query_params,
                                  'backTo=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*ijf\.org(?:\&|\/|$|%2f)'
          )
  )
  and not sender.email.domain.root_domain == "ijf.org"
  
  // negate highly trusted sender domains unless they fail DMARC authentication
  and (
    (
      sender.email.domain.root_domain in $high_trust_sender_root_domains
      and not headers.auth_summary.dmarc.pass
    )
    or sender.email.domain.root_domain not in $high_trust_sender_root_domains
  )
attack_types:
  - "Credential Phishing"
  - "Malware/Ransomware"
tactics_and_techniques:
  - "Open redirect"
detection_methods:
  - "Sender analysis"
  - "URL analysis"
id: "aa07b31a-d1da-53ac-a40f-ea19375f96bd"