mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-31 06:10:45 +00:00
Let duply write below /etc/duply
It's a shell script that runs touch so the detection is slightly more complicated.
This commit is contained in:
@@ -594,6 +594,9 @@
|
||||
- macro: add_shell_writing_shells_tmp
|
||||
condition: (proc.name=add-shell and fd.name=/etc/shells.tmp)
|
||||
|
||||
- macro: duply_writing_exclude_files
|
||||
condition: (proc.name=touch and proc.pcmdline startswith "bash /usr/bin/duply" and fd.name startswith "/etc/duply")
|
||||
|
||||
# Add conditions to this macro (probably in a separate file,
|
||||
# overwriting this macro) to allow for specific combinations of
|
||||
# programs writing below specific directories below
|
||||
@@ -640,6 +643,7 @@
|
||||
and not networkmanager_writing_resolv_conf
|
||||
and not run_by_chef
|
||||
and not add_shell_writing_shells_tmp
|
||||
and not duply_writing_exclude_files
|
||||
and not parent_supervise_running_multilog
|
||||
and not pki_realm_writing_realms
|
||||
and not htpasswd_writing_passwd
|
||||
|
Reference in New Issue
Block a user