Skip to content

Commit

Permalink
Sync from PR#2130
Browse files Browse the repository at this point in the history
Create impersonation_benefits_enrollment.yml by @aidenmitchell
#2130
Source SHA 9b89fd8
Triggered by @aidenmitchell
  • Loading branch information
Sublime Rule Testing Bot committed Dec 5, 2024
1 parent 895a62f commit e6ad04b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions detection-rules/impersonation_benefits_enrollment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ source: |
'(health|dental|vision|insurance|medical) enrol{1,2}ment'
)
or regex.icontains(body.current_thread.text,
'(open|benefits?) enrol{1,2}ment',
'benefit(s)? (plan|choice|selection|deadline|period)',
'hr benefits',
'annual enrol{1,2}ment',
Expand All @@ -33,7 +32,7 @@ source: |
'(verify|update|confirm).{0,20}(benefit.{0,20}selection)'
)
)
and 1 of (
and 2 of (
any(ml.nlu_classifier(body.current_thread.text).entities,
.name in ("urgency", "request")
),
Expand All @@ -52,6 +51,7 @@ source: |
'HR (?:Events|Expert|Support Center|Studies|Knowledge Cloud|News Library|Crowd|Solutions|Interests)|HR and People Operations'
)
and not (
// Constant Contact
any(headers.hops,
strings.icontains(.authentication_results.spf_details.designator,
"constantcontact.com"
Expand All @@ -72,6 +72,19 @@ source: |
and headers.auth_summary.dmarc.pass
)
or any(headers.references, strings.iends_with(., "ccsend.com"))
// Hubspot
or any(headers.hops,
strings.icontains(.authentication_results.spf_details.designator,
"hubspotemail.net"
)
)
)
and sender.email.domain.root_domain not in~ (
'medicare.gov',
'farmers.com',
'uhc.com',
'blueshieldca.com',
'corestream.com'
)
and (
profile.by_sender().prevalence in ("new", "outlier")
Expand Down Expand Up @@ -101,4 +114,4 @@ detection_methods:
- "Sender analysis"
id: "5a6eb5a8-2d91-5ed8-a0d2-fb3cc2fef40b"
testing_pr: 2130
testing_sha: d2b2e55324bcec2a7cb688bfc53f3b8f99467f58
testing_sha: 9b89fd8f37a5f6d4f87328efde446fd250a10930

0 comments on commit e6ad04b

Please sign in to comment.