Description

Message contains use of calgary.ca's open redirect but the sender is not the City of Calgary.

References

No references.

Sublime Security
Created Sep 11th, 2024 • Last updated Sep 23rd, 2026
Source
type.inbound
and any(body.links,
        .href_url.domain.root_domain == 'calgary.ca'
        and .href_url.path =~ '/_layouts/cocis/DirectDownload.aspx'
        and strings.icontains(.href_url.query_params, "redirect")
)
and sender.email.domain.root_domain != 'calgary.ca'

// negate highly trusted sender domains unless they fail DMARC authentication
and not (
  sender.email.domain.root_domain in $high_trust_sender_root_domains
  and coalesce(headers.auth_summary.dmarc.pass, false)
)
MQL Rule Console
•Docs•Learning Labs

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Deploy and integrate a free Sublime instance in minutes.
Get Started