Skip to content

Commit 7afada3

Browse files
authored
Update brand_impersonation_sharepoint_pdf_cred_theft.yml (#3486)
1 parent 0b052a9 commit 7afada3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

detection-rules/brand_impersonation_sharepoint_pdf_cred_theft.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ source: |
88
any(attachments,
99
(
1010
.file_type == "pdf"
11-
and any(ml.logo_detect(.).brands,
12-
.name == "Microsoft SharePoint"
13-
and any(attachments,
14-
any(file.explode(.), length(.scan.url.urls) > 0)
15-
)
16-
)
11+
and any(ml.logo_detect(.).brands, .name == "Microsoft SharePoint")
12+
and any(file.explode(.), length(.scan.url.urls) > 0)
1713
and any(file.explode(.),
1814
any(ml.nlu_classifier(.scan.ocr.raw).intents,
1915
.name == "cred_theft" and .confidence == "high"

0 commit comments

Comments
 (0)