Skip to content

Commit 8dfa0d6

Browse files
[PR #3425] modified rule: Brand impersonation: Microsoft with low reputation links
1 parent e358b78 commit 8dfa0d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

detection-rules/3425_link_microsoft_low_reputation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source: |
88
// suspicious link
99
and any(body.links,
1010
(
11-
.href_url.domain.tld in $suspicious_tlds
11+
.href_url.domain.tld == "ru"
1212
or .href_url.domain.root_domain not in $tranco_1m
1313
or .href_url.domain.domain in $free_file_hosts
1414
or .href_url.domain.root_domain in $free_file_hosts
@@ -18,7 +18,7 @@ source: |
1818
// account for URL rewrites
1919
or (
2020
any(.href_url.query_params_decoded["domain"],
21-
strings.parse_domain(.).tld in~ $suspicious_tlds
21+
strings.parse_domain(.).tld == "ru"
2222
or strings.parse_domain(.).root_domain not in~ $tranco_1m
2323
or strings.parse_domain(.).domain in~ $free_file_hosts
2424
or strings.parse_domain(.).root_domain in~ $free_file_hosts
@@ -449,4 +449,4 @@ detection_methods:
449449
id: "5095cc4d-1c45-5a0c-a28c-eed6f09fd14f"
450450
og_id: "b59201b6-f253-55a6-9c0a-e1500a32a751"
451451
testing_pr: 3425
452-
testing_sha: bc814a1f53e9b9a9367ade77147a069a402b263f
452+
testing_sha: 3b0b60a81a6de6f6f5fb6857bcc4898282d57636

0 commit comments

Comments
 (0)