text code block:process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "executed") and ( process.name == "kubeletctl" or (process.args in ("run", "exec", "scan", "pods", "runningpods", "attach", "portForward", "cri", "pid2pod") and process.args:("*:10250*", "*:10255*")) )
Install detection rules in Elastic Security
Detect Potential Kubeletctl Execution 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).