Skip to content

Commit 067d0d4

Browse files
[Test Rules] [PR #4368] modified rule: Link: Invoice-related BEC with newly registered domain < 60 days
1 parent 42ae2d4 commit 067d0d4

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

detection-rules/4368_link_previous_thread_invoice.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ source: |
2323
'ACH',
2424
'kindly download',
2525
'document',
26-
'kindly',
2726
'urgently',
2827
'confirm'
2928
)
@@ -32,30 +31,18 @@ source: |
3231
any(ml.nlu_classifier(body.current_thread.text).intents,
3332
.name == "bec" and .confidence != "low"
3433
)
35-
or (
36-
any(ml.nlu_classifier(body.current_thread.text).entities,
37-
.name in ("urgency", "request")
38-
)
39-
)
4034
or any(ml.nlu_classifier(body.current_thread.text).tags,
4135
.name in ("invoice", "payment")
4236
)
37+
or any(ml.nlu_classifier(body.current_thread.text).entities,
38+
.name == "request" and .text == "kindly download to view"
39+
)
4340
)
4441
)
4542
// prevent benign emails
4643
and not any(ml.nlu_classifier(body.current_thread.text).intents,
4744
.name == "benign"
4845
)
49-
// and (
50-
// (
51-
// profile.by_sender().prevalence != "common"
52-
// and not profile.by_sender().solicited
53-
// )
54-
// or (
55-
// profile.by_sender().any_messages_malicious_or_spam
56-
// and not profile.by_sender().any_messages_benign
57-
// )
58-
// )
5946
// negate highly trusted sender domains unless they fail DMARC authentication
6047
and (
6148
(
@@ -79,4 +66,4 @@ detection_methods:
7966
id: "51c6b50f-7a68-5ee8-9897-510d11bc255c"
8067
og_id: "fee020b6-4a01-5ed3-a924-b5aa4415d3e9"
8168
testing_pr: 4368
82-
testing_sha: 0e93397c19fc459f8645002eb59dfe1640852ffc
69+
testing_sha: 0b56aa4ef742827747930a6fe1636c2a349bf5ab

0 commit comments

Comments
 (0)