• Sublime Core Feed
Medium Severity

Attachment with unscannable encrypted zip (unsolicited)

Description

Recursively scans files and archives to detect embedded ZIP files that are encrypted and could not be opened/scanned.

Sublime Security
Created Aug 17th, 2023 • Last updated Jul 16th, 2025
Source
type.inbound
and any(attachments,
        (.file_type == "zip" or .file_extension == "zip")
        and any(file.explode(.),
                any(.flavors.yara, . == 'encrypted_zip')
                and .scan.encrypted_zip.cracked_password == null
        )
)
and (
  not profile.by_sender().solicited
  or (
    profile.by_sender().any_messages_malicious_or_spam
    and not profile.by_sender().any_messages_benign
  )
)
MQL Rule Console
DocsLearning Labs

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Deploy and integrate a free Sublime instance in minutes.
Get Started