Open redirect: listing.ca

Message contains use of the listing.ca redirect. This has been exploited in the wild.

Sublime rule (View on GitHub)

 1name: "Open redirect: listing.ca"
 2description: |
 3    Message contains use of the listing.ca 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 == "listing.ca"
10          and strings.icontains(.href_url.query_params, 'goto=')
11          and not regex.icontains(.href_url.query_params,
12                                  'goto=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*listing\.ca(?:\&|\/|$|%2f)'
13          )
14  )
15  and not sender.email.domain.root_domain == "listing.ca"
16  
17  // negate highly trusted sender domains unless they fail DMARC authentication
18  and not (
19    sender.email.domain.root_domain in $high_trust_sender_root_domains
20    and coalesce(headers.auth_summary.dmarc.pass, false)
21  )  
22attack_types:
23  - "Credential Phishing"
24  - "Malware/Ransomware"
25tactics_and_techniques:
26  - "Open redirect"
27detection_methods:
28  - "Sender analysis"
29  - "URL analysis"
30id: "e90871fe-cc9d-59e8-8057-93c4a3f785be"
to-top