Sublime Security medium experimental mql

Impersonation: Salesforce fake campaign failure notification

Detects messages impersonating Salesforce with urgent language about failed or cancelled campaigns, containing external links from first-time senders outside legitimate Salesforce domains.

View Source

Detection Logic

type.inbound
and strings.icontains(sender.display_name, "salesforce")
and sender.email.domain.root_domain not in (
  "salesforce.com",
  "force.com",
  "site.com",
  "agentforce.com"
)
and length(attachments) == 0
// theare are external links (not org or SF domains)
and length(filter(body.links,
                  .href_url.domain.domain not in $org_domains
                  and .href_url.domain.root_domain not in (
                    "salesforce.com",
                    "force.com",
                    "site.com" // salesforce CRM 
                  )
           )
) > 0
and length(body.current_thread.text) <= 600
and strings.contains(body.current_thread.text, 'campaign')
and any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "urgency" and regex.icontains(.text, "(failed
| cancelled)")
)
and any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "request"
)

Field Validations

Loading…

Comments (0)

Loading comments...