Attachment: PDF document portal credential theft lure

Detects inbound messages with an empty body that carry a PDF attachment referencing document portal or review invitation language alongside the recipient's own email address embedded in the file. The attachment content is further validated by an NLU classifier with high confidence for credential theft intent. Messages from highly trusted sender domains that pass DMARC authentication are excluded.

Sublime rule (View on GitHub)

 1name: "Attachment: PDF document portal credential theft lure"
 2description: "Detects inbound messages with an empty body that carry a PDF attachment referencing document portal or review invitation language alongside the recipient's own email address embedded in the file. The attachment content is further validated by an NLU classifier with high confidence for credential theft intent. Messages from highly trusted sender domains that pass DMARC authentication are excluded."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and (body.current_thread.text == '' or body.current_thread.text is null)
 8  and any(filter(attachments, .file_type == "pdf"),
 9          any(file.explode(.),
10              strings.icontains(.scan.strings.raw,
11                                "document portal",
12                                "invited to review",
13                                "confidential document"
14              )
15              // recipient's address inside attachment
16              and any(recipients.to,
17                      strings.icontains(..scan.strings.raw, .email.email)
18              )
19              and any(ml.nlu_classifier(.scan.strings.raw).intents,
20                      .name == "cred_theft" and .confidence == "high"
21              )
22          )
23  )
24  // negate highly trusted sender domains unless they fail DMARC authentication
25  and not (
26    sender.email.domain.root_domain in $high_trust_sender_root_domains
27    and coalesce(headers.auth_summary.dmarc.pass, false)
28  )  
29attack_types:
30  - "Credential Phishing"
31tactics_and_techniques:
32  - "PDF"
33  - "Social engineering"
34detection_methods:
35  - "File analysis"
36  - "Content analysis"
37  - "Natural Language Understanding"
38  - "Header analysis"
39  - "Sender analysis"
40id: "7f5a60db-77e9-5cd6-988a-d8d56df66588"
to-top