13 BLOX

2 Embarcadero Center
SF, San Francisco County 94111
USA

©2019 BY 13BLOX.

TOP 5 KUBERNETES SECURITY TOOLS TO HARDEN YOUR CONTAINER STACK

May 30, 2019

Building applications has become significantly simpler than ever thanks to containers. Kubernetes (developed by Google) has become the de facto container orchestration platform today. It efficiently automates the provisioning, configuration, and management of containers at scale. Apart from simplicity, security is imperative when it comes to container management. Kubernetes (by default) assigns an IP address to every pod in the cluster and provides IP-based security. But Kubernetes provides only the basic security measures, leaving the advanced security monitoring and compliance enforcement to admins to manage. Fortunately, there are a plethora of third-party tools available that help secure your Kubernetes stack. Here’s a look at seven Kubernetes security tools.

1. Project Calico

 

Project Calico is an open source tool that connects and secures containers and the services they run. From Kubernetes to OpenStack, Calico is integrated with all the major cloud platforms. The key idea behind Calico is to create a microfirewall for every workload. The Calico-supported connectivity policies are rendered into Firewall rules. These rules are automatically applied between each and every workload. This avoids the inefficiencies that come with moving between overlay L2 segments, thus, providing maximum network security.

 

It also ensures unparalleled scalability by combining the power of the leading consensus-based data store with Internet routing protocols. Calico is more scalable than current overlay solutions with its Layer 3 approach to Internet-style architecture and virtual networking. Calico can talk to the existing routers and switches in the network as it communicates utilizing the same type of IP packets. This makes Calico less complicated when compared to overlay configurations. Project Calico lately joined the Cloud Native Computing Foundation, giving it expert oversight and closer proximity to the Kubernetes ecosystem.

 

2. Kube-Bench

 

The Center for Internet Security (CIS) provides guidelines and benchmark tests for securing your code. Kube-Bench is one of the many an open source Kubernetes security tools that checks if your Kubernetes deployment meets the security benchmarks provided by CIS. It supports the benchmark tests for multiple versions of Kubernetes. Kube-Bench is a Go application and is distributed as a container.

 

Besides pointing out the errors, Kube-Bench also helps you with solutions to fix them. The tool checks to ensure that user authorization and authentication are proper, that data is securely encrypted both in transit and at rest, and to ensure that the deployment follows the principle of least privilege.

Each of the benchmark tests is defined in a YAML file to make modification easier. It also supports JSON output and integrates with automated tools. You have to run these tests on each of your nodes to check if your deployments meet the security standards set by CIS. Going forward, Kube-Bench updates will be released to add support to the new releases of the Benchmark for each new Kubernetes release.

 

3. Kube-hunter

 

As the name suggests, Kube-hunter hunts for security threats in Kubernetes. It enables administrators to address the issues before attackers exploit them. By adding discovery and penetration testing capabilities. Kube-hunter enhances the CIS validation provided by Kube-Bench. It works like an automated penetration testing tool.

 

Kube-hunter is open source, but there is also a managed containerized version provided by Aqua that makes it easy to run. This version works in conjunction with Aqua’s Kube-hunter website where it is easy to view and share the results. The container comes with a reporting plugin for uploading results at Kube-hunter.aquasec.com. It is important to consider that uploading reports are subject to certain terms and conditions. Kube-hunter should never be used on other people’s clusters because this code can be used to probe other sites. However, this is explicitly restricted by the terms and conditions.

 

4. Twistlock

 

Twistlock is a leading provider of full-lifecycle container and cloud-native cybersecurity solutions. It enables you to implement more than 200 built-in checks for the Kubernetes CIS Benchmarks. With actionable vulnerability management systems and automatically deployed firewalls, Twistlock protects applications across the development lifecycle. Twistlock also manages image scanning. Users can scan the complete container image along with any packaged Node.js component or Docker application. Twistlock can articulate a policy on a user-by-user basis, thus, allowing developers to customize container security solutions for particular use cases. According to the company’s website, Twistlock is specifically designed for containers and serverless. It delivers the speed and simplicity that developers would want, and the control that chief information security officers (CISOs) would need.

 

5. Aqua Security 

 

Aqua Security, the creator of the Kube-hunter tool mentioned above, is an important player in the Kubernetes security ecosystem. Aqua bridges the gap between IT security and DevOps by enabling enterprises to secure their cloud-native and container-based applications. It gives organizations full end-to-end visibility into their container activity and also accelerates container-adoption. By providing transparency, automated container security profiles, tight controls on privileged user access, and real-time enforcement of security policies, Aqua has become one of the leading Kubernetes security tools available today. Aqua’s highly targeted threat prevention capabilities keep businesses from having to trade off business continuity for security. The tool has powerful automation and works well across almost all popular cloud-native platforms. Aqua provides full-stack development to production security across your CI/CD pipeline and runtime environment. The solution extends security across the cloud-native spectrum and enables elastic deployment security for services like AWS Lambda and Fargate. It also helps you have centralized control over the code deployment.

 

Kubernetes security tools: You must have them

 

Legacy security tools are not capable of handling the dynamic nature of containers, especially at a large scale. Using a single peripheral firewall for the entire application is no more a good idea. This is because, when attackers breach the peripheral firewall, they can access the entire system. Security standards are being upgraded really fast and traditional methods are simply unable to keep up. Advanced security tools like the ones mentioned in this article are inevitable when considering today’s cybersecurity threats. Without a doubt, containerized apps are the future. Adequate security can help you realize the full potential of Kubernetes and containers.

 

 

 

 

 

 

 

Please reload

Recent Posts

Please reload

Archive

Please reload

Tags

I'm busy working on my blog posts. Watch this space!

Please reload