Brand impersonation: FedEx

Impersonation of the shipping provider FedEx.

Sublime rule (View on GitHub)

 1name: "Brand impersonation: FedEx"
 2description: |
 3    Impersonation of the shipping provider FedEx.
 4references:
 5  - "https://www.fedex.com/en-us/trust-center/report-fraud/fraudulent-email-examples.html"
 6type: "rule"
 7severity: "low"
 8source: |
 9  type.inbound
10  and (
11    sender.display_name in~ ('fedex', 'fedex shipment', 'fedex tracking updates')
12    or strings.ilevenshtein(sender.display_name, 'fedex') <= 1
13    or regex.imatch(sender.display_name, 'fed-?ex.*')
14    or strings.ilike(sender.email.domain.domain, '*fedex*')
15    or (
16      any(ml.nlu_classifier(body.current_thread.text).entities,
17          .name == "sender" and regex.imatch(.text, 'fedex\s+\w+.*')
18      )
19      and any(ml.nlu_classifier(body.current_thread.text).entities,
20              .name == "urgency"
21      )
22    )
23    or (
24      any(ml.logo_detect(file.message_screenshot()).brands, .name == "FedEx")
25      and (
26        any(ml.nlu_classifier(body.current_thread.text).entities,
27            .name == "request" and strings.icontains(.text, "signature")
28        )
29        or strings.istarts_with(body.current_thread.text, 'FedEx')
30      )
31    )
32    or 2 of (
33      strings.icontains(body.current_thread.text, "FedEx"),
34      strings.icontains(body.current_thread.text, "942 South Shady Grove Road"),
35      strings.icontains(body.current_thread.text, "3620 Hacks Cross Road"),
36      strings.icontains(body.current_thread.text, "Memphis, TN")
37    )
38  )
39  and not (
40    sender.email.domain.root_domain in~ (
41      'fedex.com',
42      'fedexfreight.com', // added 2026-05-08
43      'cj.com', // CJ is a global affiliate marketing network
44      'sedex.com', // sedex.com is not affiliated with FedEx, but is an apparent FP
45      'myworkday.com',
46      'billtrust.com',
47      'flying-cargo.rs', // Serbian arm of Fedex (https://www.fedex.com/en-rs/customer-support.html)
48      'confirmit.com', // survey/market research company
49      'centercode.com' // survey company
50    )
51    and coalesce(headers.auth_summary.dmarc.pass, false)
52  )
53  and (
54    (
55      not profile.by_sender().any_messages_benign
56      and not profile.by_sender().solicited
57    )
58    or (
59      profile.by_sender().any_messages_malicious_or_spam
60      and any(ml.nlu_classifier(body.current_thread.text).intents,
61              .name == "cred_theft" and .confidence != "low"
62      )
63      and all(body.current_thread.links,
64              .href_url.domain.root_domain != "fedex.com"
65      )
66    )
67  )
68  
69  // negate highly trusted sender domains unless they fail DMARC authentication
70  and not (
71    sender.email.domain.root_domain in $high_trust_sender_root_domains
72    and coalesce(headers.auth_summary.dmarc.pass, false)
73  )  
74
75attack_types:
76  - "Credential Phishing"
77tactics_and_techniques:
78  - "Impersonation: Brand"
79  - "Lookalike domain"
80  - "Social engineering"
81detection_methods:
82  - "Header analysis"
83  - "Sender analysis"
84id: "94a2b602-2bc1-5ea3-941e-752e3a2235cf"
to-top