Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Harvesting multiple Kubernetes pod tokens from within a Kubernetes pod

Synopsis

Field
Value

Activation Period

14 Days

Training Period

30 Days

Test Period

15 Minutes

Deduplication Period

1 Day

Required Data

XDR Agent with eXtended Threat Hunting (XTH)

Detector Tags

Kubernetes - AGENT, Kubernetes Credentials Theft Analytics

ATT&CK Tactic

Credential Access (TA0006)

ATT&CK Technique

Unsecured Credentials (T1552), Unsecured Credentials: Credentials In Files (T1552.001)

Severity

Medium

Description

A process within a Kubernetes pod accessed the service account tokens of multiple other pods by traversing the host filesystem.

Attacker's Goals

Harvest service account tokens from other pods to impersonate their identities and perform lateral movement or privilege escalation within the Kubernetes cluster.

Investigative actions

  • Verify if the pod has a legitimate reason for a hostPath mount.

  • Check if the harvested tokens were used to access the Kubernetes API server.

  • Investigate which operations were performed with the stolen credentials.

  • Look for additional suspicious activities from the same pod.

Variations

Harvesting multiple Kubernetes pod tokens from within a Kubernetes pod via an interactive shell

Synopsis

Field
Value

ATT&CK Tactic

Credential Access (TA0006)

ATT&CK Technique

Unsecured Credentials (T1552), Unsecured Credentials: Credentials In Files (T1552.001)

Severity

High

Description

A process within a Kubernetes pod accessed the service account tokens of multiple other pods by traversing the host filesystem.

Attacker's Goals

Harvest service account tokens from other pods to impersonate their identities and perform lateral movement or privilege escalation within the Kubernetes cluster.

Investigative actions

  • Verify if the pod has a legitimate reason for a hostPath mount.

  • Check if the harvested tokens were used to access the Kubernetes API server.

  • Investigate which operations were performed with the stolen credentials.

  • Look for additional suspicious activities from the same pod.

Was this helpful?