Low Severity

BEC/Fraud: Generic scam attempt to undisclosed recipients

Description

Detects potential generic scams by analyzing text within the email body and other suspicious signals.

References

No references.

Sublime Security
Created Nov 22nd, 2023 • Last updated Sep 23rd, 2026
Source
type.inbound

// undisclosed recipients
and any([recipients.to, recipients.bcc, recipients.cc],
        any(., .display_name =~ "Undisclosed recipients")
)

// mismatched sender (from) and Reply-to
and (
  length(headers.reply_to) > 0
  and all(headers.reply_to,
          .email.domain.root_domain != sender.email.domain.root_domain
  )
)

// generic recipient
and any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "recipient" and regex.icontains(.text, "(sir|madam)")
)

// request made
and any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "request"
)

// not a bec scam
and all(ml.nlu_classifier(body.current_thread.text).intents, .name != "bec")

// 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