Description

Detects inbound messages impersonating the U.S. Securities and Exchange Commission (SEC) through sender display names, body content, or NLU-detected sender entities referencing the SEC or sec.gov. Also flags messages containing SEC-related language paired with links to lookalike domains mimicking sec.gov. Excludes messages from highly trusted sender domains that pass DMARC authentication.

References

No references.

Sublime Security
Created Oct 27th, 2026 • Last updated Oct 27th, 2026
Source
type.inbound
and (
  regex.icontains(sender.display_name,
                  '^sec\.gov\b',
                  'sec\.gov[\s.]*client',
                  '^sec[\s-]?(?:gov|compliance|enforcement|division)\b',
                  'securities\s+and\s+exchange\s+commission'
  )
  or any(ml.nlu_classifier(body.current_thread.text).entities,
         .name == "sender"
         and strings.icontains(.text, 'securities and exchange commission')
  )
  or (
    (
      strings.icontains(body.current_thread.text, 'u.s. securities')
      or strings.icontains(sender.display_name, 'sec.gov')
    )
    and any(body.links,
            (
              regex.icontains(.href_url.domain.domain, 'sec\.?gov')
              and .href_url.domain.root_domain != "sec.gov"
            )
            or regex.icontains(.href_url.domain.subdomain, 'w{2,3}\.?secgov')
    )
  )
)
and not any(ml.nlu_classifier(body.current_thread.text).topics,
            .name in ("Newsletters and Digests", "News and Current Events")
)
and not (
  (
    sender.email.domain.root_domain in $high_trust_sender_root_domains
    or sender.email.domain.root_domain in ("govdelivery.com")
  )
  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