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
SyslogAma
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.3
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
name: Excessive Amount of Denied Connections from a Single Source
version: 1.0.3
severity: Medium
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1499
status: Available
description: |
    'This creates an incident in the event that a single source IP address generates a excessive amount of denied connections.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Sophos XG Firewall/Analytic Rules/ExcessiveAmountofDeniedConnectionsfromASingleSource.yaml
requiredDataConnectors:
- connectorId: SophosXGFirewall
  dataTypes:
  - Syslog
- connectorId: SyslogAma
  datatypes:
  - Syslog
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: Src_IP
  entityType: IP
tactics:
- Impact
queryPeriod: 1h
query: |
  let threshold = 5000;
  SophosXGFirewall
  | where Log_Type =~ "Firewall" and Status =~ "Deny"
  | summarize count() by Src_IP, bin(TimeGenerated,5m)
  | where count_ > threshold  
kind: Scheduled
triggerThreshold: 0
id: 3d645a88-2724-41a7-adea-db74c439cf79
{
  "$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/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": "Src_IP",
                "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",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1499"
        ],
        "templateVersion": "1.0.3",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}