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

OCI - Unexpected user agent

Back
Ida0b9a7ca-3e6d-4996-ae35-759df1d67a54
RulenameOCI - Unexpected user agent
DescriptionDetects unexpected user agent strings.
SeverityMedium
TacticsInitialAccess
TechniquesT1190
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/OCIUnexpectedUserAgent.yaml
Version1.0.0
Arm templatea0b9a7ca-3e6d-4996-ae35-759df1d67a54.json
Deploy To Azure
OCILogs
| where isnotempty(HttpUserAgentOriginal)
| where strlen(HttpUserAgentOriginal) <= 10
| extend IPCustomEntity = SrcIpAddr
version: 1.0.0
name: OCI - Unexpected user agent
severity: Medium
queryFrequency: 1h
kind: Scheduled
queryPeriod: 1h
description: |
    'Detects unexpected user agent strings.'
query: |
  OCILogs
  | where isnotempty(HttpUserAgentOriginal)
  | where strlen(HttpUserAgentOriginal) <= 10
  | extend IPCustomEntity = SrcIpAddr  
tactics:
- InitialAccess
triggerOperator: gt
entityMappings:
- entityType: IP
  fieldMappings:
  - columnName: IPCustomEntity
    identifier: Address
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIUnexpectedUserAgent.yaml
requiredDataConnectors:
- connectorId: OracleCloudInfrastructureLogsConnector
  dataTypes:
  - OCILogs
status: Available
relevantTechniques:
- T1190
id: a0b9a7ca-3e6d-4996-ae35-759df1d67a54
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/a0b9a7ca-3e6d-4996-ae35-759df1d67a54')]",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/a0b9a7ca-3e6d-4996-ae35-759df1d67a54')]",
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
      "kind": "Scheduled",
      "apiVersion": "2022-11-01-preview",
      "properties": {
        "displayName": "OCI - Unexpected user agent",
        "description": "'Detects unexpected user agent strings.'\n",
        "severity": "Medium",
        "enabled": true,
        "query": "OCILogs\n| where isnotempty(HttpUserAgentOriginal)\n| where strlen(HttpUserAgentOriginal) <= 10\n| extend IPCustomEntity = SrcIpAddr\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0,
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1190"
        ],
        "alertRuleTemplateName": "a0b9a7ca-3e6d-4996-ae35-759df1d67a54",
        "customDetails": null,
        "entityMappings": [
          {
            "fieldMappings": [
              {
                "columnName": "IPCustomEntity",
                "identifier": "Address"
              }
            ],
            "entityType": "IP"
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIUnexpectedUserAgent.yaml",
        "templateVersion": "1.0.0",
        "status": "Available"
      }
    }
  ]
}