Detection rules › Sublime MQL
Fake shipping notification with link to free file hosting
This rule detects spam emails impersonating FedEx, UPS, or USPS with links to free file hosting.
Threat classification
Sublime's own taxonomy (not MITRE ATT&CK).
| Category | Values |
|---|---|
| Attack types | Spam |
| Tactics and techniques | Free file host, Impersonation: Brand, Social engineering |
Event coverage
Rule body MQL
type.inbound
and length(attachments) == 0
and (
regex.icontains(coalesce(body.html.inner_text, body.html.display_text),
'\bf[ _]?e[ _]?d[ _]?e[ _]?x\b'
)
and sender.email.domain.domain != "fedex.com"
and headers.return_path.domain.domain != sender.email.domain.domain
and any(body.links, strings.contains(.display_text, "track"))
and length(body.links) < 10
)
and any(body.links,
.href_url.domain.domain in $free_file_hosts
or .href_url.domain.root_domain in $free_file_hosts
)
and (
(
sender.email.domain.root_domain in $free_email_providers
and sender.email.email not in $sender_emails
)
or (
sender.email.domain.root_domain not in $free_email_providers
and sender.email.domain.root_domain not in $sender_domains
)
or sender.email.domain.valid == false
)
Detection logic
Scope: inbound message.
This rule detects spam emails impersonating FedEx, UPS, or USPS with links to free file hosting.
- inbound message
- length(attachments) is 0
all of:
- coalesce(body.html.inner_text, body.html.display_text) matches '\\bf[ _]?e[ _]?d[ _]?e[ _]?x\\b'
- sender.email.domain.domain is not 'fedex.com'
- headers.return_path.domain.domain is not sender.email.domain.domain
any of
body.linkswhere:- .display_text contains 'track'
- length(body.links) < 10
any of
body.linkswhere any holds:- .href_url.domain.domain in $free_file_hosts
- .href_url.domain.root_domain in $free_file_hosts
any of:
all of:
- sender.email.domain.root_domain in $free_email_providers
- sender.email.email not in $sender_emails
all of:
- sender.email.domain.root_domain not in $free_email_providers
- sender.email.domain.root_domain not in $sender_domains
- sender.email.domain.valid is False
Inspects: body.html.display_text, body.html.inner_text, body.links, body.links[].display_text, body.links[].href_url.domain.domain, body.links[].href_url.domain.root_domain, headers.return_path.domain.domain, sender.email.domain.domain, sender.email.domain.root_domain, sender.email.domain.valid, sender.email.email, type.inbound. Sensors: regex.icontains, strings.contains. Reference lists: $free_email_providers, $free_file_hosts, $sender_domains, $sender_emails.
Indicators matched (2)
| Field | Match | Value |
|---|---|---|
regex.icontains | regex | \bf[ _]?e[ _]?d[ _]?e[ _]?x\b |
strings.contains | substring | track |