Detection rules › Sublime MQL

Attachment: EML with SharePoint files shared from GoDaddy federated tenants

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

Detects EML attachments containing SharePoint links with 'netorg' subdomain patterns, which may indicate suspicious redirection tactics or domain abuse.

Threat classification

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

CategoryValues
Attack typesCredential Phishing
Tactics and techniquesEvasion, Impersonation: Brand, Social engineering

Event coverage

Rule body MQL

type.inbound
and length(filter(attachments,
                  .file_extension == "eml" or .content_type == "message/rfc822"
           )
) == 1
and any(attachments,
        any(file.parse_eml(.).body.links,
            strings.starts_with(.href_url.domain.subdomain, 'netorg')
            and .href_url.domain.root_domain == "sharepoint.com"
        )
)

Detection logic

Scope: inbound message.

Detects EML attachments containing SharePoint links with 'netorg' subdomain patterns, which may indicate suspicious redirection tactics or domain abuse.

  1. inbound message
  2. length(filter(attachments, .file_extension == 'eml' or .content_type == 'message/rfc822')) is 1
  3. any of attachments where:
    • any of file.parse_eml(.).body.links where all hold:
      • .href_url.domain.subdomain starts with 'netorg'
      • .href_url.domain.root_domain is 'sharepoint.com'

Inspects: attachments[].content_type, attachments[].file_extension, type.inbound. Sensors: file.parse_eml, strings.starts_with.

Indicators matched (4)

FieldMatchValue
attachments[].file_extensionequalseml
attachments[].content_typeequalsmessage/rfc822
strings.starts_withprefixnetorg
file.parse_eml(attachments[]).body.links[].href_url.domain.root_domainequalssharepoint.com