High Severity

Attachment: LNK file

Description

Recursively scans files and archives to detect LNK connection files.

LNK files can be weaponised to execute arbitrary commands including unpacking and running executable content embedded within the file itself.

Sublime Security
Created Aug 17th, 2023 • Last updated Nov 12th, 2026
Source
type.inbound
and any(attachments,
        .file_extension =~ "lnk"
        or (
          .file_extension in~ $file_extensions_common_archives
          and any(file.explode(.), .file_extension =~ "lnk")
        )
)
MQL Rule Console
•Docs•Learning 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