Detection rules › Kusto

OCI - Discovery activity

Status
available
Severity
medium
Time window
10m
Group by
data_definedTags_Oracle_Tags_CreatedBy_s
Source
github.com/Azure/Azure-Sentinel

'Detects possible discovery activity.'

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1580 Cloud Infrastructure Discovery

Rule body kusto

id: 61f995d7-8038-4ff0-ad2b-eccfd18fcc8c
name: OCI - Discovery activity
description: |
  'Detects possible discovery activity.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: OracleCloudInfrastructureLogsConnector
    dataTypes:
      - OCILogs
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Discovery
relevantTechniques:
  - T1580
query: |
  let threshold = 20;
  OCILogs
  | where data_eventName_s startswith 'List' or data_eventName_s startswith 'Get'
  | summarize count() by data_definedTags_Oracle_Tags_CreatedBy_s, bin(TimeGenerated, 10m)
  | where count_ > threshold
  | extend AccountCustomEntity = data_definedTags_Oracle_Tags_CreatedBy_s
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.0
kind: Scheduled

Stages and Predicates

Parameters

let threshold = 20;

Stage 1: source

OCILogs

Stage 2: where

| where data_eventName_s startswith 'List' or data_eventName_s startswith 'Get'

Stage 3: summarize

| summarize count() by data_definedTags_Oracle_Tags_CreatedBy_s, bin(TimeGenerated, 10m)

Stage 4: where

| where count_ > threshold

Stage 5: extend

| extend AccountCustomEntity = data_definedTags_Oracle_Tags_CreatedBy_s

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
count_gt
  • 20 transforms: cased
data_eventName_sstarts_with
  • Get
  • List

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
data_definedTags_Oracle_Tags_CreatedBy_ssummarize
AccountCustomEntityextend