Medium Severity
Attachment: PDF file with low reputation link to ZIP file (unsolicited)
Description
Detects messages with PDF attachments linking directly to zip files from unsolicited senders.
References
No references.
type.inbound
and any(ml.nlu_classifier(body.current_thread.text).entities, .name == "request")
and any(attachments,
.file_extension == "pdf"
and any(file.explode(.),
any(.scan.pdf.urls,
regex.contains(.url, '\.(?:zip)') and .domain.root_domain not in $tranco_1m
)
)
)
and (
not profile.by_sender().solicited
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_false_positives
)
)
Playground
Test against your own EMLs or sample data.