CommonSecurityLog
| where DeviceProduct =~ "Wazuh"
| where Activity has "Web server 400 error code."
| where Message has "403"
| extend HostName=substring(split(DeviceCustomString1,")")[0],1)
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), NumberOfErrors = dcount(SourceIP) by HostName, SourceIP
| where NumberOfErrors > 400
| sort by NumberOfErrors desc
| extend timestamp = StartTime
relevantTechniques:
- T1110
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/CommonSecurityLog/Wazuh-Large_Number_of_Web_errors_from_an_IP.yaml
query: |
CommonSecurityLog
| where DeviceProduct =~ "Wazuh"
| where Activity has "Web server 400 error code."
| where Message has "403"
| extend HostName=substring(split(DeviceCustomString1,")")[0],1)
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), NumberOfErrors = dcount(SourceIP) by HostName, SourceIP
| where NumberOfErrors > 400
| sort by NumberOfErrors desc
| extend timestamp = StartTime
description: |
'Identifies instances where Wazuh logged over 400 '403' Web Errors from one IP Address. To onboard Wazuh data into Sentinel please view: https://documentation.wazuh.com/current/cloud-security/azure/index.html'
requiredDataConnectors: []
triggerOperator: gt
entityMappings:
- entityType: Host
fieldMappings:
- columnName: HostName
identifier: HostName
- entityType: IP
fieldMappings:
- columnName: SourceIP
identifier: Address
name: Wazuh - Large Number of Web errors from an IP
queryPeriod: 1d
triggerThreshold: 0
id: 2790795b-7dba-483e-853f-44aa0bc9c985
kind: Scheduled
severity: Low
queryFrequency: 1d
tactics:
- CredentialAccess
version: 1.0.5
metadata:
support:
tier: Community
author:
name: Jordan Ross
source:
kind: Community
categories:
domains:
- Security - Others
- Networking