Basic Interactive Reconnaissance
Event Information
Meaning
- This event indicates that an unauthorized user or process is attempting to gather information about the Kubernetes cluster through interactive commands.
- It is important to investigate the source of the reconnaissance activity to prevent potential security breaches or data leaks.
- To further analyze this event, you can use kubectl commands to check for any unauthorized pods, deployments, or services running in the cluster. For example, you can use “kubectl get pods” or “kubectl get deployments” to list all running pods or deployments in the cluster.
Remediation
- Create a Kubernetes ServiceAccount with necessary permissions:
- Create a ClusterRoleBinding to grant necessary permissions to the ServiceAccount:
- Use the Python Kubernetes client library to interact with the Kubernetes API and perform remediation actions based on the event.