Detection rules › Sublime MQL

Attachment: PDF with specific author metadata

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

Detects inbound messages containing PDF attachments where the EXIF metadata indicates the author or creator is 'Shelby Porter'.

Threat classification

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

CategoryValues
Attack typesCredential Phishing
Tactics and techniquesPDF

Event coverage

Rule body MQL

type.inbound
and length(filter(attachments, .file_type == "pdf")) >= 1
and any(filter(attachments, .file_type == "pdf"),
        beta.parse_exif(.).author == "Shelby Porter"
        or beta.parse_exif(.).creator == "Shelby Porter"
)

Detection logic

Scope: inbound message.

Detects inbound messages containing PDF attachments where the EXIF metadata indicates the author or creator is 'Shelby Porter'.

  1. inbound message
  2. length(filter(attachments, .file_type == 'pdf')) ≥ 1
  3. any of filter(attachments) where any holds:
    • beta.parse_exif(.).author is 'Shelby Porter'
    • beta.parse_exif(.).creator is 'Shelby Porter'

Inspects: attachments[].file_type, type.inbound. Sensors: beta.parse_exif.

Indicators matched (1)

FieldMatchValue
attachments[].file_typeequalspdf