Process Discovery via Built-In Applications

Last updated 21 days ago on 2025-12-24
Created 3 years ago on 2023-07-11

About

Identifies the use of built-in tools attackers can use to discover running processes on an endpoint.
Tags
Domain: EndpointOS: LinuxOS: macOSUse Case: Threat DetectionTactic: DiscoveryRule Type: BBRData Source: Elastic DefendData Source: Elastic EndgameLanguage: kuery
Severity
low
Risk Score
21
MITRE ATT&CK™

Discovery (TA0007)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.*endgame-*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
event.category:process and host.os.type:(linux or macos) and event.type:start and event.action:(exec or exec_event) and process.name:("ps" or "pstree" or "htop" or "pgrep") and not ( process.parent.name:("amazon-ssm-agent" or "snap") or process.parent.args:("/usr/local/ASR/Vx/bin/status" or "/usr/sbin/ksmtuned") or process.parent.executable:( "/usr/bin/check_mk_agent" or /opt/gitlab/* or "/usr/bin/pmlogctl" or "/usr/libexec/pcp/bin/pmlogger_daily" or "/usr/libexec/pcp/bin/pmlogger_check" ) )

Install detection rules in Elastic Security

Detect Process Discovery via Built-In Applications in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).