mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-30 00:22:15 +00:00
Allow systemd --version as a "user mgmt binary"
systemd --version might be run in some unusual containerized environments, so exclude it.
This commit is contained in:
parent
7c8a85158a
commit
00dd3c47c0
@ -824,7 +824,8 @@
|
|||||||
not proc.name in (su, sudo, lastlog) and not container and
|
not proc.name in (su, sudo, lastlog) and not container and
|
||||||
not proc.pname in (cron_binaries, systemd, run-parts) and
|
not proc.pname in (cron_binaries, systemd, run-parts) and
|
||||||
not proc.cmdline startswith "passwd -S" and
|
not proc.cmdline startswith "passwd -S" and
|
||||||
not proc.cmdline startswith "useradd -D"
|
not proc.cmdline startswith "useradd -D" and
|
||||||
|
not proc.cmdline startswith "systemd --version"
|
||||||
output: >
|
output: >
|
||||||
User management binary command run outside of container
|
User management binary command run outside of container
|
||||||
(user=%user.name command=%proc.cmdline parent=%proc.pname gparent=%proc.aname[2] ggparent=%proc.aname[3] gggparent=%proc.aname[4])
|
(user=%user.name command=%proc.cmdline parent=%proc.pname gparent=%proc.aname[2] ggparent=%proc.aname[3] gggparent=%proc.aname[4])
|
||||||
|
Loading…
Reference in New Issue
Block a user