Skip to content

Commit 8ebd212

Browse files
[PR #3756] modified rule: Attachment: ICS file with meeting prefix
1 parent 6944872 commit 8ebd212

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

detection-rules/3756_attachment_ics_meeting_invite.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ source: |
77
and length(attachments) == 1
88
and any(attachments,
99
.file_extension == "ics"
10-
and regex.icontains(.file_name, "meeting_[a-z0-9]{5}")
10+
and (
11+
regex.contains(.file_name, "meeting_[a-zA-Z]{5}")
12+
or regex.contains(.file_name, "meeting_[a-zA-Z0-9]{5}")
13+
)
14+
and not (
15+
regex.contains(.file_name, "meeting_invit[eation]")
16+
or regex.contains(.file_name, "meeting_request")
17+
)
1118
)
1219
attack_types:
1320
- "BEC/Fraud"
@@ -20,4 +27,4 @@ detection_methods:
2027
id: "5800490c-1a6f-5435-b593-a505507cca09"
2128
og_id: "383a5810-0b85-55a8-ac9b-e7135823317b"
2229
testing_pr: 3756
23-
testing_sha: 583c8d9c4bc5a51c4a2b68ecd3ea429f5a41be2b
30+
testing_sha: 29a395ba32ae85a11e0ad61b8e4bb09d75fe6ccc

0 commit comments

Comments
 (0)