Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

OCI - Discovery activity

Back
Id61f995d7-8038-4ff0-ad2b-eccfd18fcc8c
RulenameOCI - Discovery activity
DescriptionDetects possible discovery activity.
SeverityMedium
TacticsDiscovery
TechniquesT1580
Required data connectorsOracleCloudInfrastructureLogsConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIDiscoveryActivity.yaml
Version1.0.0
Arm template61f995d7-8038-4ff0-ad2b-eccfd18fcc8c.json
Deploy To Azure
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
relevantTechniques:
- T1580
name: OCI - Discovery activity
requiredDataConnectors:
- dataTypes:
  - OCILogs
  connectorId: OracleCloudInfrastructureLogsConnector
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
triggerThreshold: 0
id: 61f995d7-8038-4ff0-ad2b-eccfd18fcc8c
tactics:
- Discovery
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIDiscoveryActivity.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
    'Detects possible discovery activity.'
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  
triggerOperator: gt
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/61f995d7-8038-4ff0-ad2b-eccfd18fcc8c')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/61f995d7-8038-4ff0-ad2b-eccfd18fcc8c')]",
      "properties": {
        "alertRuleTemplateName": "61f995d7-8038-4ff0-ad2b-eccfd18fcc8c",
        "customDetails": null,
        "description": "'Detects possible discovery activity.'\n",
        "displayName": "OCI - Discovery activity",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIDiscoveryActivity.yaml",
        "query": "let threshold = 20;\nOCILogs\n| where data_eventName_s startswith 'List' or data_eventName_s startswith 'Get'\n| summarize count() by data_definedTags_Oracle_Tags_CreatedBy_s, bin(TimeGenerated, 10m)\n| where count_ > threshold\n| extend AccountCustomEntity = data_definedTags_Oracle_Tags_CreatedBy_s\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery"
        ],
        "techniques": [
          "T1580"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}