Mount Launched in Privileged Container
Description
Detect filesystem mounts (using the mount binary) within a privileged container. Due to the elevated privileges, this action could be one of the TTPs used in an attempt to escape from a container to the host. This type of action is often preceded by reconnaissance activities, for which you can also create custom rules.
Query · falco
spawned_process and container and container.privileged=true and proc.name=mount and not mount_info and not known_gke_mount_in_privileged_containers and not known_aks_mount_in_privileged_containers and not known_eks_mount_in_privileged_containers and not user_known_mount_in_privileged_containers
Rule dependencies
Depends on
-
composes · Falco macro
containerA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
known_aks_mount_in_privileged_containersA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
known_eks_mount_in_privileged_containersA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
known_gke_mount_in_privileged_containersA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
mount_infoA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
spawned_processA shared condition, not a detection — not indexed on this site. -
composes · Falco macro
user_known_mount_in_privileged_containersA shared condition, not a detection — not indexed on this site.
Analyst notes
Mount was executed inside a privileged container | 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 exe_flags=%evt.arg.flags