Detection rules › Sublime MQL

Brand impersonation: AliExpress

Severity
medium
Type
rule
Source
github.com/sublime-security/sublime-rules

Detects messages impersonating AliExpress by matching known footer text and social media links, while confirming the sender is not legitimately from AliExpress or its infrastructure.

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesCallback Phishing, Credential Phishing
Tactics and techniquesImpersonation: Brand, Social engineering

Event coverage

Rule body MQL

type.inbound
and (
  // the address in the footer
  strings.icontains(body.current_thread.text,
                    '26/F Tower One, Times Square, 1 Matheson Street, Causeway Bay'
  )
  // the social links in the footer
  or (
    length(filter(body.links,
                  strings.icontains(.href_url.url,
                                    'https://www.facebook.com/aliexpressbr'
                  )
                  or strings.icontains(.href_url.url,
                                       'https://twitter.com/aliexpressbr'
                  )
                  or strings.icontains(.href_url.url,
                                       'https://www.youtube.com/user/AliExpressChannel'
                  )
                  or strings.icontains(.href_url.url,
                                       'https://www.instagram.com/aliexpressbr'
                  )
                  // whatsapp
                  or strings.icontains(.href_url.url,
                                       'https://wa.me/8657186563839'
                  )
                  // messenger
                  or strings.icontains(.href_url.url, 'https://m.me/AliExpress')
           )
    ) >= 4
  )
)
// not from AliExpress or Alibaba
and not (
  sender.email.domain.root_domain in ("aliexpress.com", "alibaba.com")
  and headers.auth_summary.dmarc.pass
)
// did not traverse the parent org's mail server
and not (any(headers.domains, .root_domain in ('aliyun-inc.com')))

Detection logic

Scope: inbound message.

Detects messages impersonating AliExpress by matching known footer text and social media links, while confirming the sender is not legitimately from AliExpress or its infrastructure.

  1. inbound message
  2. any of:
    • body.current_thread.text contains '26/F Tower One, Times Square, 1 Matheson Street, Causeway Bay'
    • length(filter(body.links, strings.icontains(.href_url.url, 'https://www.facebook.com/aliexpressbr') or strings.icontains(.href_url.url, 'https://twitter.com/aliexpressbr') or strings.icontains(.href_url.url, 'https://www.youtube.com/user/AliExpressChannel') or strings.icontains(.href_url.url, 'https://www.instagram.com/aliexpressbr') or strings.icontains(.href_url.url, 'https://wa.me/8657186563839') or strings.icontains(.href_url.url, 'https://m.me/AliExpress'))) ≥ 4
  3. not:
    • all of:
      • sender.email.domain.root_domain in ('aliexpress.com', 'alibaba.com')
      • headers.auth_summary.dmarc.pass
  4. not:
    • any of headers.domains where:
      • .root_domain in ('aliyun-inc.com')

Inspects: body.current_thread.text, body.links, body.links[].href_url.url, headers.auth_summary.dmarc.pass, headers.domains, headers.domains[].root_domain, sender.email.domain.root_domain, type.inbound. Sensors: strings.icontains.

Indicators matched (10)

FieldMatchValue
strings.icontainssubstring26/F Tower One, Times Square, 1 Matheson Street, Causeway Bay
strings.icontainssubstringhttps://www.facebook.com/aliexpressbr
strings.icontainssubstringhttps://twitter.com/aliexpressbr
strings.icontainssubstringhttps://www.youtube.com/user/AliExpressChannel
strings.icontainssubstringhttps://www.instagram.com/aliexpressbr
strings.icontainssubstringhttps://wa.me/8657186563839
strings.icontainssubstringhttps://m.me/AliExpress
sender.email.domain.root_domainmemberaliexpress.com
sender.email.domain.root_domainmemberalibaba.com
headers.domains[].root_domainmemberaliyun-inc.com