Skip to content

Commit

Permalink
Sync from PR#782
Browse files Browse the repository at this point in the history
New Rule: Reply-to/Sender Mismatch with suspicious TLD by @morriscode
#782
Source SHA 6cb6d80
Triggered by @morriscode
  • Loading branch information
Sublime Rule Testing Bot committed Sep 8, 2023
1 parent 04d5296 commit a05b81a
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions detection-rules/headers_replyto_mismatch_sus_tld.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
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
and any([.email.domain.tld, sender.email.domain.tld],
// https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/spam-tlds-ublock.txt
. in (
"ae",
"agency",
"asia",
"autos",
"bar",
"beauty",
"bid",
"bio",
"biz",
"boats",
"boston",
"boutique",
"buzz",
"cf",
"cfd",
"cn",
"cyou",
"dad",
"dance",
"degree",
"discount",
"esq",
"fit",
"foo",
"fun",
"fyi",
"gdn",
"gq",
"guru",
"hair",
"haus",
"in",
"jp",
"live",
"loan",
"loans",
"makeup",
"market",
"ml",
"mom",
"monster",
"mov",
"name",
"nexus",
"okinawa",
"ooo",
"phd",
"prof",
"pw",
"quest",
"rest",
"review",
"ru",
"sbs",
"skin",
"space",
"surf",
"tk",
"tokyo",
"top",
"uno",
"voto",
"website",
"wiki",
"work",
"wtf",
"xyz",
"zip",
"zone"
)
)
)
)
tactics_and_techniques:
- "Evasion"
detection_methods:
- "Header analysis"
- "Sender analysis"
id: "a5f5b25a-0b7d-5ecc-8cf8-295a8433bad1"
testing_pr: 782
testing_sha: 6cb6d80dadb1c649790026ac7a291629fb539604

0 comments on commit a05b81a

Please sign in to comment.