Kubernetes Audit: Pod Creation in kube-system Namespace

Flags Kubernetes audit events creating pods in the kube-system namespace, a common place to camouflage malicious workloads.

FreeReviewedSigma · Medium · v5
Product
kubernetes
Category
application
Author
Leo Tsaousis (@laripping) (SigmaHQ), DRL 1.1
Published
2024-03-26
Updated
2026-07-31
title: "Kubernetes Audit: Pod Creation in kube-system Namespace"
id: 060940cc-5c16-476a-a619-09f38f4acdd5
status: test
description: Identifies Kubernetes API audit events where a pod is created in the kube-system namespace. This matters because adversaries may try to blend malicious workloads in the same namespace as critical system components, potentially reducing suspicion. The rule relies on Kubernetes audit telemetry capturing create requests for pods scoped specifically to kube-system.
references:
  - https://microsoft.github.io/Threat-Matrix-for-Kubernetes/techniques/Pod%20or%20container%20name%20similarily/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/application/kubernetes/audit/kubernetes_audit_pod_in_system_namespace.yml
author: Leo Tsaousis (@laripping), Huntrule Team
date: 2024-03-26
tags:
  - attack.stealth
  - attack.t1036.005
logsource:
  category: application
  product: kubernetes
  service: audit
detection:
  selection:
    verb: create
    objectRef.resource: pods
    objectRef.namespace: kube-system
  condition: selection
falsepositives:
  - System components such as daemon-set-controller and kube-scheduler also create pods in the kube-system namespace
level: medium
license: DRL-1.1
related:
  - id: a80d927d-ac6e-443f-a867-e8d6e3897318
    type: derived