Sublime Security high experimental mql

Brand impersonation: Wells Fargo

Impersonation of Wells Fargo Bank.

View Source

Detection Logic

type.inbound
and (
  sender.display_name =~ 'wellsfargo'
  or strings.ilevenshtein(strings.replace_confusables(sender.display_name),
                          'wellsfargo'
  ) <= 1
  or regex.icontains(strings.replace_confusables(sender.display_name),
                     'we(ll
| ii)s?\s?farg(o
| o͙)'
  )
  or strings.ilike(sender.email.domain.domain, '*wellsfargo*')
  or strings.ilike(subject.subject, '*wells fargo security*')
  or strings.ilike(body.plain.raw, '*wells fargo security team*')
  or strings.ilike(body.html.inner_text, '*wells fargo security team*')
  // Wells Fargo & Company (WFC)
  or (
    regex.icontains(sender.display_name, '\bW.?F.?C\b')
    and any([sender.display_name, subject.base],
            strings.ilike(.,
                          '*bank*',
                          '*security*',
                          '*processing*',
                          '*approval*',
                          '*refund*'
            )
    )
  )
)
and sender.email.domain.root_domain not in~ (
  'wellsfargo.com',
  'wellsfargoadvisors.com',
  'transunion.com',
  'wellsfargoemail.com',
  'wellsfargorewards.com',
  'comcast-spectacor.com',
  'investordelivery.com',
  'comcastspectacor.com',
  'wfadvisors.com',
  'wellsfargomerchantservicesllc.com'
)
and (
  sender.email.email not in $recipient_emails
  or regex.icontains(sender.email.email, "no.?reply")
)

// negate highly trusted sender domains unless they fail DMARC authentication
and (
  (
    sender.email.domain.root_domain in $high_trust_sender_root_domains
    and not headers.auth_summary.dmarc.pass
  )
  or sender.email.domain.root_domain not in $high_trust_sender_root_domains
  or sender.email.email in (
    "drive-shares-noreply@google.com",
    "drive-shares-dm-noreply@google.com"
  ) // Google Drive abuse has been observed
)

Field Validations

Loading…

Comments (0)

Loading comments...