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

Cloudflare - Empty user agent

Back
Id729c6d21-fad9-4a6a-9c7f-482393c95957
RulenameCloudflare - Empty user agent
DescriptionDetects requests where user agent is empty.
SeverityMedium
TacticsInitialAccess
TechniquesT1190
T1133
Required data connectorsCloudflareDataConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cloudflare/Analytic Rules/CloudflareEmptyUA.yaml
Version1.0.0
Arm template729c6d21-fad9-4a6a-9c7f-482393c95957.json
Deploy To Azure
Cloudflare
| where isempty(HttpUserAgentOriginal)
| extend IPCustomEntity = SrcIpAddr
queryPeriod: 1h
version: 1.0.0
tactics:
- InitialAccess
queryFrequency: 1h
id: 729c6d21-fad9-4a6a-9c7f-482393c95957
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
  - Cloudflare
  connectorId: CloudflareDataConnector
severity: Medium
entityMappings:
- entityType: IP
  fieldMappings:
  - columnName: IPCustomEntity
    identifier: Address
triggerThreshold: 0
relevantTechniques:
- T1190
- T1133
query: |
  Cloudflare
  | where isempty(HttpUserAgentOriginal)
  | extend IPCustomEntity = SrcIpAddr  
kind: Scheduled
name: Cloudflare - Empty user agent
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cloudflare/Analytic Rules/CloudflareEmptyUA.yaml
description: |
    'Detects requests where user agent is empty.'
status: Available
{
  "$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/729c6d21-fad9-4a6a-9c7f-482393c95957')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/729c6d21-fad9-4a6a-9c7f-482393c95957')]",
      "properties": {
        "alertRuleTemplateName": "729c6d21-fad9-4a6a-9c7f-482393c95957",
        "customDetails": null,
        "description": "'Detects requests where user agent is empty.'\n",
        "displayName": "Cloudflare - Empty user agent",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "IPCustomEntity",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cloudflare/Analytic Rules/CloudflareEmptyUA.yaml",
        "query": "Cloudflare\n| where isempty(HttpUserAgentOriginal)\n| extend IPCustomEntity = SrcIpAddr\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1133",
          "T1190"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}