Skip to content

Commit 7032e4f

Browse files
[PR #3756] modified rule: Attachment: ICS file with meeting prefix
1 parent b0abb01 commit 7032e4f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

detection-rules/3756_attachment_ics_meeting_invite.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ severity: "high"
55
source: |
66
type.inbound
77
and length(attachments) == 1
8-
and any(filter(attachments, .content_type == "text/calendar"),
8+
and any(filter(attachments,
9+
.file_extension in~ ('ics')
10+
or .content_type in ("application/ics", "text/calendar")
11+
),
912
(
1013
regex.contains(.file_name, "meeting_[a-zA-Z]{5}")
1114
or regex.contains(.file_name, "meeting_[a-zA-Z0-9]{5}")
@@ -26,4 +29,4 @@ detection_methods:
2629
id: "5800490c-1a6f-5435-b593-a505507cca09"
2730
og_id: "383a5810-0b85-55a8-ac9b-e7135823317b"
2831
testing_pr: 3756
29-
testing_sha: 9e83c9d09aad5d5d4f120be567af049d78d43b48
32+
testing_sha: a1be97c3fcabbeef10ba61b4303d04670fc91b41

0 commit comments

Comments
 (0)