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 open_redirect_easycamp.yml #2247

Merged
merged 2 commits into from
Dec 31, 2024
Merged
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
39 changes: 39 additions & 0 deletions detection-rules/open_redirect_easycamp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Open Redirect: easycamp.com"
description: |
Message contains use of the easycamp.com open redirect. This has been exploited in the wild.
type: "rule"
severity: "medium"
source: |
type.inbound
and any(body.links,
.href_url.domain.root_domain == "easycamp.com"
and regex.icontains(.href_url.query_params, 'redirect=(?:https?|(?:\/|%2f)(?:\/|%2f))')
and not regex.icontains(.href_url.query_params, 'redirect=[^\&]*easycamp\.com')

)
and not sender.email.domain.root_domain == "easycamp.com"
and (
not profile.by_sender().solicited
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_false_positives
)
)

// 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:
- "Credential Phishing"
- "Malware/Ransomware"
tactics_and_techniques:
- "Open redirect"
detection_methods:
- "Sender analysis"
- "URL analysis"
id: "f05d377d-b360-5cce-8239-6bdc70a462ef"