EXPLORE
← Back to Explore
sublimelowRule

Headers: Reserved domain in Message-ID

Detects inbound messages where the Message-ID header contains a reserved or placeholder domain (such as example.com/net/org or a subdomain ending in .test, .invalid, .example, or .localhost). These domains are set aside by RFC standards for documentation and testing purposes and should never appear in legitimate production mail headers, making their presence a strong indicator of spoofed or synthetically generated messages.

MITRE ATT&CK

initial-accessdefense-evasion

Detection Query

type.inbound
and regex.icontains(headers.message_id,
                    '@(?:example\.(?:com|net|org)|[^@]*\.(?:test|invalid|example))>?$'
)

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email

Tags

Attack surface reduction
Raw Content
name: "Headers: Reserved domain in Message-ID"
description: "Detects inbound messages where the Message-ID header contains a reserved or placeholder domain (such as example.com/net/org or a subdomain ending in .test, .invalid, .example, or .localhost). These domains are set aside by RFC standards for documentation and testing purposes and should never appear in legitimate production mail headers, making their presence a strong indicator of spoofed or synthetically generated messages."
type: "rule"
severity: "low"
source: |
  type.inbound
  and regex.icontains(headers.message_id,
                      '@(?:example\.(?:com|net|org)|[^@]*\.(?:test|invalid|example))>?$'
  )
tags:
  - "Attack surface reduction"
attack_types:
  - "Spam"
  - "BEC/Fraud"
tactics_and_techniques:
  - "Spoofing"
  - "Evasion"
detection_methods:
  - "Header analysis"
id: "b44139a4-a031-5c55-afaa-df98eff5efd3"