Skip to content

Commit 92aaede

Browse files
[PR #3374] modified rule: Link: GoPhish default rid value
1 parent b4ee670 commit 92aaede

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

detection-rules/3374_link_gophish_rid.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ source: |
77
// few body links
88
and length(body.links) < 50
99
and any(body.links,
10+
// not a common marketing url rewriter
11+
not .href_url.domain.root_domain == "vtiger.com"
1012
// the rid value present
11-
length(.href_url.query_params_decoded["rid"]) == 1
13+
and length(.href_url.query_params_decoded["rid"]) == 1
1214
// the RID value is 7 bytes
1315
and length(.href_url.query_params_decoded["rid"][0]) == 7
1416
// contains letters and numbers
@@ -20,7 +22,6 @@ source: |
2022
'^[0-9]{7}$'
2123
)
2224
)
23-
2425
attack_types:
2526
- "Credential Phishing"
2627
- "Malware/Ransomware"
@@ -31,4 +32,4 @@ detection_methods:
3132
id: "5d7e1718-37ee-5fb4-96f2-8587d1a893bd"
3233
og_id: "6d2b9c8a-ec51-562c-88f5-58605b1e5a6e"
3334
testing_pr: 3374
34-
testing_sha: fe28bca1ca1ace63d4d9ea8d5ab31e149e4656b4
35+
testing_sha: 00b054a8c66493d803b4bfca9590066b9d43cdf0

0 commit comments

Comments
 (0)