Job Scam (unsolicited sender)
Detects job scam attempts by analyzing the message body text from an unsolicited sender.
Sublime rule (View on GitHub)
1name: "Job Scam (unsolicited sender)"
2description: |
3 Detects job scam attempts by analyzing the message body text from an unsolicited sender.
4type: "rule"
5severity: "low"
6source: |
7 type.inbound
8 and (
9 any(ml.nlu_classifier(body.current_thread.text).intents,
10 .name in ("job_scam") and .confidence == "high"
11 )
12 )
13 and (
14 any(ml.nlu_classifier(body.current_thread.text).entities,
15 .name == "financial"
16 )
17 or strings.icontains(body.current_thread.text, "salary package")
18 or strings.icontains(body.current_thread.text, "kindly")
19 or (
20 any(ml.nlu_classifier(body.current_thread.text).entities,
21 .name in ("greeting", "salutation")
22 )
23 and (
24 (
25 length(recipients.to) == 0
26 or length(recipients.bcc) > 0
27 or (
28 all(recipients.to, .email.domain.valid == false)
29 and all(recipients.cc, .email.domain.valid == false)
30 )
31 )
32 )
33 )
34 )
35 and (
36 not profile.by_sender().solicited
37 or profile.by_sender().any_messages_malicious_or_spam
38 )
39 and not profile.by_sender().any_false_positives
40attack_types:
41 - "BEC/Fraud"
42tactics_and_techniques:
43 - "Social engineering"
44detection_methods:
45 - "Content analysis"
46 - "Header analysis"
47 - "Natural Language Understanding"
48 - "Sender analysis"
49id: "a37dc32d-33a4-5097-a585-ff6c345d0ecc"