Print

Best practices for achieving a secure virtualized DMZ deployment

Most security issues do not occur from the virtualization infrastructure, but from administrative and operational challenges. The primary risks are caused by a loss of separation of duties. When this occurs, people who lack the necessary experience and capabilities can introduce vulnerabilities through misconfiguration such as, they can accidentally put the virtual NIC of a virtual machine in the wrong trust zone. This risk can also occur in purely physical environments and can breach the isolation between networks and virtual machines of different trust levels.

Best practice security policies and procedures for configuring DMZ in a virtualized environment are not overly complex. However, you must know the critical challenges and best practice methods to reduce risk.

At every stage, you must remember that virtual machines need the same types of protections as the physical counterparts including antivirus software, host intrusion protection, configuration management, and patching in a timely manner. Virtual machines need to be secured in the same manner as physical machines.

After you decide to either partially or completely virtualize DMZ, the first step is to map out which virtual servers reside on which physical ESX hosts and to establish the level of trust for each system. The second step is to follow the guidelines in this section.

Harden and isolate the service console

This step is important in DMZ because access to the service console of an ESX host allows full control over the virtual machines on that host. Although access to the service console is secured through authentication, you must provide more security against unauthorized access by following the guidelines in VMware Infrastructure 3 Security Hardening.

In addition, you must physically isolate the service console. Ensure that the network to which the service console is isolated is firewalled, and is accessible to only authorized administrators. You can use a VPN or other access control methods to restrict access to the management network. Although VMware ESXi does not have a service console and much of the hardening is unnecessary, you must isolate the management interface, which provides access to the ESXi APIs.

You should also isolate SAN connections and the VMotion networks from the management network.

Clearly label networks for each zone within DMZ

Clearly labeling networks for each zone within DMZ is critical because accidentally connecting virtual servers to the wrong networks can undermine all other security efforts. By clearly labeling the networks, you can avoid this problem.

Set Layer 2 security options on virtual switches

Protect against attacks such as, data snooping, sniffing, and MAC spoofing, by disabling the promiscuous mode, MAC address changes, and forged transmissions capabilities on virtual network interfaces. These capabilities are rarely needed and create opportunities for exploitation. With the VMware infrastructure, you have full control over these options, which is not the case in purely physical environments.

Enforce separation of duties

Reduce configuration mistakes by using VirtualCenter to define roles and responsibilities for each administrator of the VMware Infrastructure 3 environment. By distributing rights based on skills and responsibilities, you can reduce the chance of misconfiguration. This method also limits the amount of authority any administrator has over the system as a whole.

Best practice also dictates that you use administrator or root access only in emergency situations. This practice reduces the potential for accidental or malicious misconfiguration by an administrator and helps limit the number of people who know the password for this type of account, which provides full control.

Use ESX resource management capabilities

Denial of service within a virtual environment can occur if each virtual machine uses a disproportionate share of ESX host resources. It starves other virtual machines running on the same ESX host. Such denial of service can occur accidentally or because of malicious intent, you can avoid this problem by setting resource reservations and limits for virtual machines by using VirtualCenter.

Regularly audit virtualized DMZ configuration

Regular audit of configurations is essential in both physical and virtual environments. When virtualizing DMZ or any part of the infrastructure, it is important to regularly audit the configurations of the components including VirtualCenter, virtual switches, virtual and physical firewalls, and any other security devices. You must conduct the audits to ensure that changes to configurations are controlled and that the changes do not cause a security hole in the configuration. The configuration management and compliance tools can assist with the audit process. Audits are important for the second and third options because the risk of misconfiguration is higher in those topologies.