Skip to content

Commit

Permalink
+ Add the user_known_change_thread_namespace_binaries list to simplif…
Browse files Browse the repository at this point in the history
…y "Change thread namespace" rule tweaks (#324)

sysdig-CLA-1.0-signed-off-by: Jean-Philippe Lachance <jplachance@coveo.com>
  • Loading branch information
JPLachance authored and mstemm committed Feb 20, 2018
1 parent 414c9a0 commit 52e8c16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rules/falco_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1020,13 +1020,20 @@
# syscall=%evt.type args=%evt.args)
# priority: INFO

# This list allows for easy additions to the set of commands allowed
# to change thread namespace without having to copy and override the
# entire change thread namespace rule.
- list: user_known_change_thread_namespace_binaries
items: []

- rule: Change thread namespace
desc: >
an attempt to change a program/thread\'s namespace (commonly done
as a part of creating a container) by calling setns.
condition: >
evt.type = setns
and not proc.name in (docker_binaries, k8s_binaries, lxd_binaries, sysdigcloud_binaries, sysdig, nsenter)
and not proc.name in (user_known_change_thread_namespace_binaries)
and not proc.name startswith "runc:"
and not proc.pname in (sysdigcloud_binaries)
and not java_running_sdjagent
Expand Down

0 comments on commit 52e8c16

Please sign in to comment.