Write below rpm database
Description
Trying to write to the rpm database by any non-rpm related program can serve as an auditing rule to track general system changes. Such rules can be noisy and challenging to interpret, particularly if your system frequently undergoes updates. However, careful profiling of your environment can transform this rule into an effective rule for detecting unusual behavior associated with system changes, including compliance-related cases.
Query · falco
open_write and fd.name startswith /var/lib/rpm and not rpm_procs and not ansible_running_python and not python_running_chef and not exe_running_docker_save and not amazon_linux_running_python_yum and not user_known_write_rpm_database_activities
Rule dependencies
Depends on
-
composes · Falco macro
amazon_linux_running_python_yumA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
ansible_running_pythonA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
exe_running_docker_saveA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
open_writeA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
python_running_chefA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
rpm_procsA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
user_known_write_rpm_database_activitiesA shared condition, not a detection — not indexed on this site.
Analyst notes
rpm database opened for writing by a non-rpm program | file=%fd.name pcmdline=%proc.pcmdline evt_type=%evt.type user=%user.name user_uid=%user.uid user_loginuid=%user.loginuid process=%proc.name proc_exepath=%proc.exepath parent=%proc.pname command=%proc.cmdline terminal=%proc.tty