Virtual firewall

A virtual firewall (VF) is a network firewall service or appliance running entirely within a virtualized environment and which provides the usual packet filtering and monitoring provided via a physical network firewall. The VF can be realized as a traditional software firewall on a guest virtual machine already running, a purpose-built virtual security appliance designed with virtual network security in mind, a virtual switch with additional security capabilities, or a managed kernel process running within the host hypervisor.

Background

So long as a computer network runs entirely over physical hardware and cabling, it is a physical network. As such it can be protected by physical firewalls and fire walls alike; the first and most important protection for a physical computer network always was and remains a physical, locked, flame-resistant door.[1][2] Since the inception of the Internet this was the case, and structural fire walls and network firewalls were for a long time both necessary and sufficient.

Since about 1998 there has been an explosive increase in the use of virtual machines (VM) in addition to — sometimes instead of — physical machines to offer many kinds of computer and communications services on local area networks and over the broader Internet. The advantages of virtual machines are well explored elsewhere.[3][4]

Virtual machines can operate in isolation (for example as a guest operating system on a personal computer) or under a unified virtualized environment overseen by a supervisory virtual machine monitor or "hypervisor" process. In the case where many virtual machines operate under the same virtualized environment they might be connected together via a virtual network consisting of virtualized network switches between machines and virtualized network interfaces within machines. The resulting virtual network could then implement traditional network protocols (for example TCP) or virtual network provisioning such as VLAN or VPN, though the latter while useful for their own reasons are in no way required.

There is a continued perception that virtual machines are inherently secure because they are seen as "sandboxed" within the host operating system.[5][6][7] It is often believed that the host, in like manner, is secured against exploitation from the virtual machine itself[8] and that the host is no threat to the virtual machine because it is a physical asset protected by traditional physical and network security.[6] Even when this is not explicitly assumed, early testing of virtual infrastructures often proceeds in isolated lab environments where security is not as a rule an immediate concern, or security may only come to the fore when the same solution is moving into production or onto a computer cloud, where suddenly virtual machines of different trust levels may wind up on the same virtual network running across any number of physical hosts.

Because they are true networks, virtual networks may end up suffering the same kinds of vulnerabilities long associated with a physical network, some of which being:

The problems created by the near invisibility of between-virtual machine (VM-to-VM) traffic on a virtual network are exactly like those found in physical networks, complicated by the fact that the packets may be moving entirely inside the hardware of a single physical host:

There are security issues known only in virtualized environments that wreak havoc with physical security measures and practices, and some of these are touted as actual advantages of virtual machine technology over physical machines:[9]

In addition to the network traffic visibility issues and uncoordinated VM sprawl, a rogue VM using just the virtual network, switches and interfaces (all of which run in a process on the host physical hardware) can potentially break the network as could any physical machine on a physical network — and in the usual ways — though now by consuming host CPU cycles it can additionally bring down the entire virtualized environment and all the other VMs with it simply by overpowering the host physical resources the rest of the virtualized environment depend upon.

This was likely to become a problem, but it was perceived within the industry as a well understood problem and one potentially open to traditional measures and responses.[10][11][12][13]

Virtual firewalls

One method to secure, log and monitor VM-to-VM traffic involved routing the virtualized network traffic out of the virtual network and onto the physical network via VLANs, and hence into a physical firewall already present to provide security and compliance services for the physical network. The VLAN traffic could be monitored and filtered by the physical firewall and then passed back into the virtual network (if deemed legitimate for that purpose) and on to the target virtual machine.

Not surprisingly, LAN managers, security experts and network security vendors began to wonder if it might be more efficient to keep the traffic entirely within the virtualized environment and secure it from there.[14][15][16][17]

A virtual firewall then is a firewall service or appliance running entirely within a virtualized environment — even as another virtual machine, but just as readily within the hypervisor itself — providing the usual packet filtering and monitoring that a physical firewall provides. The VF can be installed as a traditional software firewall on a guest VM already running within the virtualized environment; or it can be a purpose-built virtual security appliance designed with virtual network security in mind; or it can be a virtual switch with additional security capabilities; or it can be a managed kernel process running within the host hypervisor that sits atop all VM activity.

The current direction in virtual firewall technology is a combination of security-capable virtual switches,[18] and virtual security appliances. Some virtual firewalls integrate additional networking functions such as site-to-site and remote access VPN, QoS, URL filtering and more.[19][20][21]

Operation

