Detection rules › Kusto

OCI - Insecure metadata endpoint

Status
available
Severity
high
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Detects insecure metadata endpoint.'

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1069 Permission Groups Discovery

Rule body kusto

id: 9c4b1b9c-6462-41ce-8f2e-ce8c104331fc
name: OCI - Insecure metadata endpoint
description: |
  'Detects insecure metadata endpoint.'
severity: High
status: Available
requiredDataConnectors:
  - connectorId: OracleCloudInfrastructureLogsConnector
    dataTypes:
      - OCILogs
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Discovery
relevantTechniques:
  - T1069
query: |
  OCILogs
  | where data_request_headers_oci_original_url_s contains '/opc/v1' or data_request_headers_oci_original_url_s contains '/openstack'
  | where HttpStatusCode == 200
  | extend IPCustomEntity = DstIpAddr
entityMappings:
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: IPCustomEntity
version: 1.0.1
kind: Scheduled

Stages and Predicates

Stage 1: source

OCILogs

Stage 2: where

| where data_request_headers_oci_original_url_s contains '/opc/v1' or data_request_headers_oci_original_url_s contains '/openstack'

Stage 3: where

| where HttpStatusCode == 200

Stage 4: extend

| extend IPCustomEntity = DstIpAddr

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
HttpStatusCodeeq
  • 200 transforms: cased
data_request_headers_oci_original_url_scontains
  • /opc/v1
  • /openstack

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
IPCustomEntityextend