Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

4.9 KB
Raw Blame
id: chronicle-detection-rules-okta-mfa-brute-force-attack
name: okta_mfa_brute_force_attack
description: okta_mfa_brute_force_attack
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "/*\n * Copyright 2023 Google LLC\n *\n * Licensed under the Apache\
    \ License, Version 2.0 (the \"License\");\n * you may not use this file except\
    \ in compliance with the License.\n * You may obtain a copy of the License at\n\
    \ *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required\
    \ by applicable law or agreed to in writing, software\n * distributed under the\
    \ License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS\
    \ OF ANY KIND, either express or implied.\n * See the License for the specific\
    \ language governing permissions and\n * limitations under the License.\n */\n\
    \nrule okta_mfa_brute_force_attack {\n\n  meta:\n    author = \"Google Cloud Security\"\
    \n    description = \"Detects a successful login after multiple failed MFA pushes\"\
    \n    rule_id = \"mr_61d8d679-bf4d-4441-bbbb-65f82a37e3c5\"\n    rule_name = \"\
    Okta MFA Bruteforce Attack\"\n    reference = \"https://sec.okta.com/pushfatigueworkflows\"\
    \n    mitre_attack_tactic = \"Credential Access\"\n    mitre_attack_technique\
    \ = \"Brute Force\"\n    mitre_attack_url = \"https://attack.mitre.org/techniques/T1110/\"\
    \n    mitre_attack_version = \"v13.1\"\n    type = \"Hunt\"\n    data_source =\
    \ \"Okta\"\n    severity = \"Medium\"\n    priority = \"Medium\"\n\n  events:\n\
    \    $push.metadata.product_name = \"Okta\"\n    $push.metadata.vendor_name =\
    \ \"Okta\"\n    $push.metadata.event_type = \"USER_UNCATEGORIZED\"\n    $push.metadata.product_event_type\
    \ = \"system.push.send_factor_verify_push\"\n    $push.network.parent_session_id\
    \ = $parent_session_id\n\n    $auth.metadata.event_type = \"USER_LOGIN\"\n   \
    \ $auth.metadata.product_event_type = \"user.authentication.auth_via_mfa\"\n \
    \   $auth.metadata.product_name = \"Okta\"\n    $auth.metadata.vendor_name = \"\
    Okta\"\n    $auth.security_result.action = \"ALLOW\"\n    $auth.network.parent_session_id\
    \ = $parent_session_id\n\n    $push.metadata.event_timestamp.seconds <= $auth.metadata.event_timestamp.seconds\n\
    \n  match:\n    $parent_session_id over 15m\n\n  outcome:\n    $risk_score = max(35)\n\
    \    $mitre_attack_tactic = \"Credential Access\"\n    $mitre_attack_technique\
    \ = \"Brute Force\"\n    $push_target_user_agent = array_distinct($push.network.http.user_agent)\n\
    \    $push_principal_ip = array_distinct($push.principal.ip)\n    $push_principal_ip_country\
    \ = array_distinct($push.principal.ip_geo_artifact.location.country_or_region)\n\
    \    $push_principal_ip_state = array_distinct($push.principal.ip_geo_artifact.location.state)\n\
    \    //$push_principal_ip_city = array_distinct($push.principal.location.city)\n\
    \    $push_principal_user_email_addresses = array_distinct ($push.principal.user.email_addresses)\n\
    \    $push_security_result_summary = array_distinct($push.security_result.summary)\n\
    \    $push_target_user_email_addresses = array_distinct($push.target.user.email_addresses)\n\
    \    $push_target_user_userid = array_distinct($push.target.user.userid)\n   \
    \ $push_security_result_risk_reason = array_distinct($push.security_result.detection_fields[\"\
    Risk Reasons\"])\n    $dc_push_network_session_id = count_distinct($push.network.parent_session_id)\n\
    \    $auth_target_user_agent = array_distinct($auth.network.http.user_agent)\n\
    \    $auth_principal_ip = array_distinct($auth.principal.ip)\n    $auth_principal_ip_country\
    \ = array_distinct($auth.principal.ip_geo_artifact.location.country_or_region)\n\
    \    //$auth_principal_ip_state = array_distinct($auth.principal.ip_geo_artifact.location.state)\n\
    \    //$auth_principal_ip_city = array_distinct($auth.principal.location.city)\n\
    \    $auth_principal_user_email_addresses = array_distinct ($auth.principal.user.email_addresses)\n\
    \    $auth_security_result_summary = array_distinct($auth.security_result.summary)\n\
    \    $auth_target_user_email_addresses = array_distinct($auth.target.user.email_addresses)\n\
    \    $auth_target_user_userid = array_distinct($auth.target.user.userid)\n\n \
    \ condition:\n    #push > 4 and $auth\n}"
  chronicle_rule_name: okta_mfa_brute_force_attack
provenance:
  source: chronicle/detection-rules
  source_id: okta_mfa_brute_force_attack
  source_commit: 74dd490
  license: Apache-2.0
  license_url: https://github.com/chronicle/detection-rules/blob/main/LICENSE
  imported_at: '2026-05-04'
  imported_by: chronicle_importer
  upstream_path: rules/community/okta/okta_mfa_brute_force_attack.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema