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

Excessive Amount of Denied Connections from a Single Source

Back
Id3d645a88-2724-41a7-adea-db74c439cf79
RulenameExcessive Amount of Denied Connections from a Single Source
DescriptionThis creates an incident in the event that a single source IP address generates a excessive amount of denied connections.
SeverityMedium
TacticsImpact
TechniquesT1499
Required data connectorsSophosXGFirewall
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Sophos XG Firewall/Analytic Rules/ExcessiveAmountofDeniedConnectionsfromASingleSource.yaml
Version1.0.1
Arm template3d645a88-2724-41a7-adea-db74c439cf79.json
Deploy To Azure
let threshold = 5000;
SophosXGFirewall
| where Log_Type =~ "Firewall" and Status =~ "Deny"
| summarize count() by Src_IP, bin(TimeGenerated,5m)
| where count_ > threshold
| extend timestamp = TimeGenerated, IPCustomEntity = Src_IP
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
  - Syslog
  connectorId: SophosXGFirewall
queryPeriod: 1h
status: Available
kind: Scheduled
description: |
    'This creates an incident in the event that a single source IP address generates a excessive amount of denied connections.'
query: |
  let threshold = 5000;
  SophosXGFirewall
  | where Log_Type =~ "Firewall" and Status =~ "Deny"
  | summarize count() by Src_IP, bin(TimeGenerated,5m)
  | where count_ > threshold
  | extend timestamp = TimeGenerated, IPCustomEntity = Src_IP  
relevantTechniques:
- T1499
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Sophos XG Firewall/Analytic Rules/ExcessiveAmountofDeniedConnectionsfromASingleSource.yaml
severity: Medium
triggerThreshold: 0
name: Excessive Amount of Denied Connections from a Single Source
tactics:
- Impact
version: 1.0.1
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
id: 3d645a88-2724-41a7-adea-db74c439cf79
queryFrequency: 1h
{
  "$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/3d645a88-2724-41a7-adea-db74c439cf79')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/3d645a88-2724-41a7-adea-db74c439cf79')]",
      "properties": {
        "alertRuleTemplateName": "3d645a88-2724-41a7-adea-db74c439cf79",
        "customDetails": null,
        "description": "'This creates an incident in the event that a single source IP address generates a excessive amount of denied connections.'\n",
        "displayName": "Excessive Amount of Denied Connections from a Single Source",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "IPCustomEntity",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Sophos XG Firewall/Analytic Rules/ExcessiveAmountofDeniedConnectionsfromASingleSource.yaml",
        "query": "let threshold = 5000;\nSophosXGFirewall\n| where Log_Type =~ \"Firewall\" and Status =~ \"Deny\"\n| summarize count() by Src_IP, bin(TimeGenerated,5m)\n| where count_ > threshold\n| extend timestamp = TimeGenerated, IPCustomEntity = Src_IP\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1499"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}