Attachment: PDF banking detail change request
Detects inbound messages from free email providers where the subject line mirrors the sender's display name and the body is unusually short, accompanied by a single PDF attachment. The PDF's extracted text is scanned for keyword pairs such as 'bank'/'direct' combined with 'change'/'update', a pattern consistent with fraudulent requests to alter banking or direct deposit details.
Sublime rule (View on GitHub)
1name: "Attachment: PDF banking detail change request"
2description: "Detects inbound messages from free email providers where the subject line mirrors the sender's display name and the body is unusually short, accompanied by a single PDF attachment. The PDF's extracted text is scanned for keyword pairs such as 'bank'/'direct' combined with 'change'/'update', a pattern consistent with fraudulent requests to alter banking or direct deposit details."
3type: "rule"
4severity: "medium"
5source: |
6 type.inbound
7 and sender.email.domain.root_domain in $free_email_providers
8 and subject.base == sender.display_name
9 and length(body.current_thread.text) < 60
10 and length(filter(attachments, .file_type == "pdf")) == 1
11 and any(filter(attachments, .file_type == "pdf"),
12 any(file.explode(.),
13 .depth == 1
14 and .file_name == "text"
15 and strings.icontains(.scan.strings.strings[0], "bank", "direct")
16 and strings.icontains(.scan.strings.strings[0], "change", "update")
17 )
18 )
19attack_types:
20 - "BEC/Fraud"
21tactics_and_techniques:
22 - "Free email provider"
23 - "PDF"
24 - "Social engineering"
25 - "Impersonation: Employee"
26detection_methods:
27 - "File analysis"
28 - "Content analysis"
29 - "Sender analysis"
30id: "463001fc-a731-5b26-9cfa-9bd13d98d59d"