<  Back to rules search

User Attached to a Pod

kubernetes

Classification:

attack

Tactic:

Set up the kubernetes integration.

Goal

Detect when a user attaches to a pod.

Strategy

This rule monitors when a user attaches (@objectRef.subresource:attach) to a pod (@objectRef.resource:pods).

A user should not need to attach to a pod. Attaching to a pod allows a user to attach to any process in a running container which may give an attacker access to sensitive data.

Triage and response

  1. Determine if the user should be attaching to a running container.