Process Killing Detected via Defend for Containers

Last updated 10 days ago on 2026-03-05
Created 10 days ago on 2026-03-05

About

This rule detects the killing of processes inside a container. An adversary may attempt to find and kill competing processes to gain control of the container.
Tags
Data Source: Elastic Defend for ContainersDomain: ContainerOS: LinuxUse Case: Threat DetectionTactic: ImpactLanguage: eql
Severity
low
Risk Score
21
MITRE ATT&CK™

Impact (TA0040)(external, opens in a new tab or window)

False Positive Examples
There is a potential for false positives if the processes are killed for legitimate purposes, such as debugging or troubleshooting. It is important to investigate any alerts generated by this rule to determine if they are indicative of malicious activity or part of legitimate container activity.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-cloud_defend.process*
Related Integrations

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

Query
text code block:
process where event.type == "start" and event.action == "exec" and container.id like "*?" and ( process.name in ("kill", "pkill", "killall") or ( /* Account for tools that execute utilities as a subprocess, in this case the target utility name will appear as a process arg */ process.name in ("bash", "dash", "sh", "tcsh", "csh", "zsh", "ksh", "fish", "busybox") and process.args in ( "kill", "/bin/kill", "/usr/bin/kill", "/usr/local/bin/kill", "pkill", "/bin/pkill", "/usr/bin/pkill", "/usr/local/bin/pkill", "killall", "/bin/killall", "/usr/bin/killall", "/usr/local/bin/killall" ) and /* default exclusion list to not FP on default multi-process commands */ not process.args in ( "man", "/bin/man", "/usr/bin/man", "/usr/local/bin/man", "chmod", "/bin/chmod", "/usr/bin/chmod", "/usr/local/bin/chmod", "chown", "/bin/chown", "/usr/bin/chown", "/usr/local/bin/chown" ) ) )

Install detection rules in Elastic Security

Detect Process Killing Detected via Defend for Containers 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).