Skip to content

Commit 0d7a062

Browse files
[PR sublime-security#3756] modified rule: Attachment: ICS file with meeting prefix
1 parent fb13ed3 commit 0d7a062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detection-rules/3756_attachment_ics_meeting_invite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source: |
77
and length(attachments) == 1
88
and any(attachments,
99
.file_extension == "ics"
10-
and regex.match(.file_name, '(meeting_)[-azA-z0-9]{5}\.ics')
10+
and regex.icontains(.file_name, "meeting_[a-z0-9]{5}")
1111
)
1212
attack_types:
1313
- "BEC/Fraud"
@@ -20,4 +20,4 @@ detection_methods:
2020
id: "5800490c-1a6f-5435-b593-a505507cca09"
2121
og_id: "383a5810-0b85-55a8-ac9b-e7135823317b"
2222
testing_pr: 3756
23-
testing_sha: 6804bc83f3a0701a88d228259ea79e5d0a824d36
23+
testing_sha: 583c8d9c4bc5a51c4a2b68ecd3ea429f5a41be2b

0 commit comments

Comments
 (0)