Read sensitive file trusted after startup
Description
An attempt to read any sensitive file (e.g. files containing user/password/authentication information) by a trusted program after startup. Trusted programs might read these files at startup to load initial state, but not afterwards. Can be customized as needed. In modern containerized cloud infrastructures, accessing traditional Linux sensitive files might be less relevant, yet it remains valuable for baseline detections. While we provide additional rules for SSH or cloud vendor-specific credentials, you can significantly enhance your security program by crafting custom rules for critical application credentials unique to your environment.
Query · falco
open_read and sensitive_files and server_procs and not proc_is_new and proc.name!="sshd" and not user_known_read_sensitive_files_activities
Rule dependencies
Depends on
-
composes · Falco macro
open_readA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
proc_is_newA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
sensitive_filesA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
server_procsA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
user_known_read_sensitive_files_activitiesA shared condition, not a detection — not indexed on this site.
Analyst notes
Sensitive file opened for reading by trusted program after startup | file=%fd.name pcmdline=%proc.pcmdline gparent=%proc.aname[2] ggparent=%proc.aname[3] gggparent=%proc.aname[4] 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