MITRE ATT&CKsub-technique
T1098.006 Additional Container Cluster Roles
- Domain
- enterprise
- Tactics
- Persistence, Privilege Escalation
- Platforms
- Containers
- Version
- 1.0
- Created
- 2023-07-14
Description
An adversary may add additional roles or permissions to an adversary-controlled user or service account to maintain persistent access to a container orchestration system. For example, an adversary with sufficient permissions may create a RoleBinding or a ClusterRoleBinding to bind a Role or ClusterRole to a Kubernetes account. Where attribute-based access control (ABAC) is in use, an adversary with sufficient permissions may modify a Kubernetes ABAC policy to give the target account additional permissions.
This account modification may immediately follow Create Account or other malicious account activity. Adversaries may also modify existing Valid Accounts that they have compromised.
Note that where container orchestration systems are deployed in cloud environments, as with Google Kubernetes Engine, Amazon Elastic Kubernetes Service, and Azure Kubernetes Service, cloud-based role-based access control (RBAC) assignments or ABAC policies can often be used in place of or in addition to local permission assignments. In these cases, this technique may be used in conjunction with Additional Cloud Roles.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1098 Account Manipulation technique
Referenced by MITRE ATT&CK · mitigates (2)
Referenced by Compliance · mitigates (5)
References
- https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html AWS EKS IAM Roles for Service Accounts
- https://cloud.google.com/kubernetes-engine/docs/how-to/iam Google Cloud Kubernetes IAM
- https://kubernetes.io/docs/reference/access-authn-authz/abac/ Kuberentes ABAC
- https://kubernetes.io/docs/concepts/security/rbac-good-practices/ Kubernetes RBAC
- https://blog.aquasec.com/leveraging-kubernetes-rbac-to-backdoor-clusters Aquasec Kubernetes Attack 2023
- https://learn.microsoft.com/en-us/azure/aks/concepts-identity Microsoft Azure Kubernetes Service Service Accounts