HomeNews & updatesThe way forward for Kubernetes security: Eliminate standing privileges - Security Magazine

The way forward for Kubernetes security: Eliminate standing privileges – Security Magazine

Image via Freepik
If you have worked in cloud computing, DevOps, or related fields in recent years, you’ve no doubt come across the name Kubernetes. One of the earliest and most popular open-source container orchestration systems, Kubernetes, also known as K8s (say “kates”), enables development teams to group containers that make up an application into logical units for easy administration and discovery in cloud environments. There are other container orchestrators out there. But there are just as many variations on what amount to Kubernetes-specific management services. 
Obviously, there is a lot of demand out there for container orchestration, and there are a lot of different ways to take advantage of what K8s has to offer. Check out the case study section of the Kubernetes website, and you will see accolades from all ends of the developer community. Developers working at brands like Spotify, Adidas, IBM, Nokia, Box — the list goes on and on — all have great things to say about Kubernetes. And with good reason, because it:
 
Organizations adopt Kubernetes primarily to accelerate business objectives and scale growth. But what happens when the very thing that facilitates growth becomes a liability? Unfortunately, that is the experience of many Kubernetes adopters. A recent Red Hat survey of 300 DevOps, engineering and security professionals found that 93% of respondents experienced at least one security incident in their Kubernetes environments in the last 12 months, sometimes leading to revenue or customer loss. In response to another question, 55% of respondents have had to delay an application rollout because of security concerns over the last 12 months. One other notable point that bears consideration: the number one security concern among K8s users is not attacks (16%), it is exposures due to misconfigurations in their container and Kubernetes environments (46%)! 
This situation traces back directly to how complex Kubernetes is — especially regarding mastering the Kubernetes development workflow — and how difficult it can be to effectively secure K8s environments at each of its potential weak points. Unfortunately, the processes and tools necessary for securing these identities and access rights are not at all well understood within most K8s teams. A typical Kubernetes implementation can have many hundreds of human and synthetic users requiring access rights to complete tasks. The tendency within most DevOps organizations is that too many accounts end up with over-privileged access rights that remain open for extended periods of time — hours or days past when that access is strictly necessary.
The default stance within the DevOps community is that security is a top priority — up to a point, that point being: anything that gets in the way of fast deployment of new code is a nuisance to be avoided. The need for speed coupled with a poor understanding of security best practices is combustible mix that gets us the number cited above regarding 93% of respondents experiencing at least one security incident. But there is no good reason security issues around access permissions and privileges remain an endemic issue in the K8s community in 2022. 
 
Most cloud solutions with an identity engine — where Kubernetes are typically deployed — attempt to keep things simple for the administrators and users, but as we know, this leads to over-provisioned access. Newer security technologies that have come onto the market in recent years directly address these security vulnerabilities using ephemeral just-in-time (JIT) privileging, more effective secrets governance and zero-standing privileges (ZSP). Let’s consider each of these in brief details.
 
Where a K8s user previously had standing access privileges that (potentially) extended around the clock indefinitely, implementing JIT reduces your attack surface by granting privileges to users on-demand according to their role. With JIT, access rights expire automatically, i.e., after a predefined time, at the close of a timed coding session, or when an employee leaves the organization. This ensures that organizations minimize attack surfaces constantly and move toward a Least Privilege Access (LPA) model.
 
With JIT privileging, human and synthetic IDs can quickly check out a role-based, elevated privilege profile for a specific cloud service, either for the duration of a session or task, for a set amount of time, or until the user checks the profile back in manually. Once the task is complete, privileges are automatically revoked.
 
The ability to dynamically add and remove privileges lets your DevSecOps team maintain a zero standing privilege (ZSP) security posture. It works on the concept of Zero Trust, which means that, by default, no one and nothing are trusted with standing access to your Kubernetes account and data. In a ZSP model, human and non-human users gain access to restricted resources the moment they need them, only for as long as they need them. Such JIT permissioning methodology results in the least number of open privileges at any given moment in time.
The good news with Kubernetes security is that we know what the problem is: misconfigurations associated with access privileges. We also know that existing open-source security solutions aimed at the K8S market are widely seen as having a limited effect and have not been widely adopted. KubeLinter — at 36% — is the only one that is being used in at least a third of K8s deployments. The most successful model for Kubernetes security will be one built on zero trust, one that embraces ephemeral JIT privileges, strong secrets governance and ZSP. We know the way forward. Let’s start moving in that direction. 
Subscribe to Security Magazine

You must have JavaScript enabled to enjoy a limited number of articles over the next 30 days.
Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Security audience. All Sponsored Content is supplied by the advertising company. Interested in participating in our Sponsored Content section? Contact your local rep.
ON DEMAND: Business-impacting events such as severe weather, man-made disasters, and supply chain disruption are increasing in frequency and making impacts around the globe. 
A head of state needs heart surgery at your facility. High-profile members of a national sports team are getting updated vaccinations. What do you do when you get the call?
 Effective Security Management, 5e, teaches practicing security professionals how to build their careers by mastering the fundamentals of good management. Charles Sennewald brings a time-tested blend of common sense, wisdom, and humor to this bestselling introduction to workplace dynamics. 
Copyright ©2023. All Rights Reserved BNP Media.
Design, CMS, Hosting & Web Development :: ePublishing

source

- Advertisment -


Most Popular

- Advertisment -