mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-26 14:52:20 +00:00
rule update(Non sudo setuid): check user id as well in case user name info is not available
Signed-off-by: Kaizhe Huang <khuang@aurora.tech>
This commit is contained in:
parent
684a5d85ff
commit
b268d4d6c3
@ -2235,7 +2235,7 @@
|
|||||||
condition: >
|
condition: >
|
||||||
evt.type=setuid and evt.dir=>
|
evt.type=setuid and evt.dir=>
|
||||||
and (known_user_in_container or not container)
|
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 somebody_becoming_themself
|
||||||
and not proc.name in (known_setuid_binaries, userexec_binaries, mail_binaries, docker_binaries,
|
and not proc.name in (known_setuid_binaries, userexec_binaries, mail_binaries, docker_binaries,
|
||||||
nomachine_binaries)
|
nomachine_binaries)
|
||||||
|
Loading…
Reference in New Issue
Block a user