Skip to content

Commit

Permalink
rule update(Non sudo setuid): check user id as well in case user name…
Browse files Browse the repository at this point in the history
… info is not available

Signed-off-by: Kaizhe Huang <khuang@aurora.tech>
  • Loading branch information
Kaizhe authored and poiana committed Jun 10, 2021
1 parent 684a5d8 commit b268d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/falco_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@
condition: >
evt.type=setuid and evt.dir=>
and (known_user_in_container or not container)
and not user.name=root
and not (user.name=root or user.uid=0)
and not somebody_becoming_themself
and not proc.name in (known_setuid_binaries, userexec_binaries, mail_binaries, docker_binaries,
nomachine_binaries)
Expand Down

0 comments on commit b268d4d

Please sign in to comment.