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
queryPeriod: 1h
version: 1.0.0
kind: Scheduled
triggerThreshold: 0
relevantTechniques:
- T1580
triggerOperator: gt
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
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  
name: OCI - Discovery activity
queryFrequency: 1h
requiredDataConnectors:
- connectorId: OracleCloudInfrastructureLogsConnector
  dataTypes:
  - OCILogs
description: |
    'Detects possible discovery activity.'
status: Available
id: 61f995d7-8038-4ff0-ad2b-eccfd18fcc8c
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIDiscoveryActivity.yaml
tactics:
- Discovery
severity: Medium
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery"
        ],
        "techniques": [
          "T1580"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}