Sublime Security low experimental mql

Link: Gmail confidential mode message with suspicious recipient patterns

Detects Gmail confidential mode messages where the sender is the only recipient or there are no valid recipients, a pattern used to deliver actor-controlled content that cannot be scanned.

View Source

Detection Logic

type.inbound
and any(body.current_thread.links,
        .href_url.domain.domain == "confidential-mail.google.com"
        and strings.istarts_with(.href_url.path, "/msg/")
)
and (
  // self sender
  (
    length(recipients.to) == 1
    and recipients.to[0].email.email == sender.email.email
  )
  // no valid recipients at all
  or (
    length(filter(recipients.to, .email.domain.valid)) == 0
    and not length(filter(recipients.cc, .email.domain.valid)) == 1
  )
)

False Positives

  • ⚠ Some senders commonly send messages which match this behavior, sender exclusions should be used to avoid continued/repeat matching of benign messages

Field Validations

Loading…

Comments (0)

Loading comments...