Sublime Security medium experimental mql
Attachment: ICS voicemail lure with suspicious link
Detects inbound emails containing an ICS calendar attachment whose event description mimics a voicemail notification (e.g., 'new voicemail', 'listen to your voicemail') and includes a link pointing to a free file hosting service, self-service creation platform, URL shortener, suspicious TLD, or a domain registered within the last 90 days. Excludes messages from high-trust sender domains that pass DMARC authentication.
Detection Logic
type.inbound
and any(attachments,
(
.file_type == "ics"
or .file_extension == "ics"
or .content_type in ("application/ics", "text/calendar")
)
and any(beta.file.parse_ics(.).events,
// voicemail key words
regex.icontains(.description,
'new voice\s?mail
| voice\s?mail.{0,20}(?:notification
| received
| awaits
| ready
| logged)
| listen\s+to\s+(?:your\s+)?voice\s?mail
| you\s+(?:have
| received)\s+a\s+new\s+voice
| voice\s+message.{0,20}(?:notification
| from your inbox
| in your)'
)
// sus link
and any(.links,
.href_url.domain.root_domain in $free_file_hosts
or .href_url.domain.domain in $free_file_hosts
or .href_url.domain.root_domain in $self_service_creation_platform_domains
or .href_url.domain.domain in $self_service_creation_platform_domains
or .href_url.domain.tld in $suspicious_tlds
or .href_url.domain.domain in $url_shorteners
or .href_url.domain.root_domain in $url_shorteners
or network.whois(.href_url.domain).days_old < 90
or strings.icontains(.display_url.url, "voicemail")
or strings.icontains(.display_text, "voicemail")
// minimal js landing page
or (
length(ml.link_analysis(.).unique_urls_accessed) == 3
and all(ml.link_analysis(.).unique_urls_accessed,
.url == ..href_url.url
or (
strings.starts_with(.url, ..href_url.url)
and strings.ends_with(.url, '.js')
)
or .url == strings.concat(..href_url.url,
'favicon.png'
)
)
)
)
)
)
and not (
sender.email.domain.root_domain in $high_trust_sender_root_domains
and coalesce(headers.auth_summary.dmarc.pass, false)
) Field Validations
Loading…
Comments (0)
Loading comments...