-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from f-bader/YAMLParamMerge
Add support for scheduled YAML conversion with parameter file
- Loading branch information
Showing
6 changed files
with
286 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
OverwriteProperties: | ||
description: |- | ||
Identifies instances where Wazuh logged over 200 '403' or '404' Web Errors from one IP Address. | ||
To onboard Wazuh data into Sentinel please view: https://github.com/wazuh/wazuh-documentation/blob/master/source/azure/monitoring%20activity.rst | ||
queryFrequency: 1h | ||
queryPeriod: 1h | ||
customDetails: | ||
HostName: HostName | ||
PrependQuery: | | ||
// Example description. Will be added to the beginning of the query. | ||
AppendQuery: | | ||
// Example text that will be added to the end of the query. | ||
| extend TimeGenerated = StartTime | ||
ReplaceQueryVariables: | ||
NumberOfErrors: 200 | ||
ErrorCodes: | ||
- 403 | ||
- "404" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
id: 2790795b-7dba-483e-853f-44aa0bc9c985 | ||
name: Wazuh - Large Number of Web errors from an IP | ||
description: | | ||
'Identifies instances where Wazuh logged over 400 '403' Web Errors from one IP Address. To onboard Wazuh data into Sentinel please view: https://github.com/wazuh/wazuh-documentation/blob/master/source/azure/monitoring%20activity.rst' | ||
severity: Low | ||
requiredDataConnectors: [] | ||
queryFrequency: 1d | ||
queryPeriod: 1d | ||
triggerOperator: gt | ||
triggerThreshold: 0 | ||
tactics: | ||
- Persistence | ||
query: | | ||
CommonSecurityLog | ||
| where DeviceProduct =~ "Wazuh" | ||
| where Activity has "Web server 400 error code." | ||
| where Message in (%%ErrorCodes%%) | ||
| extend HostName=substring(split(DeviceCustomString1,")")[0],1) | ||
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), NumberOfErrors = dcount(SourceIP) by HostName, SourceIP | ||
| where NumberOfErrors > %%NumberOfErrors%% | ||
| sort by NumberOfErrors desc | ||
| extend timestamp = StartTime | ||
entityMappings: | ||
- entityType: Host | ||
fieldMappings: | ||
- identifier: HostName | ||
columnName: HostName | ||
- entityType: IP | ||
fieldMappings: | ||
- identifier: Address | ||
columnName: SourceIP | ||
version: 1.0.3 | ||
kind: Scheduled | ||
metadata: | ||
source: | ||
kind: Community | ||
author: | ||
name: Jordan Ross | ||
support: | ||
tier: Community | ||
categories: | ||
domains: ["Security - Others", "Networking"] |