Detection rules › Sublime MQL

Attachment: TAR file with RAR type

Severity
high
Type
rule
Source
github.com/sublime-security/sublime-rules

Detects messages with TAR file extensions that are actually RAR file types. This mismatch between file extension and actual file type may indicate an evasion technique.

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesMalware/Ransomware
Tactics and techniquesEvasion

Event coverage

Rule body MQL

type.inbound
and any(attachments, .file_extension =~ "tar" and .file_type =~ "rar")

Detection logic

Scope: inbound message.

Detects messages with TAR file extensions that are actually RAR file types. This mismatch between file extension and actual file type may indicate an evasion technique.

  1. inbound message
  2. any of attachments where all hold:
    • .file_extension is 'tar'
    • .file_type is 'rar'

Inspects: attachments[].file_extension, attachments[].file_type, type.inbound.

Indicators matched (2)

FieldMatchValue
attachments[].file_extensionequalstar
attachments[].file_typeequalsrar