Detection rules › Sublime MQL

Spam: Campaign with excessive space/char obfuscation and free file hosted link

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

This rule detects mass spam campaigns using excessive space padding with links utilizing free file hosting.

Threat classification

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

CategoryValues
Attack typesSpam
Tactics and techniquesFree file host

Event coverage

Rule body MQL

type.inbound
and length(attachments) == 0
and regex.icontains(coalesce(body.html.inner_text, body.html.display_text),
                    '([a-zA-Z\d\.]\s){30,}'
)
and any(body.links,
        .href_url.domain.domain in $free_file_hosts
        or .href_url.domain.root_domain in $free_file_hosts
)
and (
  profile.by_sender().prevalence in ("new", "outlier")
  or profile.by_sender().any_messages_malicious_or_spam
  or sender.email.domain.valid == false
)
and not profile.by_sender().any_messages_benign

Detection logic

Scope: inbound message.

This rule detects mass spam campaigns using excessive space padding with links utilizing free file hosting.

  1. inbound message
  2. length(attachments) is 0
  3. coalesce(body.html.inner_text, body.html.display_text) matches '([a-zA-Z\\d\\.]\\s){30,}'
  4. any of body.links where any holds:
    • .href_url.domain.domain in $free_file_hosts
    • .href_url.domain.root_domain in $free_file_hosts
  5. any of:
    • profile.by_sender().prevalence in ('new', 'outlier')
    • profile.by_sender().any_messages_malicious_or_spam
    • sender.email.domain.valid is False
  6. not:
    • profile.by_sender().any_messages_benign

Inspects: body.html.display_text, body.html.inner_text, body.links, body.links[].href_url.domain.domain, body.links[].href_url.domain.root_domain, sender.email.domain.valid, type.inbound. Sensors: profile.by_sender, regex.icontains. Reference lists: $free_file_hosts.

Indicators matched (1)

FieldMatchValue
regex.icontainsregex([a-zA-Z\d\.]\s){30,}