Apache - Command in URI
| Id | 54da6a42-3b00-11ec-8d3d-0242ac130003 |
| Rulename | Apache - Command in URI |
| Description | Detects command in URI |
| Severity | High |
| Tactics | InitialAccess |
| Techniques | T1190 T1133 |
| Required data connectors | CustomLogsAma |
| Kind | Scheduled |
| Query frequency | 15m |
| Query period | 15m |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ApacheHTTPServer/Analytic Rules/ApacheCommandInURI.yaml |
| Version | 1.0.3 |
| Arm template | 54da6a42-3b00-11ec-8d3d-0242ac130003.json |
let cmd_list = dynamic(['whoami', 'dpkg', 'useradd', 'sudo', 'cat']);
ApacheHTTPServer
| where UrlOriginal has_any (cmd_list)
| extend UrlCustomEntity = UrlOriginal
query: |
let cmd_list = dynamic(['whoami', 'dpkg', 'useradd', 'sudo', 'cat']);
ApacheHTTPServer
| where UrlOriginal has_any (cmd_list)
| extend UrlCustomEntity = UrlOriginal
version: 1.0.3
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ApacheHTTPServer/Analytic Rules/ApacheCommandInURI.yaml
status: Available
description: |
'Detects command in URI'
queryFrequency: 15m
name: Apache - Command in URI
kind: Scheduled
triggerThreshold: 0
id: 54da6a42-3b00-11ec-8d3d-0242ac130003
requiredDataConnectors:
- connectorId: CustomLogsAma
datatypes:
- ApacheHTTPServer_CL
severity: High
queryPeriod: 15m
entityMappings:
- fieldMappings:
- columnName: UrlCustomEntity
identifier: Url
entityType: URL
relevantTechniques:
- T1190
- T1133
tactics:
- InitialAccess