Attachment: Double extension calendar invite

Flags inbound messages containing attachments whose file names use a double extension pattern, appending '.ics' after a common document, media, or archive extension (e.g. .pdf.ics, .docx.ics, .zip.ics). This naming trick can be used to mask the true nature of a file or bypass attachment filters that key off the final extension, while still presenting as a calendar invite to the recipient.

Sublime rule (View on GitHub)

 1name: "Attachment: Double extension calendar invite"
 2description: "Flags inbound messages containing attachments whose file names use a double extension pattern, appending '.ics' after a common document, media, or archive extension (e.g. .pdf.ics, .docx.ics, .zip.ics). This naming trick can be used to mask the true nature of a file or bypass attachment filters that key off the final extension, while still presenting as a calendar invite to the recipient."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and any(attachments,
 8          regex.icontains(.file_name,
 9                          '\.(?:pdf|docx?|xlsx?|pptx?|html?|zip|rar|7z|wav|mp3|mp4|m4a|ogg|eml|msg|txt|csv|rtf|jpe?g|png|svg)\.ics$'
10          )
11  )  
12attack_types:
13  - "Credential Phishing"
14tactics_and_techniques:
15  - "ICS Phishing"
16  - "Evasion"
17  - "Social engineering"
18detection_methods:
19  - "File analysis"
20id: "57079e1d-299a-5c08-aa6f-05dda993efd8"
to-top