We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c852c50 commit e5af27aCopy full SHA for e5af27a
detection-rules/3433_impersonation_sharefile.yml
@@ -37,8 +37,9 @@ source: |
37
0 < length(attachments) <= 5
38
and (
39
all(attachments, .file_type in $file_types_images)
40
- // allow for one non-PDF attachment, which has been observed added as an evasion tactic
41
- or ratio(attachments, .file_extension in ("pdf")) == 0.5
+ or (
+ length(filter(attachments, .file_type == "pdf")) == 1
42
+ )
43
)
44
and any(attachments,
45
any(file.explode(.),
@@ -107,4 +108,4 @@ detection_methods:
107
108
id: "52895b87-8a4f-5ac7-b378-1dbd708a20d9"
109
og_id: "f8330307-67fe-5b49-b850-bfdc17955aea"
110
testing_pr: 3433
-testing_sha: e29c2c082291a5502b2774e21472669538c6f030
111
+testing_sha: 9b1c944bc3d2921cdd3e7f3e9e21bb3eb2d54516
0 commit comments