Sigma low test sigma

Container With A hostPath Mount Created

Detects creation of a container with a hostPath mount. A hostPath volume mounts a directory or a file from the node to the container. Attackers who have permissions to create a new pod in the cluster may create one with a writable hostPath volume and chroot to escape to the underlying node.

View Source

Detection Logic

{
  "selection": {
    "verb": "create",
    "objectRef.resource": "pods",
    "hostPath": "*"
  },
  "condition": "selection"
}

False Positives

  • ⚠ The DaemonSet controller creates pods with hostPath volumes within the kube-system namespace.

Field Validations

Loading…

Comments (0)

Loading comments...