diff --git a/rules/falco_rules.yaml b/rules/falco_rules.yaml index 55e1853b..bc153812 100644 --- a/rules/falco_rules.yaml +++ b/rules/falco_rules.yaml @@ -920,9 +920,11 @@ - rule: Update Package Repository desc: Detect package repositories get updated condition: > - ((open_write and access_repositories) or (modify and modify_repositories)) and not package_mgmt_procs + ((open_write and access_repositories) or (modify and modify_repositories)) + and not package_mgmt_procs + and not exe_running_docker_save output: > - Repository files get updated (user=%user.name command=%proc.cmdline file=%fd.name newpath=%evt.arg.newpath container_id=%container.id image=%container.image.repository) + Repository files get updated (user=%user.name command=%proc.cmdline parent=%proc.pname pcmdline=%proc.pcmdline file=%fd.name newpath=%evt.arg.newpath container_id=%container.id image=%container.image.repository) priority: NOTICE tags: [filesystem, mitre_persistence]