Skip to content

Create headers_suspicious_outdated_clients.yml #3084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions detection-rules/headers_suspicious_outdated_clients.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Headers: Suspicious or outdated mailer versions"
description: "Detects emails originating from suspicious, outdated, or uncommon mail client versions that are often associated with malicious activity. This includes obsolete versions of Outlook Express, Zimbra, custom mailers, and clients running on penetration testing platforms like Kali Linux."
type: "rule"
severity: "low"
source: |
type.inbound
and (
strings.contains(headers.mailer, "Microsoft Outlook Express 6.00.2900.2180")
or strings.contains(headers.mailer,
"Zimbra 10.1.10_GA_4785 (ZimbraWebClient - GC138 (Win)/10.1.10_GA_4785"
)
or strings.contains(headers.mailer, "Supmailer 42.0.1")
or strings.contains(headers.mailer,
"Zimbra 5.0.16_GA_2921.RHEL4 (zclient/5.0.16_GA_2921.RHEL4"
)
or strings.contains(headers.mailer, "The Bat! (v3–v4…)")
or regex.icontains(headers.mailer, '\bkali[^\s]*\b')
or strings.contains(headers.mailer, "Foxmail 7.0.1.92[cn]")
or strings.contains(headers.mailer, "FoxMail 3.11 Release [cn]")
)
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and not headers.auth_summary.dmarc.pass
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)

attack_types:
- "BEC/Fraud"
- "Credential Phishing"
- "Malware/Ransomware"
tactics_and_techniques:
- "Evasion"
- "Spoofing"
detection_methods:
- "Header analysis"
- "Sender analysis"
id: "324ff8f1-d182-5c0b-8565-18b5f22eac42"