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

Create mismatched_display_url_suspicious_href_tld.yml #2002

Open
wants to merge 4 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
29 changes: 29 additions & 0 deletions detection-rules/mismatched_display_url_suspicious_href_tld.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Display url mismatch leading to suspicious TLD"
description: "This rule detects messages that do not original from a suspicious TLD, but contain a link mismatch where the destination url is a suspicious tld. "
type: "rule"
severity: "medium"
source: |
type.inbound
and 0 < length(body.links) < 30
and not any([subject.subject, sender.display_name],
regex.icontains(., '(а|е|и|о|у)')
)
and sender.email.domain.tld not in $suspicious_tlds
and any(body.links,
not strings.contains(.display_url.url, "@")
and .display_url.domain.tld not in $suspicious_tlds
and .mismatched
and .href_url.domain.tld in $suspicious_tlds
and not .href_url.domain.root_domain == "avanan.click"
and not .href_url.domain.root_domain == "emailprotection.link"
and not .display_url.url =~ "chownow.com"
)

attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Evasion"
detection_methods:
- "Content analysis"
- "URL analysis"
id: "07b13707-92c5-599a-b6da-1cb2d26dab14"
Loading