mirror of
https://github.com/falcosecurity/falco.git
synced 2026-01-25 14:54:04 +00:00
rule(Write below root): require proc.name
Like other rules that rely on a process name for exceptions, don't trigger an event if the process name is missing e.g. "<NA>". Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
@@ -1413,6 +1413,7 @@
|
||||
desc: an attempt to write to any file directly below / or /root
|
||||
condition: >
|
||||
root_dir and evt.dir = < and open_write
|
||||
and proc_name_exists
|
||||
and not fd.name in (known_root_files)
|
||||
and not fd.directory pmatch (known_root_directories)
|
||||
and not exe_running_docker_save
|
||||
|
||||
Reference in New Issue
Block a user