Analytic rule catalog
OCI - Unexpected user agent
Back
| Id | a0b9a7ca-3e6d-4996-ae35-759df1d67a54 |
| Rulename | OCI - Unexpected user agent |
| Description | Detects unexpected user agent strings. |
| Severity | Medium |
| Tactics | InitialAccess |
| Techniques | T1190 |
| Required data connectors | OracleCloudInfraConnector OracleCloudInfrastructureLogsConnector |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle%20Cloud%20Infrastructure/Analytic%20Rules/OCIUnexpectedUserAgent.yaml |
| Version | 1.0.1 |
| Arm template | a0b9a7ca-3e6d-4996-ae35-759df1d67a54.json |
OCILogs
| where isnotempty(HttpUserAgentOriginal)
| where strlen(HttpUserAgentOriginal) <= 10
| extend IPCustomEntity = SrcIpAddr
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
name: OCI - Unexpected user agent
kind: Scheduled
triggerOperator: gt
status: Available
queryPeriod: 1h
requiredDataConnectors:
- connectorId: OracleCloudInfrastructureLogsConnector
dataTypes:
- OCILogs
- connectorId: OracleCloudInfraConnector
dataTypes:
- OCI_LogsV2_CL
tactics:
- InitialAccess
query: |
OCILogs
| where isnotempty(HttpUserAgentOriginal)
| where strlen(HttpUserAgentOriginal) <= 10
| extend IPCustomEntity = SrcIpAddr
description: |
'Detects unexpected user agent strings.'
severity: Medium
id: a0b9a7ca-3e6d-4996-ae35-759df1d67a54
triggerThreshold: 0
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle%20Cloud%20Infrastructure/Analytic%20Rules/OCIUnexpectedUserAgent.yaml
version: 1.0.1
relevantTechniques:
- T1190
{
"$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/a0b9a7ca-3e6d-4996-ae35-759df1d67a54')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/a0b9a7ca-3e6d-4996-ae35-759df1d67a54')]",
"properties": {
"alertRuleTemplateName": "a0b9a7ca-3e6d-4996-ae35-759df1d67a54",
"customDetails": null,
"description": "'Detects unexpected user agent strings.'\n",
"displayName": "OCI - Unexpected user agent",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle%20Cloud%20Infrastructure/Analytic%20Rules/OCIUnexpectedUserAgent.yaml",
"query": "OCILogs\n| where isnotempty(HttpUserAgentOriginal)\n| where strlen(HttpUserAgentOriginal) <= 10\n| extend IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1190"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}