Detection rules › Kusto

DDoS Attack IP Addresses - PPS Threshold

Status
available
Severity
medium
Time window
1s
Group by
destPublicIpAddress_s, sec, sourcePublicIpAddress_s
Source
github.com/Azure/Azure-Sentinel

Identifies IP addresses that generates maximal traffic rate over 10k PPS during DDoS attack mitigation

MITRE ATT&CK coverage

TacticTechniques
ImpactT1498 Network Denial of Service

Rules detecting the same action

Other rules on this platform that filter on the same API call or operation.

Rule body kusto

id: 6e76fd9d-8104-41eb-bad3-26054a3ad5f0
kind: Scheduled
name: DDoS Attack IP Addresses - PPS Threshold
description: Identifies IP addresses that generates maximal traffic rate over 10k PPS during DDoS attack mitigation
severity: Medium
status : Available
requiredDataConnectors:
  - connectorId: DDOS
    dataTypes:
      - AzureDiagnostics
queryPeriod: 2h
queryFrequency: 2h
triggerOperator: gt
triggerThreshold: 0
query: |
  AzureDiagnostics 
  | where ResourceType == 'PUBLICIPADDRESSES' and Category == "DDoSMitigationFlowLogs"
  //sample rate of mitigation device 1:1000 so the PPS of the source is estimated to be x1000.
  | summarize PPS = 1000 * count() by destPublicIpAddress_s, sec = bin(TimeGenerated, 1s), sourcePublicIpAddress_s
  | summarize maxPPS = max(PPS) by destPublicIpAddress_s, sourcePublicIpAddress_s
  | order by destPublicIpAddress_s, maxPPS desc
  | where maxPPS > 10000
eventGroupingSettings:
  aggregationKind: SingleAlert
entityMappings:
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: sourcePublicIpAddress_s
tactics:
  - Impact
relevantTechniques:
  - T1498
version: 1.0.1

Stages and Predicates

Stage 1: source

AzureDiagnostics

Stage 2: where

| where ResourceType == 'PUBLICIPADDRESSES' and Category == "DDoSMitigationFlowLogs"

Stage 3: summarize

| summarize PPS = 1000 * count() by destPublicIpAddress_s, sec = bin(TimeGenerated, 1s), sourcePublicIpAddress_s

Stage 4: summarize

| summarize maxPPS = max(PPS) by destPublicIpAddress_s, sourcePublicIpAddress_s
Threshold
gt 10000

Stage 5: sort

| order by destPublicIpAddress_s, maxPPS desc

Stage 6: where

| where maxPPS > 10000

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Categoryeq
  • DDoSMitigationFlowLogs transforms: cased
ResourceTypeeq
  • PUBLICIPADDRESSES transforms: cased
maxPPSgt
  • 10000 transforms: cased

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
destPublicIpAddress_ssummarize
maxPPSsummarize
sourcePublicIpAddress_ssummarize