Virtual firewalls can operate in different modes to provide security services, depending on the point of deployment. Typically these are either bridge-mode or hypervisor-mode (hypervisor-based, hypervisor-resident). Both may come shrink wrapped as a virtual security appliance and may install a virtual machine for management purposes.

A virtual firewall operating in bridge-mode acts like its physical-world firewall analog; it sits in a strategic part of the network infrastructure — usually at an inter-network virtual switch or bridge — and intercepts network traffic destined for other network segments and needing to travel over the bridge. By examining the source origin, the destination, the type of packet it is and even the payload the VF can decide if the packet is to be allowed passage, dropped, rejected, or forwarded or mirrored to some other device. Initial entrants into the virtual firewall field were largely bridge-mode, and many offers retain this feature.

By contrast, a virtual firewall operating in hypervisor-mode is not actually part of the virtual network at all, and as such has no physical-world device analog. A hypervisor-mode virtual firewall resides in the virtual machine monitor or hypervisor where it is well positioned to capture VM activity including packet injections. The entire monitored VM and all its virtual hardware, software, services, memory and storage can be examined, as can changes in these. Further, since a hypervisor-based virtual firewall is not part of the network proper and is not a virtual machine its functionality cannot be monitored in turn or altered by users and software limited to running under a VM or having access only to the virtualized network.

Bridge-mode virtual firewalls can be installed just as any other virtual machine in the virtualized infrastructure. Since it is then a virtual machine itself, the relationship of the VF to all the other VM may become complicated over time due to VMs disappearing and appearing in random ways, migrating between different physical hosts, or other uncoordinated changes allowed by the virtualized infrastructure.

Hypervisor-mode virtual firewalls require a modification to the physical host hypervisor kernel in order to install process hooks or modules allowing the virtual firewall system access to VM information and direct access to the virtual network switches and virtualized network interfaces moving packet traffic between VMs or between VMs and the network gateway. The hypervisor-resident virtual firewall can use the same hooks to then perform all the customary firewall functions like packet inspection, dropping, and forwarding but without actually touching the virtual network at any point. Hypervisor-mode virtual firewalls can be very much faster than the same technology running in bridge-mode because they are not doing packet inspection in a virtual machine, but rather from within the kernel at native hardware speeds.

Additional reading

References

  1. "Physical network security key to fighting low-tech threats" Morisey, Michael. SearchNetworking.com, Feb 2009.
  2. "Physical Network Security" Rodriguez, Erik. Skullbox.com May 2005.
  3. "The Pros and Cons of Virtual Machines in the Datacenter" Chao, Wellie, DevX.com Jan 2006
  4. "Transform your Business with Virtualization", Vmware Virtualization Basics
  5. "Does a sandbox or virtual machine help protect your privacy?" Notenboom, Leo. Oct 2008
  6. 1 2 "Virtual machine security threat levels; don’t believe the hype" Botelho, Bridget. IT Knowledge Exchange. Nov 2008
  7. "Meditations on a virtually secure world" Korelc, Justin and Ed Tittel. SearchEnterpriseLinux.com Apr 2006
  8. "Core Security Technologies Discovers Critical Vulnerability In Vmware's Desktop Virtualization Software" Core Security Technologies, Feb 2008
  9. "A Survey on Virtual Machine Security" Reuben, JS. Helsinki University of Technology, undated
  10. "IT Audit for the Virtual Environment" SANS.org, Dec 2009
  11. "POWER5 Virtualization: How to work with VLANs using the IBM Virtual I/O Server" IBM Inc. Nov 2008
  12. "Secure Virtual Networks" Wettern, Joern. Redmondmag.com Feb 2009
  13. "Why Hyper-V virtual networks are less secure than physical networks" Shields, Greg. TechTarget SearchNetworking, Oct 2009
  14. "Security considerations for virtual environments" Rosenberg, David. Cnet News Nov 2009
  15. "Software-Based Access Management Protects Mixed Networks of Virtual and Physical Machines without Complex Rule Sets and High IT Overhead" Apani Inc. Aug 2008
  16. "Secure Virtualized Hosting" Altor Networks Inc.
  17. "Best Practices for Securing Virtual Networks" Moore, Hezi. March 2008 vmblog.com
  18. Introduction to the Nexus 1000V. Cisco Inc.
  19. "VMsafe APIs reassure wary IT security professionals" Lukkad, VJ. Identity and Access Management Blog. Aug 2009
  20. "Should I have a Firewall for my Virtual World?" VMInformer.
  21. Case Study: Winsert Inc.

See also

This article is issued from Wikipedia - version of the Saturday, October 24, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.