Skip to content

Create asr_new_sender_or_reply_to_with_new_linked_dom.yml #2665

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 3 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Newly Registered Sender or Reply-To Domain with Newly Registered Linked Domain"
description: "This rule detects inbound emails that contain links and a reply-to address, where either the sender domain or the reply-to domain is newly registered (≤30 days old), and at least one linked domain is also very new (≤14 days old). It flags potential phishing or business email compromise attempts that use recently created infrastructure and reply-to mismatch tactics to bypass trust and impersonate legitimate contacts."
type: "rule"
severity: "medium"
source: |
type.inbound
and length(body.links) > 0
and length(headers.reply_to) > 0
and (
any(headers.reply_to,
network.whois(.email.domain).days_old <= 30
and .email.email != sender.email.email
)
or network.whois(sender.email.domain).days_old <= 30
)
and any(distinct(body.links, .href_url.domain.root_domain),
network.whois(.href_url.domain).days_old < 14
)

tags:
- "Attack surface reduction"
attack_types:
- "BEC/Fraud"
- "Credential Phishing"
- "Malware/Ransomware"
tactics_and_techniques:
- "Social engineering"
detection_methods:
- "Header analysis"
- "URL analysis"
- "Whois"
id: "e5b6a81f-8587-585f-957a-712987ad9884"
Loading