Description

Detects messages impersonating State Farm insurance company through display name spoofing or similar variations, excluding legitimate communications from verified State Farm domains with proper DMARC authentication.

References

No references.

Sublime Security
Created Dec 17th, 2025 • Last updated Sep 23rd, 2026
Source
type.inbound
and (
  (
    regex.icontains(sender.display_name, 'state\s?farm')
    and not (
      strings.icontains(sender.display_name, "state farm")
      and strings.icontains(sender.display_name,
                            "center",
                            "arena",
                            "stadium",
                            "hall",
                            "classic",
                            "showdown",
                            "perks at work"
      )
    )
  )
  or (
    any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "org" and regex.imatch(.text, 'state farm')
    )
    and strings.icontains(body.current_thread.text,
                          'short survey',
                          'loyalty program'
    )
  )
)

// and the sender is not in org_domains or from State Farm domains
and not (
  sender.email.domain.valid
  and (
    sender.email.domain.root_domain in $org_domains
    or sender.email.domain.root_domain in $high_trust_sender_root_domains
    or sender.email.domain.root_domain in (
      "statefarm.com",
      "statefarminsurance.com",
      "statefarm.ca",
      "statefarmbank.com",
      "sfauthentication.com",
      "statefarmarena.com",
      "statefarmservice.com",
      "statefarmisthere.com",
      "digitalpayouts.com", // State Farm use this domain for claim payouts
      "aravo.com", // risk management company State Farm uses
      "statefarmclaims.com",
      "statefarmfeedback.com", // legit survey
      "statefarmsurveys.com", // legit survey
      "nationalesurvey.com",
      "sfdividend.com" // dividend payout email from State Farm
    )
  )
)
// 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