You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: "PR# 3661 - Attachment: PDF with banking and payment references from freemail sender"
2
+
description: "Detects PDF attachments containing banking terminology such as SWIFT codes, account numbers, and payment references from free email providers. These attachments often contain fraudulent payment instructions or fake banking documents used in business email compromise attacks."
3
+
type: "rule"
4
+
severity: "medium"
5
+
source: |
6
+
type.inbound
7
+
// Has attachment
8
+
and 0 < length(attachments) < 3
9
+
// Short message (BEC pattern)
10
+
and length(body.current_thread.text) < 200
11
+
// pdf with these keywords
12
+
and any(filter(attachments, .file_extension == "pdf"),
13
+
any(file.explode(.),
14
+
.depth == 1
15
+
and (
16
+
regex.icontains(.scan.ocr.raw,
17
+
'swift(?: copy)?',
18
+
"bank code:",
19
+
"account number:",
20
+
"payment"
21
+
)
22
+
)
23
+
)
24
+
)
25
+
// Display name or local_part suggests executive/authority
0 commit comments