From e6ad04b86c1770121930c541ba44adb74b27d5f4 Mon Sep 17 00:00:00 2001 From: Sublime Rule Testing Bot Date: Thu, 5 Dec 2024 18:04:43 +0000 Subject: [PATCH] Sync from PR#2130 Create impersonation_benefits_enrollment.yml by @aidenmitchell https://github.com/sublime-security/sublime-rules/pull/2130 Source SHA 9b89fd8f37a5f6d4f87328efde446fd250a10930 Triggered by @aidenmitchell --- .../impersonation_benefits_enrollment.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/detection-rules/impersonation_benefits_enrollment.yml b/detection-rules/impersonation_benefits_enrollment.yml index c8918ab1cfb..3807579ea71 100644 --- a/detection-rules/impersonation_benefits_enrollment.yml +++ b/detection-rules/impersonation_benefits_enrollment.yml @@ -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', @@ -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") ), @@ -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" @@ -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") @@ -101,4 +114,4 @@ detection_methods: - "Sender analysis" id: "5a6eb5a8-2d91-5ed8-a0d2-fb3cc2fef40b" testing_pr: 2130 -testing_sha: d2b2e55324bcec2a7cb688bfc53f3b8f99467f58 +testing_sha: 9b89fd8f37a5f6d4f87328efde446fd250a10930