Sublime Security medium experimental mql
Attachment: Embedded MSG file with payment lure and newly registered domain
Detects inbound messages carrying an .msg attachment that itself contains an embedded email. The nested message combines financial fraud language—references to ACH/wire transfers, invoices, remittance, or urgency-based payment discounts—with a link to a domain registered within the last 30 days, a pattern consistent with business email compromise or invoice fraud schemes hiding their payload inside a forwarded or attached message to evade detection.
Detection Logic
type.inbound
and any(filter(attachments, .file_extension =~ "msg"),
any(file.explode(.),
// payment request inside the embedded message
2 of (
regex.icontains(.scan.strings.raw,
'\b(?:ach
| wire transfer
| remit(?:ted
| tance)?)\b'
),
strings.icontains(.scan.strings.raw, 'invoice'),
regex.icontains(.scan.strings.raw,
'payment discount
| keep the discount
| by (?:today
| tomorrow
| end of (the )?day)'
),
any(ml.nlu_classifier(.scan.strings.raw).topics,
.name == 'Request to View Invoice'
)
)
// newly registered domain referenced in the embedded message
and any(.scan.url.urls, network.whois(.domain).days_old < 30)
)
) Field Validations
Loading…
Comments (0)
Loading comments...