Skip to content

Commit 6cedfe8

Browse files
authored
Update process name conditions for suspicious execution
1 parent 523ddb4 commit 6cedfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/linux/execution_suspicious_pod_or_container_creation_command_execution.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type = "eql"
4646
query = '''
4747
process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event", "start", "ProcessRollup2", "executed", "process_started") and (
4848
(process.name == "kubectl" and process.args == "run" and process.args == "--restart=Never" and process.args == "--") or
49-
(process.name == "docker" and process.args == "run")
49+
(process.name in ("docker", "nerdctl", "ctl") and process.args == "run")
5050
) and
5151
process.args in ("bash", "dash", "sh", "tcsh", "csh", "zsh", "ksh", "fish") and
5252
process.command_line like~ (

0 commit comments

Comments
 (0)