Privilege Escalation (TA0004)(external, opens in a new tab or window)
endpoint(external, opens in a new tab or window)
auditd_manager(external, opens in a new tab or window)
crowdstrike(external, opens in a new tab or window)
sentinel_one_cloud_funnel(external, opens in a new tab or window)
text code block:process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event", "start", "ProcessRollup2", "executed", "process_started") and process.args like ("*/proc/sys/kernel/core_pattern*", "*kernel.core_pattern*") and ?process.parent.executable != null and ( process.name in ("tee", "cp", "mv", "dd") or ( process.name == "sysctl" and process.args like ("*-w*", "*core_pattern*") ) or ( process.name in ("bash", "dash", "sh", "zsh", "ksh", "fish", "ash", "mksh", "busybox") and process.args == "-c" and process.args like ("*echo *", "*printf *") ) ) and not ?process.parent.executable in ("/usr/lib/systemd/systemd", "/usr/bin/kdumpctl", "/usr/sbin/abrtd", "/usr/bin/apport")
Install detection rules in Elastic Security
Detect Potential Container Escape via Kernel core_pattern Modification 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).