Allow falco to spawn shells in containers.

Falco is allowed to spawn shells in containers as a part of its program
output method.
This commit is contained in:
Mark Stemm 2016-10-14 16:51:41 -07:00
parent f761ddff9f
commit e543fbf247

View File

@ -314,7 +314,7 @@
- rule: Run shell in container
desc: a shell was spawned by a non-shell program in a container. Container entrypoints are excluded.
condition: spawned_process and container and shell_procs and proc.pname exists and not proc.pname in (shell_binaries, docker_binaries, initdb, pg_ctl, awk, apache2)
condition: spawned_process and container and shell_procs and proc.pname exists and not proc.pname in (shell_binaries, docker_binaries, initdb, pg_ctl, awk, apache2, falco)
output: "Shell spawned in a container other than entrypoint (user=%user.name %container.info shell=%proc.name parent=%proc.pname cmdline=%proc.cmdline)"
priority: WARNING