Process Discovery Using Built-in Tools
Elastic Stack Serverless Security
This rule identifies the execution of commands that can be used to enumerate running processes. Adversaries may enumerate processes to identify installed applications and security solutions.
Rule type: eql
Rule indices:
- logs-endpoint.events.process-*
- logs-system.security*
- winlogbeat-*
- logs-windows.*
- endgame-*
Severity: low
Risk score: 21
Runs every: 5m
Searches indices from: now-9m (https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math[Date Math format], see also Additional look-back time
)
Maximum alerts per execution: 100
References: None
Tags:
- Domain: Endpoint
- OS: Windows
- Use Case: Threat Detection
- Tactic: Discovery
- Rule Type: BBR
- Data Source: Elastic Defend
- Data Source: Elastic Endgame
- Data Source: System
Version: 107
Rule authors:
- Elastic
Rule license: Elastic License v2
process where host.os.type == "windows" and event.type == "start" and process.args != null and
(
process.name :("PsList.exe", "qprocess.exe") or
(process.name : "powershell.exe" and process.args : ("*get-process*", "*Win32_Process*")) or
(process.name : "wmic.exe" and process.args : ("process", "*Win32_Process*")) or
(process.name : "tasklist.exe" and not process.args : ("pid eq*")) or
(process.name : "query.exe" and process.args : "process")
) and not user.id : "S-1-5-18"
Framework: MITRE ATT&CKTM
Tactic:
- Name: Discovery
- ID: TA0007
- Reference URL: https://attack.mitre.org/tactics/TA0007/
Technique:
- Name: Process Discovery
- ID: T1057
- Reference URL: https://attack.mitre.org/techniques/T1057/