Skip to content

Commit a4fafb7

Browse files
[Test Rules] [PR #4319] modified rule: Brand impersonation: Robinhood
1 parent f9d534d commit a4fafb7

1 file changed

Lines changed: 11 additions & 16 deletions

File tree

detection-rules/4319_brand_impersonation_robinhood.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ source: |
1111
)
1212
and (
1313
any(ml.nlu_classifier(body.current_thread.text).intents,
14-
.name in ("callback_scam", "cred_theft")
15-
and .confidence in ("low", "high")
14+
.name in ("callback_scam", "cred_theft") and .confidence != "low"
1615
)
1716
)
1817
or strings.icontains(body.current_thread.text, 'The Robinhood Team')
@@ -67,19 +66,16 @@ source: |
6766
)
6867
or length(headers.references) == 0
6968
)
70-
and (
71-
(
72-
profile.by_sender().prevalence != "common"
73-
and not profile.by_sender().solicited
74-
)
75-
)
69+
7670
// negate newsletters and webinars
77-
and not any(ml.nlu_classifier(body.current_thread.text).topics,
78-
.name in ("Newsletters and Digests", "Events and Webinars")
79-
and .confidence == "high"
80-
)
81-
and not any(ml.nlu_classifier(body.current_thread.text).intents,
82-
.name == "benign" and .confidence == "high"
71+
and not (
72+
any(ml.nlu_classifier(body.current_thread.text).topics,
73+
.name in ("Newsletters and Digests", "Events and Webinars")
74+
and .confidence == "high"
75+
)
76+
or any(ml.nlu_classifier(body.current_thread.text).intents,
77+
.name == "benign" and .confidence == "high"
78+
)
8379
)
8480
and not (
8581
sender.email.domain.root_domain in (
@@ -100,7 +96,6 @@ source: |
10096
)
10197
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
10298
)
103-
10499
attack_types:
105100
- "Credential Phishing"
106101
tactics_and_techniques:
@@ -114,4 +109,4 @@ detection_methods:
114109
id: "3bd8298b-379b-5214-b94d-d2237ed502ad"
115110
og_id: "7c8eca19-63ac-5cd3-a92b-4fb34b526683"
116111
testing_pr: 4319
117-
testing_sha: e21564444b149aeb12c574c68d4d5c1cd42c1b0d
112+
testing_sha: fb227a6bfb3511c677f14c9a3a3aba73d678cccf

0 commit comments

Comments
 (0)