nerdexam
CompTIA

CAS-001 · Question #188

A security administrator has finished building a Linux server which will host multiple virtual machines through hypervisor technology. Management of the Linux server, including monitoring server…

The correct answer is A. The security administrator must install the third party web enabled application in a chroot environment. Installing the third-party web application in a chroot jail isolates it from the rest of the Linux filesystem, limiting an attacker who compromises the web app to only the chroot directory and preventing access to hypervisor and VM data.

Technical Integration of Enterprise Components

Question

A security administrator has finished building a Linux server which will host multiple virtual machines through hypervisor technology. Management of the Linux server, including monitoring server performance, is achieved through a third party web enabled application installed on the Linux server. The security administrator is concerned about vulnerabilities in the web application that may allow an attacker to retrieve data from the virtual machines. Which of the following will BEST protect the data on the virtual machines from an attack?

Options

  • AThe security administrator must install the third party web enabled application in a chroot environment.
  • BThe security administrator must install a software firewall on both the Linux server and the virtual machines.
  • CThe security administrator must install anti-virus software on both the Linux server and the virtual machines.
  • DThe security administrator must install the data exfiltration detection software on the perimeter firewall.

How the community answered

(27 responses)
  • A
    81% (22)
  • B
    4% (1)
  • C
    11% (3)
  • D
    4% (1)

Why each option

Installing the third-party web application in a chroot jail isolates it from the rest of the Linux filesystem, limiting an attacker who compromises the web app to only the chroot directory and preventing access to hypervisor and VM data.

AThe security administrator must install the third party web enabled application in a chroot environment.Correct

A chroot environment changes the apparent root directory for a process, preventing it from accessing files outside the designated directory tree even if the application is fully compromised. This means a successful attacker exploiting a vulnerability in the web management application would be contained within the chroot jail and unable to traverse the filesystem to reach VM disk images or hypervisor configuration files. This directly addresses the risk of web application vulnerabilities exposing data stored on the virtual machines.

BThe security administrator must install a software firewall on both the Linux server and the virtual machines.

A software firewall controls network traffic between interfaces but does not restrict a compromised local process from accessing files on the same host filesystem.

CThe security administrator must install anti-virus software on both the Linux server and the virtual machines.

Anti-virus software detects known malware signatures and behaviors but does not sandbox or restrict the filesystem access of a legitimate but vulnerable web management application.

DThe security administrator must install the data exfiltration detection software on the perimeter firewall.

Data exfiltration detection on the perimeter firewall monitors outbound network traffic but does not prevent an attacker with local access via the compromised web app from reading VM data before it leaves the network.

Concept tested: Chroot jail isolating vulnerable web application on hypervisor host

Source: https://linux.die.net/man/2/chroot

Topics

#chroot environment#application isolation#hypervisor security#web application security

Community Discussion

No community discussion yet for this question.

Full CAS-001 Practice