Detection rules › Sublime MQL
Attachment: Excel file with suspicious template identifier
Detects Excel attachments containing a specific template identifier (TM16390866) in the EXIF metadata, which may indicate malicious or suspicious document templates being used to distribute harmful content.
Threat classification
Sublime's own taxonomy (not MITRE ATT&CK).
| Category | Values |
|---|---|
| Attack types | Credential Phishing |
| Tactics and techniques | Evasion, Macros |
Event coverage
| Message attribute |
|---|
| attachments (collection) |
| type |
Rule body MQL
type.inbound
and any(attachments,
.file_type == "xlsx"
and any(beta.parse_exif(.).fields,
.key == "Template" and .value == "TM16390866"
)
)
Detection logic
Scope: inbound message.
Detects Excel attachments containing a specific template identifier (TM16390866) in the EXIF metadata, which may indicate malicious or suspicious document templates being used to distribute harmful content.
- inbound message
any of
attachmentswhere all hold:- .file_type is 'xlsx'
any of
beta.parse_exif(.).fieldswhere all hold:- .key is 'Template'
- .value is 'TM16390866'
Inspects: attachments[].file_type, type.inbound. Sensors: beta.parse_exif.
Indicators matched (3)
| Field | Match | Value |
|---|---|---|
attachments[].file_type | equals | xlsx |
beta.parse_exif(attachments[]).fields[].key | equals | Template |
beta.parse_exif(attachments[]).fields[].value | equals | TM16390866 |