Message Attachments

Attribute groupSampleRule
attachments (collection)NY

attachments (collection)

#

Description

Message Data Model attribute: attachments

Fields #

NameDescription
content_dispositionContent-Disposition type, typically 'attachment' or 'inline'
content_idContent-ID extracted from the MIME payload; is stripped of leading and trailing <> characters
content_typeContent-Type extracted from the MIME payload
file_extensionFile extension from context such as headers
file_nameFile name
file_typeFile type determined by looking at the magic bytes in the file
md5MD5 hash of the raw contents
sha1SHA1 hash of the raw contents
sha256SHA256 hash of the raw contents
sizeSize of the file in bytes

Common Indicators #

Positive field/value combinations most frequently checked by detection rules attached to this catalog entry, derived from cross-vendor predicate analysis. This is separate from Fields accounting, which also includes exclusions and counts distinct attached rules.

FieldKindValueRulesVendors
type.inboundeqtrue400 rulesmql
profile.by_senderfunc_callprofile.by_sender().any_messages_malicious_or_spam75 rulesmql
profile.by_senderfunc_callprofile.by_sender().prevalence in ("new", "outlier")17 rulesmql
attachmentslength_compare026 rulesmql
attachmentslength_compare124 rulesmql
attachmentslength_compare37 rulesmql
attachmentslength_compare36 rulesmql
body.current_thread.textis_null14 rulesmql
profile.by_sender_emailfunc_callprofile.by_sender_email().any_messages_malicious_or_spam14 rulesmql
profile.by_sender_emailfunc_callprofile.by_sender_email().prevalence in ("new", "outlier")8 rulesmql
sender.email.domain.root_domainmacrosender.email.domain.root_domain not in org_domains13 rulesmql
sender.email.domain.domainmacrosender.email.domain.domain in org_domains11 rulesmql
headers.referenceslength_compare08 rulesmql
lengthfunc_calllength(filter(attachments, .file_type not in $file_types_images)) == 07 rulesmql
body.linkslength_compare06 rulesmql

Detection Rules #

Full rule details for this catalog entry, including ATT&CK technique mappings and native queries →

Sublime MQL #

References #