Sublime Security medium experimental mql

Notion suspicious file share

Message contains a notion link that contains suspicious terms. You may need to deactivate or fork this rule if your organization uses Notion.

View Source

Detection Logic

type.inbound
and any(body.links,
        .href_url.domain.root_domain in~ ("notion.so", "notion.site")
        and (
          strings.ilike(.href_url.url,
                        '*shared*',
                        '*document*',
                        '*secure*',
                        '*office*',
                        '*important*',
                        '*wants-to*',
                        '*share*',
                        '*statement*'
          )
          or strings.ilike(.display_url.url,
                           '*shared*',
                           '*document*',
                           '*secure*',
                           '*office*',
                           '*important*',
                           '*wants-to*',
                           '*share*',
                           '*statement*'
          )
          or strings.ilike(.display_text,
                           '*shared*',
                           '*document*',
                           '*secure*',
                           '*office*',
                           '*important*',
                           '*wants-to*',
                           '*share*',
                           '*statement*'
          )
        )
)
and sender.email.domain.domain != 'mail.notion.so'
and (
  profile.by_sender().prevalence in ("new", "outlier")
  or (
    profile.by_sender().any_messages_malicious_or_spam
    and not profile.by_sender().any_messages_benign
  )
)

Field Validations

Loading…

Comments (0)

Loading comments...