Impersonation: Fictitious invoice using LinkedIn's address

Detects fraudulent invoices referencing LinkedIn's corporate address (1000 W. Maude Ave) either pasted directly into the message body or rendered as a PDF attachment generated by tools such as wkhtmltopdf, Qt, or Skia. Uses an NLU classifier to confirm the message is an invoice and relates to financial communications, while excluding legitimate messages that pass DMARC from LinkedIn or licdn.com domains.

Sublime rule (View on GitHub)

 1name: "Impersonation: Fictitious invoice using LinkedIn's address"
 2description: "Detects fraudulent invoices referencing LinkedIn's corporate address (1000 W. Maude Ave) either pasted directly into the message body or rendered as a PDF attachment generated by tools such as wkhtmltopdf, Qt, or Skia. Uses an NLU classifier to confirm the message is an invoice and relates to financial communications, while excluding legitimate messages that pass DMARC from LinkedIn or licdn.com domains."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and (
 8    // invoice pasted directly into the message body
 9    (
10      regex.icontains(body.current_thread.text, '1000 W(?:est)?\.? Maude Ave')
11      and any(ml.nlu_classifier(body.current_thread.text).tags,
12              .name == "invoice"
13      )
14    )
15    // or rendered as a PDF attachment
16    or (
17      0 < length(filter(attachments, .file_type == "pdf")) < 3
18      and any(filter(attachments,
19                     .file_type == "pdf"
20                     // creator and producer of PDF seen in malicious content
21                     and (
22                       strings.starts_with(beta.parse_exif(.).creator,
23                                           "wkhtmltopdf"
24                       )
25                       or strings.starts_with(beta.parse_exif(.).producer,
26                                              "Qt ",
27                                              "Skia"
28                       )
29                     )
30              ),
31              any(filter(file.explode(.), .scan.ocr.raw is not null),
32                  regex.icontains(.scan.ocr.raw, '1000 W(?:est)?\.? Maude Ave')
33              )
34      )
35    )
36  )
37  // not actually from LinkedIn
38  and not (
39    sender.email.domain.root_domain in ("linkedin.com", "licdn.com")
40    and coalesce(headers.auth_summary.dmarc.pass, false)
41  )
42  and any(ml.nlu_classifier(body.current_thread.text).topics,
43          .name == "Financial Communications" and .confidence != "low"
44  )  
45attack_types:
46  - "BEC/Fraud"
47tactics_and_techniques:
48  - "Impersonation: Brand"
49  - "PDF"
50  - "Social engineering"
51detection_methods:
52  - "File analysis"
53  - "Optical Character Recognition"
54  - "Natural Language Understanding"
55  - "Content analysis"
56  - "Exif analysis"
57id: "aeee3d9f-4b34-5b56-9ac7-81dc3d344489"
to-top