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
status: Available
id: 729c6d21-fad9-4a6a-9c7f-482393c95957
name: Cloudflare - Empty user agent
requiredDataConnectors:
- connectorId: CloudflareDataConnector
  dataTypes:
  - Cloudflare
severity: Medium
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cloudflare/Analytic Rules/CloudflareEmptyUA.yaml
kind: Scheduled
description: |
    'Detects requests where user agent is empty.'
relevantTechniques:
- T1190
- T1133
queryPeriod: 1h
triggerOperator: gt
queryFrequency: 1h
query: |
  Cloudflare
  | where isempty(HttpUserAgentOriginal)
  | extend IPCustomEntity = SrcIpAddr  
version: 1.0.0
tactics:
- InitialAccess
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
{
  "$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/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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1133",
          "T1190"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}