Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions detection-rules/attachment_ics_non-gregorian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Attachment: ICS file with non-Gregorian calendar scale"
description: "Detects ICS calendar attachments that use a non-standard calendar scale other than GREGORIAN, which may indicate malicious calendar files attempting to exploit calendar parsing vulnerabilities or bypass security filters."
type: "rule"
severity: "medium"
source: |
type.inbound
and any(attachments,
(
.file_extension in~ ('ics')
or .content_type in ("application/ics", "text/calendar")
)
and not strings.icontains(beta.file.parse_ics(.).scale, 'GREGORIAN')
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Evasion"
detection_methods:
- "File analysis"
- "Content analysis"
id: "9315bbf5-c710-5ead-8a8e-5c7f8fb118dc"
Loading