Brand impersonation: MyChart
Detects inbound messages impersonating MyChart, the patient portal brand, by using a display name containing 'mychart' combined with common lure phrases such as 'claim your reward', 'member rewards', 'feedback survey', or 'medicare kit'. The rule also flags messages sent from recently registered domains. Legitimate senders from trusted MyChart-related domains that pass DMARC authentication, as well as designated high-trust sender domains, are excluded.
Sublime rule (View on GitHub)
1name: "Brand impersonation: MyChart"
2description: "Detects inbound messages impersonating MyChart, the patient portal brand, by using a display name containing 'mychart' combined with common lure phrases such as 'claim your reward', 'member rewards', 'feedback survey', or 'medicare kit'. The rule also flags messages sent from recently registered domains. Legitimate senders from trusted MyChart-related domains that pass DMARC authentication, as well as designated high-trust sender domains, are excluded."
3type: "rule"
4severity: "medium"
5source: |
6 type.inbound
7 and (
8 strings.icontains(sender.display_name, "mychart")
9 or any(ml.nlu_classifier(body.current_thread.text).entities,
10 .name == "org" and strings.icontains(.text, 'mychart medicare kit')
11 )
12 or any(html.xpath(body.html, '//title').nodes,
13 strings.icontains(.raw, 'mychart')
14 )
15
16 //
17 // This rule makes use of a beta feature and is subject to change without notice
18 // using the beta feature in custom rules is not suggested until it has been formally released
19 //
20 or any(ml.nlu_classifier(beta.ocr(file.message_screenshot()).text).entities,
21 .name == "org" and strings.icontains(.text, 'mychart')
22 )
23 )
24 and (
25 (
26 strings.icontains(body.current_thread.text, "mychart")
27 and 2 of (
28 strings.icontains(body.current_thread.text, "claim your reward"),
29 strings.icontains(body.current_thread.text, "feedback survey"),
30 strings.icontains(body.current_thread.text, "invited to participate"),
31 strings.icontains(body.current_thread.text, "medicare kit"),
32 strings.icontains(body.current_thread.text, "member rewards"),
33 strings.icontains(body.current_thread.text, "member appreciation"),
34 strings.icontains(body.current_thread.text, "log in to mychart"),
35 strings.icontains(body.current_thread.text, 'securesign'),
36 regex.icontains(body.current_thread.text, '©\s*(?:\d+)\s*mychart')
37 )
38 )
39 or strings.icontains(subject.base, "medicare kit")
40 or strings.icontains(subject.base, "reward")
41 or strings.icontains(subject.base, "claim")
42 or regex.icontains(subject.base, '[a-f0-9]{32}\b')
43 // email is an image plus a link
44 or (
45 coalesce(length(body.html.display_text), 0) < 100
46 and length(html.xpath(body.html, '//a//img').nodes) > 0
47 )
48 )
49 and not (
50 sender.email.domain.root_domain in (
51 "epic-notification.com",
52 "moneytalksnews.com",
53 "myhealthconnect.org",
54 "optum.com"
55 )
56 and coalesce(headers.auth_summary.dmarc.pass, false)
57 )
58
59 // negate highly trusted sender domains unless they fail DMARC authentication
60 and not (
61 sender.email.domain.root_domain in $high_trust_sender_root_domains
62 and coalesce(headers.auth_summary.dmarc.pass, false)
63 )
64attack_types:
65 - "Credential Phishing"
66 - "Spam"
67tactics_and_techniques:
68 - "Impersonation: Brand"
69 - "Social engineering"
70 - "Spoofing"
71detection_methods:
72 - "Content analysis"
73 - "Natural Language Understanding"
74 - "Header analysis"
75 - "Sender analysis"
76id: "8be6743d-8d17-53ef-97c7-cb00f2b27374"