Identifies execution using the MSSQL stored procedure xp_cmdshell. Malicious users may attempt to elevate their privileges by using xp_cmdshell, which is disabled by default; thus, it’s important to review the context of its use.
Rule type: eql
Risk score: 73
Runs every: 5m
Maximum alerts per execution: 100
- Threat Detection
Rule license: Elastic License v2
## Config If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
process where event.type in ("start", "process_started") and process.name : "cmd.exe" and process.parent.name : "sqlservr.exe"
Framework: MITRE ATT&CKTM