Create Hardlink Over Sensitive Files
Description
Detect hardlink created over a curated list of sensitive files or subdirectories under /etc/ or root directories. Can be customized as needed. Refer to further and equivalent guidance within the rule "Read sensitive file untrusted".
Query · falco
create_hardlink and (evt.arg.oldpath in (sensitive_file_names))
Rule dependencies
Depends on
-
composes · Falco macro
create_hardlinkA shared condition, not a detection — not indexed on this site.
Analyst notes
Hardlinks created over sensitive files | target=%evt.arg.oldpath linkpath=%evt.arg.newpath 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