User Attached to a Pod

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

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

Changelog

  • 7 May 2024 - Updated detection query to include logs from Azure Kubernetes Service.
  • 17 July 2024 - Updated detection query to include logs from Google Kubernetes Engine.
  • 5 March 2024 - Updated detection query for Google Kubernetes Engine to include the event io.k8s.core.v1.pods.attach.get.
PREVIEWING: dgreen15/github-error-fix