Detection rules › Sublime MQL
Attachment: PDF with ReportLab library and default metadata
Detects PDF attachments generated using the ReportLab PDF Library with default anonymous metadata values, including untitled document, anonymous creator/author, and unspecified subject. This combination of characteristics is commonly associated with automated PDF generation tools used in malicious activities.
Threat classification
Sublime's own taxonomy (not MITRE ATT&CK).
| Category | Values |
|---|---|
| Attack types | Credential Phishing |
| Tactics and techniques | PDF, Evasion |
Event coverage
| Message attribute |
|---|
| type |
Rule body MQL
type.inbound
and any(attachments,
beta.parse_exif(.).producer == "ReportLab PDF Library - (opensource)"
and beta.parse_exif(.).title == "untitled"
and beta.parse_exif(.).creator == "anonymous"
and any(beta.parse_exif(.).fields,
.key == "Subject" and .value == "unspecified"
)
and beta.parse_exif(.).author == "anonymous"
)
Detection logic
Scope: inbound message.
Detects PDF attachments generated using the ReportLab PDF Library with default anonymous metadata values, including untitled document, anonymous creator/author, and unspecified subject. This combination of characteristics is commonly associated with automated PDF generation tools used in malicious activities.
- inbound message
any of
attachmentswhere all hold:- beta.parse_exif(.).producer is 'ReportLab PDF Library - (opensource)'
- beta.parse_exif(.).title is 'untitled'
- beta.parse_exif(.).creator is 'anonymous'
any of
beta.parse_exif(.).fieldswhere all hold:- .key is 'Subject'
- .value is 'unspecified'
- beta.parse_exif(.).author is 'anonymous'
Inspects: type.inbound. Sensors: beta.parse_exif.
Indicators matched (2)
| Field | Match | Value |
|---|---|---|
beta.parse_exif(attachments[]).fields[].key | equals | Subject |
beta.parse_exif(attachments[]).fields[].value | equals | unspecified |