Skip to content

Commit 2b717e9

Browse files
[PR #3023] modified rule: Brand impersonation: Twitter
1 parent bbe9db8 commit 2b717e9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

detection-rules/3023_impersonation_twitter.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ source: |
1717
// "X" logic
1818
or (
1919
(
20-
2 of (
21-
regex.icontains(sender.display_name, '\bX\b'),
20+
3 of (
2221
strings.iends_with(sender.email.domain.root_domain, "-x.com"),
22+
any(body.links, strings.iends_with(.href_url.domain.root_domain, "-x.com")),
2323
strings.ilike(body.current_thread.text,
2424
"*content dispute*",
2525
"*copyright*",
2626
"*appeal*"
2727
),
28-
strings.contains(body.current_thread.text, '1355 Market Street')
28+
strings.contains(body.current_thread.text, '1355 Market Street'),
29+
strings.ilike(body.current_thread.text, '*865 FM 1209*bastrop*')
2930
)
3031
or (
3132
any(ml.logo_detect(beta.message_screenshot()).brands,
@@ -76,4 +77,4 @@ detection_methods:
7677
id: "2d4a1e87-3f31-5f5f-8700-7c2bbed30a40"
7778
og_id: "013c32c2-fa05-5456-9c45-284e008ff6a4"
7879
testing_pr: 3023
79-
testing_sha: 958a80aa7b4adaf4dff5d38a2ca9a49bbd6d891a
80+
testing_sha: 8383563af78f4494c10e3c8016699c54a9306448

0 commit comments

Comments
 (0)