When we think of the threat to a virtual environment or the cloud, what do we think about? First it is important to understand how the cloud is layered on top of the virtual environment. Given a cloud stack, where are the entry points for SaaS, PaaS, IaaS, and Cloud management? At the recent Minneapolis VMUG, I attempted to relay that information to the attendees. Once we understood the layers we could then concentrate on the threat vectors to the cloud and virtual environment.
First we layout the virtual environment as the cloud is almost always built upon some form of virtualization. Not always but almost always. Many SaaS plays do not require virtualization to work, but they do augment and improve availability and reliability. Figure 1, The Virtual Environment, show the layers within a typical virtual environment.
Above the hypervisor we have the Guest Operating System in which Applications are run. A Guest OS is necessary to run a VM, even for those items that contain Just Enough OS (JeOS) such as SpringSource and other platform tools and applications. In general, I find that the Guest OS in use is either Windows (the majority) or Linux (the minority) with a scattering of other Guest Operating Systems in use.
Outside of all these layers (and perhaps as a participating virtual appliance) is the management tools to manage the entire environment. The management tools include hypervisor management appliances: ESX Service Console, ESXi Management Appliance, Hyper-V Server Core Parent Partition, Xen Dom-0, as well as all devices that communicate to these components. In addition, you may find management servers such as SCVMM, XenConsole, and VMware vCenter. Lastly we include all those management tools necessary to run all aspects of the virtual environment such as storage, physical switches, blade management tools, etc. If it directly or indirectly touches the hypervisor, it is in scope for any threat analysis.
So where is the Cloud in all this? Figure 2, Cloud Layers, show the most common aspect of the cloud as presented to users of the cloud. That is a portal into which the tenant log’s in and deploys their applications, Guest Operating Systems, and controls their cloud environment. As such the Portal is largely an automation layer that interacts with the management layer.
The threat vectors for the cloud are at each one of these layers, plus a few more. Figure 4, Threat Vectors, lists out the threats at each layer of the stack and yes, every layer of the stack has its own threat vectors. But what comprises these attacks?
The new layer however is the portal or tenant management layer and it has nearly the same threats as those for the Saas, PaaS, and Application layers. The Hypervisor layer is the one that many people feel is the most at risk and its threats really come from the management layer. VM Escape is one risk that keeps on popping up as an issue. I will discuss this in another article as it deserves a full explanation. However, needless to say, not many of these escapes produce results within type 1 hypervisors, yet nearly all do within type 2 hypervisors.
The last piece of the threat analysis is a discussion about secure multi-tenancy. Figure 5, Secure Multi-Tenancy Threat Vectors, shows two more threat vectors of the cloud stack. These vectors are the Cloud Administrator who has access to Tenant Data and the Service Catalog used by the Tenant Portal and the Virtualization Administrator who has access to the Hypervisor and therefore access to virtual disks, memory, networking, and virtual CPUs.
But as we discussed within several Virtualization Security Podcasts, it is extremely difficult to audit a cloud environment as a tenant, but you do have control over your organizations virtual environments. Audit those for issues, bring in the proper tools to protect your investment as discussed within the whitepaper: End-to-End Virtualization Security.
Understanding the threats to the cloud and virtual environment layers is the first step to solving the problems.
Comments are closed.