Sublime Security medium experimental mql

Attachment with encrypted zip (unsolicited)

Recursively scans files and archives to detect encrypted zip files.

View Source

Detection Logic

type.inbound
and any(attachments,
        (.file_type == "zip" or .file_extension == "zip")
        and any(file.explode(.), any(.flavors.yara, . == 'encrypted_zip'))
)
and (
  not profile.by_sender().solicited
  or (
    profile.by_sender().any_messages_malicious_or_spam
    and not profile.by_sender().any_messages_benign
  )
)
and not profile.by_sender().prevalence == "common"

Field Validations

Loading…

Comments (0)

Loading comments...