Skip to content
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

New Rule: Reply-to/Sender Mismatch with suspicious TLD #782

Closed
wants to merge 7 commits into from
Closed
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
22 changes: 22 additions & 0 deletions detection-rules/headers_replyto_mismatch_sus_tld.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Reply-to/Sender Mismatch with suspicious TLD"
description: |
This rule detects a mismatch between the reply-to and the sender email addresses, and one or both of them are from suspicious TLDs
type: "rule"
severity: "medium"
source: |
type.inbound
and (
any(headers.reply_to,
.email.email != sender.email.email
morriscode marked this conversation as resolved.
Show resolved Hide resolved
and .email.domain.domain != sender.email.domain.domain
and not strings.icontains(sender.display_name, "marketing")
and any([.email.domain.tld, sender.email.domain.tld], . in $suspicious_tlds)
)
)
tactics_and_techniques:
- "Evasion"
detection_methods:
- "Header analysis"
- "Sender analysis"

id: "a5f5b25a-0b7d-5ecc-8cf8-295a8433bad1"
Loading