Skip to main content
QUICK REVIEW

[Paper Review] Comparison between security majors in virtual machine and linux containers

Udit Gupta|arXiv (Cornell University)|Jul 28, 2015
Cloud Computing and Resource ManagementComputer Science8 references14 citations
TL;DR

This paper compares the security characteristics of virtual machines (VMs) and Linux containers (LXC), focusing on isolation, attack surface, and privilege escalation risks. It finds that while VMs offer stronger isolation and stronger security guarantees, containers provide better performance and resource efficiency, but with higher attack surface and greater risk of privilege escalation if misconfigured.

ABSTRACT

Virtualization started to gain traction in the domain of information technology in the early 2000s when managing resource distribution was becoming an uphill task for developers. As a result, tools like VMWare, Hyper V (hypervisor) started making inroads into the software repository on different operating systems. VMWare and Hyper V could support multiple virtual machines running on them with each having their own isolated environment. Due to this isolation, the security aspects of virtual machines (VMs) did not differ much from that of physical machines (having a dedicated operating system on hardware). The advancement made in the domain of linux containers (LXC) has taken virtualization to an altogether different level where resource utilization by various applications has been further optimized. But the container security has assumed primary importance amongst the researchers today and this paper is inclined towards providing a brief overview about comparisons between security of container and VMs.

Motivation & Objective

  • To analyze and compare the security strengths and weaknesses of virtual machines (VMs) and Linux containers (LxC) in modern computing environments.
  • To evaluate how isolation mechanisms differ between VMs and containers and their impact on system security.
  • To identify the primary security risks associated with each virtualization model, especially in multi-tenant or cloud deployments.
  • To provide a security-focused overview to guide system architects and developers in selecting appropriate virtualization technologies.

Proposed method

  • The study conducts a comparative analysis of VM and container architectures, focusing on their underlying isolation mechanisms.
  • It evaluates security properties such as privilege separation, kernel-level access, and inter-process communication security.
  • The analysis draws on existing literature and known vulnerabilities in both VM and container technologies.
  • It examines real-world attack scenarios, particularly privilege escalation and container breakout attacks.
  • The paper uses threat modeling to compare attack surfaces and potential compromise vectors in both environments.

Experimental results

Research questions

  • RQ1How do the isolation mechanisms in VMs and Linux containers differ in terms of security guarantees?
  • RQ2What are the primary attack vectors in containerized environments compared to virtual machines?
  • RQ3To what extent do containers expose a larger attack surface than VMs?
  • RQ4How likely is privilege escalation in containerized workloads compared to VMs?
  • RQ5What are the implications of shared kernel architecture in containers for system-level security?

Key findings

  • VMs provide stronger isolation due to hardware-level virtualization, significantly reducing the risk of cross-tenant compromise.
  • Containers have a larger attack surface because they share the host kernel, increasing the risk of privilege escalation and container breakout attacks.
  • VMs offer stronger defense-in-depth properties, as each VM runs a separate OS instance with its own kernel and resource management.
  • Container security heavily depends on proper configuration and access control, as misconfigurations can lead to full host compromise.
  • While containers are more efficient in resource utilization, this efficiency comes at the cost of reduced security boundaries compared to VMs.
  • The study concludes that VMs are more suitable for high-assurance security workloads, while containers are better suited for performance-sensitive, well-hardened environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.