can-i gtfo?

Kubernetes RBAC Abuse Collection

View on GitHub

create pods/attach

Abuses

Lateral Movement

Use attach to attach to a process running on a pod

# Attach to process of target-pod, use -i -t for raw terminal mode
kubectl attach target-pod

# if you can alse create pods, create a pod with 'command: ["/bin/sh"]' to attach to the shell