NGINX - Multiple server errors from single IP address
| Id | b3ae0033-552e-4c3c-b493-3edffb4473bb |
| Rulename | NGINX - Multiple server errors from single IP address |
| Description | Detects multiple server errors from one source in short timeframe |
| Severity | Medium |
| Tactics | Impact InitialAccess |
| Techniques | T1498 T1190 T1133 |
| Required data connectors | CustomLogsAma |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Analytic Rules/NGINXMultipleServerErrorsFromSingleIP.yaml |
| Version | 1.0.2 |
| Arm template | b3ae0033-552e-4c3c-b493-3edffb4473bb.json |
let threshold = 100;
NGINXHTTPServer
| where tolong(HttpStatusCode) >= 500 and tolong(HttpStatusCode) <= 599
| summarize MultipleServerErrors = count() by SrcIpAddr, bin(TimeGenerated, 5m)
| where MultipleServerErrors > threshold
| extend IPCustomEntity = SrcIpAddr
description: |
'Detects multiple server errors from one source in short timeframe'
version: 1.0.2
triggerThreshold: 0
tactics:
- Impact
- InitialAccess
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Analytic Rules/NGINXMultipleServerErrorsFromSingleIP.yaml
triggerOperator: gt
status: Available
id: b3ae0033-552e-4c3c-b493-3edffb4473bb
name: NGINX - Multiple server errors from single IP address
queryFrequency: 1h
severity: Medium
kind: Scheduled
entityMappings:
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
relevantTechniques:
- T1498
- T1190
- T1133
query: |
let threshold = 100;
NGINXHTTPServer
| where tolong(HttpStatusCode) >= 500 and tolong(HttpStatusCode) <= 599
| summarize MultipleServerErrors = count() by SrcIpAddr, bin(TimeGenerated, 5m)
| where MultipleServerErrors > threshold
| extend IPCustomEntity = SrcIpAddr
requiredDataConnectors:
- dataTypes:
- NGINX_CL
connectorId: CustomLogsAma