Detection rules › Sublime MQL

Brand impersonation: Google Careers

Severity
high
Type
rule
Source
github.com/sublime-security/sublime-rules

Detects messages impersonating Google Careers or job opportunities in multiple languages that contain links to domains other than Google's legitimate domains, from senders not authenticated as Google.

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesCredential Phishing
Tactics and techniquesImpersonation: Brand, Social engineering

Event coverage

Rule body MQL

type.inbound
and (
  strings.icontains(body.current_thread.text, 'Google Careers')
  or strings.icontains(body.current_thread.text, 'GoogleCareers')
  // Spanish
  or strings.icontains(body.current_thread.text, 'Google Carreras')
  or strings.icontains(body.current_thread.text, 'GoogleCarreras')
  // German Norwegian
  or strings.icontains(body.current_thread.text, 'Google Karriere')
  or strings.icontains(body.current_thread.text, 'GoogleKarriere')
  // Swedish
  or strings.icontains(body.current_thread.text, 'Google Karriär')
  or strings.icontains(body.current_thread.text, 'GoogleKarriär')
  // Dutch
  or strings.icontains(body.current_thread.text, 'Google Carrières')
  or strings.icontains(body.current_thread.text, 'GoogleCarrières')
  // Turkish
  or strings.icontains(body.current_thread.text, 'Google Kariyer')
  or strings.icontains(body.current_thread.text, 'GoogleKariyer')
  // The screenshot OCR captures google careers or the google logo
  or (
    sender.email.domain.root_domain == "salesforce.com"
    and (
      regex.icontains(beta.ocr(file.message_screenshot()).text,
                      "google careers"
      )
      or any(ml.logo_detect(file.message_screenshot()).brands,
             strings.starts_with(.name, "Google")
      )
    )
  )
)
and not any(body.links, .href_url.domain.root_domain in ("google.com", "c.gle"))
and not (
  sender.email.domain.root_domain in ("google.com", "sublimesecurity.com")
  and headers.auth_summary.dmarc.pass
)

Detection logic

Scope: inbound message.

Detects messages impersonating Google Careers or job opportunities in multiple languages that contain links to domains other than Google's legitimate domains, from senders not authenticated as Google.

  1. inbound message
  2. any of:
    • body.current_thread.text contains 'Google Careers'
    • body.current_thread.text contains 'GoogleCareers'
    • body.current_thread.text contains 'Google Carreras'
    • body.current_thread.text contains 'GoogleCarreras'
    • body.current_thread.text contains 'Google Karriere'
    • body.current_thread.text contains 'GoogleKarriere'
    • body.current_thread.text contains 'Google Karriär'
    • body.current_thread.text contains 'GoogleKarriär'
    • body.current_thread.text contains 'Google Carrières'
    • body.current_thread.text contains 'GoogleCarrières'
    • body.current_thread.text contains 'Google Kariyer'
    • body.current_thread.text contains 'GoogleKariyer'
    • all of:
      • sender.email.domain.root_domain is 'salesforce.com'
      • any of:
        • beta.ocr(file.message_screenshot()).text matches 'google careers'
        • any of ml.logo_detect(file.message_screenshot()).brands where:
          • .name starts with 'Google'
  3. not:
    • any of body.links where:
      • .href_url.domain.root_domain in ('google.com', 'c.gle')
  4. not:
    • all of:
      • sender.email.domain.root_domain in ('google.com', 'sublimesecurity.com')
      • headers.auth_summary.dmarc.pass

Inspects: body.current_thread.text, body.links, body.links[].href_url.domain.root_domain, headers.auth_summary.dmarc.pass, sender.email.domain.root_domain, type.inbound. Sensors: beta.ocr, file.message_screenshot, ml.logo_detect, regex.icontains, strings.icontains, strings.starts_with.

Indicators matched (19)

FieldMatchValue
strings.icontainssubstringGoogle Careers
strings.icontainssubstringGoogleCareers
strings.icontainssubstringGoogle Carreras
strings.icontainssubstringGoogleCarreras
strings.icontainssubstringGoogle Karriere
strings.icontainssubstringGoogleKarriere
strings.icontainssubstringGoogle Karriär
strings.icontainssubstringGoogleKarriär
strings.icontainssubstringGoogle Carrières
strings.icontainssubstringGoogleCarrières
strings.icontainssubstringGoogle Kariyer
strings.icontainssubstringGoogleKariyer
7 more
sender.email.domain.root_domainequalssalesforce.com
regex.icontainsregexgoogle careers
strings.starts_withprefixGoogle
body.links[].href_url.domain.root_domainmembergoogle.com
body.links[].href_url.domain.root_domainmemberc.gle
sender.email.domain.root_domainmembergoogle.com
sender.email.domain.root_domainmembersublimesecurity.com