heroui logo

Container With A hostPath Mount Created

Sigma Rules

View Source
Summary
This detection rule identifies when a container with a hostPath mount is created in a Kubernetes environment. A hostPath volume allows a container to access specific directories or files on the node's filesystem. This can pose security risks as attackers with the necessary permissions to create pods may use a writable hostPath mount to gain elevated access to the underlying node and perform malicious actions. The rule specifically monitors for 'create' operations on pod objects with any hostPath defined. Given the significant security implications, detection of this activity is crucial for maintaining the integrity of Kubernetes clusters.
Categories
  • Kubernetes
  • Containers
  • Cloud
  • On-Premise
Data Sources
  • Container
  • Pod
  • Application Log
Created: 2024-03-26