Attachment: Personalized fake order/invoice file naming pattern
Detects inbound messages from free webmail senders with fake order confirmation or overdue invoice lures, carrying an attachment whose file name is dynamically personalized with the recipient's email local part and follows a structured pattern (date-like prefix, recipient identifier, and an alphanumeric code). This naming convention is used to make the attachment appear as a legitimate, individually generated invoice or receipt tailored to the target.
Sublime rule (View on GitHub)
1name: "Attachment: Personalized fake order/invoice file naming pattern"
2description: "Detects inbound messages from free webmail senders with fake order confirmation or overdue invoice lures, carrying an attachment whose file name is dynamically personalized with the recipient's email local part and follows a structured pattern (date-like prefix, recipient identifier, and an alphanumeric code). This naming convention is used to make the attachment appear as a legitimate, individually generated invoice or receipt tailored to the target."
3type: "rule"
4severity: "high"
5source: |
6 type.inbound
7 and recipients.to[0].email.local_part is not null
8 and recipients.to[0].email.local_part != ""
9 and any(attachments,
10 strings.count(.file_name, '_') == 2
11 and strings.icontains(.file_name,
12 strings.concat('_',
13 recipients.to[0].email.local_part,
14 '_'
15 )
16 )
17 and regex.match(.file_name, '202\d{5}_[^\_]+_[A-Z0-9]+\..*')
18 )
19attack_types:
20 - "Callback Phishing"
21tactics_and_techniques:
22 - "Social engineering"
23 - "Free email provider"
24 - "Impersonation: Brand"
25detection_methods:
26 - "File analysis"
27 - "Content analysis"
28 - "Sender analysis"
29id: "e8765086-b112-545c-a100-32d92d065445"