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.

3.0 KB
Raw Blame
id: chronicle-detection-rules-entra-id-application-restore
name: entra_id_application_restore
description: entra_id_application_restore
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "/*\n * Copyright 2025 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 entra_id_application_restore {\n\n  meta:\n    author = \"Google Cloud\
    \ Security\"\n    description = \"Entra ID application was restored. This implies\
    \ a soft delete was performed at some point but less than 30 days ago.\"\n   \
    \ rule_id = \"mr_ed0a04f9-4ceb-499e-9e6f-01e4507b8da5\"\n    rule_name = \"Entra\
    \ ID Application Restore\"\n    type = \"alert\"\n    platform = \"azure\"\n \
    \   data_source = \"azure ad audit\"\n    severity = \"Medium\"\n    priority\
    \ = \"Medium\"\n\n  events:\n    $app.metadata.event_type = \"SERVICE_CREATION\"\
    \n    $app.metadata.product_event_type = \"Restore application\"\n    $app.metadata.product_name\
    \ = \"Azure AD Directory Audit\"\n    $app.metadata.vendor_name = \"Microsoft\"\
    \n    $app.security_result.action = \"ALLOW\"\n    $app.principal.user.userid\
    \ = $user\n\n  match:\n    $user over 5m\n\n  outcome:\n    $risk_score = 65\n\
    \    $event_count = count_distinct($app.metadata.id)\n    $principal_ip = array_distinct($app.principal.ip)\n\
    \    $principal_email = array_distinct($app.principal.user.email_addresses)\n\
    \    $principal_county_region = array_distinct($app.principal.ip_geo_artifact.location.country_or_region)\n\
    \    $user_agent = array_distinct($app.network.http.user_agent)\n    $network_session\
    \ = array_distinct($app.network.session_id)\n    $target_application = array_distinct($app.target.resource.name)\n\
    \    $target_application_id = array_distinct($app.target.resource.product_object_id)\n\
    \n  condition:\n    $app\n}"
  chronicle_rule_name: entra_id_application_restore
provenance:
  source: chronicle/detection-rules
  source_id: entra_id_application_restore
  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/microsoft/entra_id/entra_id_application_restore.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema