Sublime Security low experimental mql

Reconnaissance: Empty message from uncommon sender

Detects incoming messages that are completely empty, containing no subject line, message body content, or file attachments. Such messages may be used for reconnaissance, delivery confirmation, or as part of multi-stage attacks.

View Source

Detection Logic

type.inbound
and subject.base == ""
and length(attachments) == 0
and (
  // body is empty
  (
    (
      body.plain.raw is null
      or body.plain.raw == ""
      or regex.imatch(body.plain.raw, '^\s*$')
    )
    and (
      body.html.raw is null
      or body.html.raw == ""
      or regex.imatch(body.html.raw, '^\s*$')
    )
  )
  // account for disclaimers
  or (
    any(map(filter(ml.nlu_classifier(body.current_thread.text).entities,
                   .name == "disclaimer"
            ),
            .text
        ),
        (length(body.current_thread.text) - length(.)) == 0
    )
  )
)
and profile.by_sender().prevalence != "common"

Field Validations

Loading…

Comments (0)

Loading comments...