Skip to content

Commit

Permalink
Added list k8s_client_binaries
Browse files Browse the repository at this point in the history
Added accidentally deleted lines for the list of k8s client binaries.

Signed-off-by: David de Torres <detorres.david@gmail.com>
  • Loading branch information
daviddetorres authored and fntlnz committed Nov 8, 2019
1 parent 98beced commit ed76756
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions rules/falco_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2595,13 +2595,16 @@
priority: CRITICAL
tags: [process, mitre_execution]

# Application rules have moved to application_rules.yaml. Please look
# there if you want to enable them by adding to
# falco_rules.local.yaml.

- list: k8s_client_binaries
items: [docker, kubectl, crictl]

- rule: The docker client is executed in a container
desc: Detect a k8s client tool executed inside a container
condition: spawned_process and container and proc.name in (k8s_client_binaries)
output: "Docker or kubernetes client executed in container (user=%user.name %container.info parent=%proc.pname cmdline=%proc.cmdline)"
priority: WARNING
tags: [container, mitre_execution]
tags: [container, mitre_execution]

# Application rules have moved to application_rules.yaml. Please look
# there if you want to enable them by adding to
# falco_rules.local.yaml.

0 comments on commit ed76756

Please sign in to comment.