Sublime Security medium experimental mql

Attachment: PDF file with low reputation link to ZIP file (unsolicited)

Detects messages with PDF attachments linking directly to zip files from unsolicited senders.

View Source

Detection Logic

type.inbound
and any(ml.nlu_classifier(body.current_thread.text).entities,
        .name == "request"
)
and any(attachments,
        .file_extension == "pdf"
        and any(file.explode(.),
                any(.scan.pdf.urls,
                    regex.contains(.url, '\.(?:zip)')
                    and .domain.root_domain not in $tranco_1m
                )
        )
)
and (
  not profile.by_sender().solicited
  or (
    profile.by_sender().any_messages_malicious_or_spam
    and not profile.by_sender().any_messages_benign
  )
)

Field Validations

Loading…

Comments (0)

Loading comments...