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

Update impersonation_dhl.yml #2092

Open
wants to merge 5 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
12 changes: 8 additions & 4 deletions detection-rules/impersonation_dhl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ source: |
type.inbound
and (
regex.icontains(sender.display_name, '\bDHL\b')
or strings.ilike(sender.email.domain.domain, '*DHL*')
or (
strings.ilike(sender.email.domain.domain, '*DHL*')
and length(sender.email.domain.domain) < 15
)
or strings.ilike(subject.subject, '*DHL notification*')
or regex.contains(subject.subject, '\bD.{0,2}H.{0,2}L.{0,2}\b')
)
Expand All @@ -23,6 +26,8 @@ source: |
.name == "DHL" and .confidence in ("medium", "high")
)
or regex.icontains(body.current_thread.text, '\bDHL\b')
// it contains a QR code
or any(file.explode(beta.message_screenshot()), .scan.qr.url.url is not null)
or (
any(file.explode(beta.message_screenshot()),
strings.ilike(.scan.ocr.raw,
Expand Down Expand Up @@ -86,7 +91,7 @@ source: |
'dhltariff.co.uk',
'dhlindia-kyc.com',
'dpogroup.com',
'4flow-service.com' // shipping service
'4flow-service.com' // shipping service
)
and (
profile.by_sender().prevalence in ("new", "outlier")
Expand All @@ -95,7 +100,7 @@ source: |
and not profile.by_sender().any_false_positives
)
)

// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
Expand All @@ -104,7 +109,6 @@ source: |
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)

attack_types:
- "Credential Phishing"
tactics_and_techniques:
Expand Down
Loading