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.

2.5 KB
Raw Blame
id: chronicle-detection-rules-sap-hanadb-user-admin-actions
name: sap_hanadb_user_admin_actions
description: sap_hanadb_user_admin_actions
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "/*\n * Copyright 2026 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 sap_hanadb_user_admin_actions {\n\n  meta:\n    author = \"Google Cloud\
    \ Security\"\n    description = \"Detects administrative user management (Create/Alter/Drop)\
    \ and schema deletion within SAP HANA DB.\"\n    severity = \"Medium\"\n    tactic\
    \ = \"TA0003\"\n    technique = \"T1136\"\n\n  events:\n    $e.metadata.log_type\
    \ = \"SAP_HANA_AUDIT\"\n\n    $statement = $e.additional.fields[\"executed_statement\"\
    ]\n\n    (\n        $statement = /CREATE USER/ nocase or\n        $statement =\
    \ /ALTER USER/ nocase or\n        $statement = /DROP USER/ nocase or\n       \
    \ $statement = /DROP SCHEMA/ nocase\n    )\n\n    $user = $e.principal.user.userid\n\
    \n  match:\n    $user over 30m\n\n  outcome:\n    $risk_score = max(70)\n    $principal_user\
    \ = array_distinct($user)\n    $target_user = array_distinct($e.target.user.userid)\n\
    \    $executed_statements = array_distinct($statement)\n    $system_id = array_distinct($e.target.resource.attribute.labels[\"\
    system_id\"])\n    $db_name = array_distinct($e.target.resource.name)\n\n  condition:\n\
    \    $e\n}"
  chronicle_rule_name: sap_hanadb_user_admin_actions
provenance:
  source: chronicle/detection-rules
  source_id: sap_hanadb_user_admin_actions
  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/sap/sap_hanadb_user_admin_actions.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema