Photo by Patrick Humm on Unsplash
Isolating Containers from Container Attacks
All Alone
In recent years, containers have become some of the most important building blocks of today's IT infrastructures. They are relatively frugal in terms of system resources, are easy to manage, are flexible, and enable quick development, deployment, and scaling of applications. Whether in cloud environments, in a DevOps context, or in traditional data centers, containers are everywhere you look. But as their importance grows, so does the interest of attackers.
The container escape – that is, the moment an attacker breaches the isolation layer and gains access to the host system or other containers – is a particularly critical scenario that not only jeopardizes the security of an individual application, but often that of the entire underlying infrastructure. To operate your containers securely, you need to understand the basic technology of how a container escape works and the targeted actions you need to take to mitigate the risk. A look at real-world cases from the recent past offers insights into how container environments can be hardened so that even the most sophisticated escape techniques fail.
Isolated Applications
To the outside world, containers appear almost like small, separate virtual machines (VMs) with their own filesystems, processes, and networks. In reality, though, they all run on the host's operating system kernel. The impression of strict separation arises from several Linux kernel mechanisms that interact and together create a kind of virtual environment (Figure 1).
...
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Focus On Self-Hosting
• Wiring the Modern Stack with Node-RED
• Self-Hosted Collaboration with Forgejo
• Self-Hosted PaaS with Coolify
• Build and Host Docker Images
• Self-Hosted Pritunl VPN Server with MFA
• Self-Hosted Chat Servers
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
