Brand impersonation: Meta and subsidiaries
Impersonation of Meta or Meta's subsidiaries Facebook and Instagram.
Sublime rule (View on GitHub)
1name: "Brand impersonation: Meta and subsidiaries"
2description: |
3 Impersonation of Meta or Meta's subsidiaries Facebook and Instagram.
4references:
5 - "https://www.techrepublic.com/article/google-and-amazon-most-impersonated-brands-in-phishing-attacks/"
6type: "rule"
7severity: "medium"
8source: |
9 type.inbound
10 and (
11 // sender display name is a strong enough indicator
12 // that it can be used without any other impersonation logic
13 (
14 regex.icontains(sender.display_name,
15
16 // this regex looks for a commonly abused phrase starting with 'meta', potentially containing a version of the word 'verified', followed by phrases that have been observed in campaigns.
17 '\bm.?e.?t.?a\b.*(?:verif(?:y|i(?:cado|ed)))?.*\b(?:recruiting|certification|trust|safety|badge|alert|advertising|compliance|copyright|enforcement|intellectual|rights|account|help|support|service|business|policy|Vérifié|certify|inc|help[ -]?desk)\b',
18
19 // this regex also looks for a commonly abused phrase starting with 'meta', followed by a phrase, then 'team' with no separating spaces.
20 '\bm.?e.?t.?a(?:recruiting|pro|certification|trust|safety|badge|alert|advertising|compliance|copyright|enforcement|intellectual|rights|service|account|help|support|business|policy|ads)(?:team|support)',
21
22 // this regex is similar to the first in this section, but starts with facebook instead of meta
23 '\bf.?a.?c.?e.?b.?o.?o.?k\b.*(?:verif(?:y|i(?:cado|ed)))?.*\b(?:recruiting|ads[ -]?team|certification|trust|safety|badge|alert|advertising|compliance|copyright|enforcement|intellectual|rights|service|account|help|support|business|policy|Vérifié|certify|inc|help[ -]?desk)\b',
24 '^[a-z]+ from \bmeta$',
25 'page ?ads ?support',
26 'Instagram\s*(?:Not|Policies|Report|Helpdesk|Support)',
27 '\bMeta & Coursera',
28 'Compliance & Security',
29 'social.?media.?\b(?:master|expert|pro|guru)\b',
30 '\bmeta\b.?(?:social|skill|ads).?(?:star|set|expert)',
31 'noreply-(?:meta|fb).+',
32 '(?:meta|facebook|fb|instagram|ig)[-\s]?verif',
33 'meta\S{0,10}center'
34 )
35 or (
36 regex.icontains(sender.display_name,
37 "f\u{200a}?a\u{200a}?c\u{200a}?e\u{200a}?b\u{200a}?o\u{200a}?o\u{200a}?k"
38 )
39 and not strings.icontains(sender.display_name, 'facebook')
40 )
41 or strings.contains(sender.display_name, "\u{24C2}")
42 or strings.ilevenshtein(sender.display_name, 'facebook ads') <= 2
43 or strings.ilevenshtein(sender.display_name, 'facebook business') <= 2
44 or strings.ilike(sender.email.domain.domain, '*facebook*', "ig-support*")
45 or strings.ilike(sender.email.local_part,
46 "*instagramlive*",
47 "*facebooksupport*"
48 )
49 or strings.icontains(sender.email.domain.subdomain, 'meta-')
50 or (
51 regex.icontains(body.current_thread.text,
52 '©\s*(?:\d+)\s*meta\b',
53 '©\s*instagram\s+from\s+meta\b'
54 )
55 and strings.count(body.current_thread.text, '©') == 1
56 )
57 or (
58 any(html.xpath(body.html, '//h2 | //h1').nodes,
59 regex.icontains(strings.replace_confusables(.display_text),
60 'meta\s+verified'
61 )
62 )
63 and any(body.current_thread.links,
64 .href_url.domain.root_domain in $free_subdomain_hosts
65 )
66 )
67 )
68 // the use of these keywords (facebook, instagram)
69 // or the levenshtein distance to facebook
70 // are less strong and thus need to be combined with logo detection or nlu
71 or (
72 (
73 regex.icontains(sender.display_name,
74 '\bf[\p{Mn}\p{Cf}]*a[\p{Mn}\p{Cf}]*c[\p{Mn}\p{Cf}]*e[\p{Mn}\p{Cf}]*b[\p{Mn}\p{Cf}]*o[\p{Mn}\p{Cf}]*o[\p{Mn}\p{Cf}]*k[\p{Mn}\p{Cf}]*\b',
75 '\binstagr(am)?\b',
76 '\bm[\p{Mn}\p{Cf}]*e[\p{Mn}\p{Cf}]*t[\p{Mn}\p{Cf}]*a\b'
77 )
78 or strings.ilevenshtein(sender.display_name, 'facebook') <= 2
79 or sender.email.email == 'noreply@appsheet.com'
80 or strings.icontains(body.current_thread.text,
81 "Official announcement from Meta"
82 )
83 )
84 and 2 of (
85 any(ml.logo_detect(file.message_screenshot()).brands,
86 .name in ("Facebook", "Meta", "Instagram", "Threads")
87 ),
88 any(ml.nlu_classifier(body.current_thread.text).intents,
89 .name in ("cred_theft", "callback_scam", "steal_pii")
90 and .confidence in ("medium", "high")
91 ),
92 (
93 length(body.current_thread.text) < 2000
94 and regex.icontains(body.current_thread.text, "(?:violation|infringe)")
95 ),
96 regex.icontains(subject.base,
97 '\b(?:recruiting|permanently|locked|certification|trust|safety|badge|alert|advertising|compliance|copyright|enforcement|intellectual|rights|account|help|support|business|policy|verif(?:y|i(?:cado|ed))|Vérifié|Trademark|Misuse|Review|Violation|Warning|Restriction|Inappropriate|service|Content|multiple reports)\b'
98 ),
99 any(body.links,
100 .href_url.domain.root_domain in $self_service_creation_platform_domains
101 or .href_url.domain.root_domain in $free_file_hosts
102 or .href_url.domain.root_domain in $free_subdomain_hosts
103 or .href_url.domain.root_domain in $url_shorteners
104 ),
105 sender.email.domain.root_domain in $free_email_providers
106 )
107 )
108 // salesforce sender combined with logo detection and nlu is enough
109 or (
110 sender.email.domain.root_domain == "salesforce.com"
111 and any(ml.logo_detect(file.message_screenshot()).brands,
112 .name in ("Facebook", "Meta", "Instagram", "Threads")
113 )
114 and any(ml.nlu_classifier(body.current_thread.text).intents,
115 .name in ("cred_theft", "callback_scam", "steal_pii")
116 and .confidence in ("medium", "high")
117 )
118 )
119 or
120 // or the body contains a facebook/meta footer with the address citing "community support"
121 (
122 (
123 regex.icontains(body.current_thread.text,
124 '(?:1\s+(?:Facebook|Hacker|Meta)?\s*Way|1601\s+Willow\s+Rd?).*Menlo\s+Park.*CA.*94025'
125 )
126 or (
127 regex.icontains(body.current_thread.text,
128 '(?:Security Team © Meta|Meta Support Team)'
129 )
130 )
131 )
132 // and it contains a link to spawn a chat with facebook - this is not the way support operates
133 and (
134 any(body.links,
135 strings.ends_with(.href_url.domain.domain, 'facebook.com')
136 and strings.starts_with(.href_url.path, '/msg/')
137 )
138 or (
139 any(ml.nlu_classifier(body.current_thread.text).intents,
140 .name in ("cred_theft", "callback_scam", "steal_pii")
141 and .confidence in ("high")
142 )
143 )
144 or any(recipients.to,
145 .email.domain.valid
146 and any(body.links,
147 strings.icontains(.href_url.url, ..email.email)
148 or any(strings.scan_base64(.href_url.url,
149 format="url",
150 ignore_padding=true
151 ),
152 strings.icontains(., ...email.email)
153 )
154 or any(strings.scan_base64(.href_url.fragment,
155 ignore_padding=true
156 ),
157 strings.icontains(., ...email.email)
158 )
159 )
160 )
161 )
162 )
163 // we've seen advertising "advice/recommendations"
164 or (
165 all(ml.nlu_classifier(body.current_thread.text).topics,
166 .name in ("Advertising and Promotions", "Reminders and Notifications")
167 )
168 // Meta mention
169 and (
170 any(ml.nlu_classifier(body.current_thread.text).entities,
171 .name == "org" and strings.icontains(.text, 'Community Guidelines')
172 )
173 or regex.icontains(body.current_thread.text,
174 '(1\s+(Facebook|Hacker|\bMeta\b)?\s*Way|1601\s+Willow\s+Rd?).*Menlo\s+Park.*CA.*94025'
175 )
176 )
177 and any(ml.nlu_classifier(body.current_thread.text).entities,
178 .name == "urgency"
179 )
180 )
181 or (
182 strings.icontains(body.current_thread.text, "Meta Professional Certificate")
183 and strings.icontains(body.current_thread.text, "Meta & Coursera Team")
184 // Add link validation
185 and any(body.links,
186 strings.icontains(.display_text, "coursera")
187 and .href_url.domain.root_domain != "coursera.org"
188 )
189 )
190 or 2 of (
191 strings.icontains(body.current_thread.text, 'Meta '),
192 strings.icontains(body.current_thread.text, '1602 Willow Road'),
193 strings.icontains(body.current_thread.text, 'Menlo Park, CA 91024'),
194 )
195 )
196 and not (
197 sender.email.domain.root_domain in (
198 'facebook.com',
199 'facebookmail.com',
200 'eventsatfacebook.com',
201 'facebookenterprise.com',
202 'meta.com',
203 'metamail.com',
204 'instagram.com',
205 'medallia.com',
206 'fbworkmail.com',
207 'workplace.com',
208 'capterra.com', // they mention "Community Guidelines"
209 'facebookblueprint.com',
210 'metaenterprisemail.com',
211 'pigfacebookstore.com.au', // unrelated domain but hitting on facebook
212 'metacompliance.com',
213 'metaprop.com', // unrelated domain but hitting on meta pro
214 'oakley.com', // meta intelligence glasses
215 'facebookuserprivacysettlement.com', // fb settlement website
216 'perceptyx.com', // ai employee engagement
217 'unroll.me', // unroll contains instagram logo
218 'har.com' // facebook ads management
219 )
220 and coalesce(headers.auth_summary.dmarc.pass, false)
221 )
222
223 // negate metaenterprise links
224 and not any(headers.reply_to, .email.email == "noreply@facebookmail.com")
225
226 // meta wiki renamer
227 and not (
228 sender.display_name == 'Meta-Wiki'
229 and sender.email.domain.root_domain == 'wikimedia.org'
230 )
231
232 // we dont want emails where all the links go to meta domains
233 and not (
234 (
235 length(body.links) > 1
236 and all(body.links,
237 .href_url.domain.root_domain in (
238 'facebook.com',
239 'instagram.com',
240 'meta.com'
241 )
242 and not strings.istarts_with(.href_url.path, '/share/')
243 )
244 )
245 // too many links
246 or length(body.links) > 20
247 )
248
249 // no previous threads
250 and length(body.previous_threads) == 0
251
252 // negate highly trusted sender domains unless they fail DMARC authentication
253 and (
254 (
255 sender.email.domain.root_domain in $high_trust_sender_root_domains
256 and not headers.auth_summary.dmarc.pass
257 )
258 or sender.email.domain.root_domain not in $high_trust_sender_root_domains
259
260 // salesforce has been abused for meta phishing campaigns repeatedly
261 or sender.email.domain.root_domain == "salesforce.com"
262 )
263attack_types:
264 - "Credential Phishing"
265tactics_and_techniques:
266 - "Impersonation: Brand"
267 - "Lookalike domain"
268 - "Social engineering"
269detection_methods:
270 - "Header analysis"
271 - "Sender analysis"
272id: "e38f1e3b-79be-5a59-b084-24a851daf6b9"