Skip to content

Commit

Permalink
Sync from PR#1058
Browse files Browse the repository at this point in the history
New Rule: Okta Impersonation by @morriscode
#1058
Source SHA 45f3c24
Triggered by @morriscode
  • Loading branch information
Sublime Rule Testing Bot committed Nov 30, 2023
1 parent 70acd68 commit ca504a9
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions detection-rules/impersonation_okta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: "Brand impersonation: Okta"
description: "Impersonation of Okta an Identity and access management company."
type: "rule"
severity: "medium"
source: |
type.inbound
and (
regex.icontains(sender.display_name, '\bOkta\b')
or strings.ilike(sender.email.domain.domain, '*Okta*')
or strings.ilike(subject.subject, '*Okta*')
)
and not(
sender.email.domain.root_domain in~ (
'oktacdn.com',
'okta.com',
'okta-emea.com',
'okta-gov.com',
'oktapreview.com',
'polaris.me'
)
and any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*pass")
)
)
and any(ml.logo_detect(beta.message_screenshot()).brands,
.name == "Okta" and .confidence in ("medium", "high")
)
and (
profile.by_sender().prevalence in ("new", "outlier")
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 (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "Lookalike domain"
- "Social engineering"
detection_methods:
- "Computer Vision"
- "Content analysis"
- "Header analysis"
- "Sender analysis"
id: "b7a2989a-a5ef-5340-b1d0-6b7c51462855"
testing_pr: 1058
testing_sha: 45f3c24811d476a7b8aa86e9371e35fe80f4615c

0 comments on commit ca504a9

Please sign in to comment.