Kubernetes-ATT&CK-Matrix
3. Persistence in the Kubernetes – ATT&CK® Matrix
Backdoor Kubernetes
Intruders run their malicious code in a container in the cluster. By using the Kubernetes controllers such as DaemonSets or Deployments, intruders can ensure that a constant number of containers run in one, or all, the nodes in the cluster.
ll
Writable hostPath mount
hostPath volume mounts a directory or a file from the host to the container. Critics who have permissions to create a new container in the cluster may create one with a writable hostPath volume and gain persistence on the underlying host. For instance, the latter can be achieved by creating a cron job on the host.
Kubernetes Cronjob
Kubernetes Job is a controller that creates one or more pods and ensures that a specified number of them favourably terminate. Kubernetes Job may be used to run containers that perform restricted tasks for batch jobs. Kubernetes CronJob is used to schedule Jobs. Attackers may use Kubernetes CronJob for scheduling execution of malicious code that would run as a container in the cluster.

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.