Computing systems have changed the way in which human beings work, play, communicate, problem solve, and so forth. Traditionally, computing systems have processed and stored information locally on a single physical computer. With the advent of the internet, however, services (such as processing and storage service) are offered remotely, thereby allowing a local computing system to offload processing, storage, or other tasks to the services offered over the network. Such services may be offered by a single server or by a network of servers.
Even more recently, cloud-based computing environments (often referred to as simply “the cloud”) have become available. The cloud is so termed because from a user perspective, the user may at least conceptually reach up into the sky using the device from practically any location and extract the desired service. Of course, complex networks of hardware are required in order to provide this illusion.
For instance, a cloud computing environment typically includes one or more, and often numerous, host computing systems, which are physical. The host computing system runs thereon a host operating system. The host operating system may run applications, such as virtual machine applications.
The virtual machine application emulates an entire computing system (hence the term “virtual machine”) to a remote user. While the host computing system has thereon physical hardware, such as processors, memory, storage, network interface cards, and so forth, the virtual machines do not directly access such hardware. Instead, the virtual machines call into a hypervisor, which provides only the appearance that the virtual machine is interacting directly with hardware. For instance, the hypervisor might provide the appearance that the virtual machine has access to a storage device. Such appearance might be termed a “virtual storage device”. The same applies for other hardware capabilities as well.
In addition to emulation of hardware, the hypervisor also ensures separation of data in the case where the various virtual machines are serving clients whose data should not be shared. For instance, suppose a user of one virtual machine is from one corporation, and a user of a second virtual machine is from another corporation. The first and second virtual machines should not share data, at least not without consent. Accordingly, the hypervisor ensures such data isolation.
From a user perspective, the user simply interacts with the local device as if there were a direct interaction with a physical computing system that is not emulated by the virtual machine. The user need not be aware of the remoteness of the processing or the data at all.
Each host computing system has an associated host administrator that performs administrative tasks with respect to the host computing system as a whole. As such, the host administrator may perform tasks normally permitted by the host operating system, including interactions with the virtual machine and the hypervisor.
The subject matter claimed herein is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one exemplary technology area where some embodiments described herein may be practiced.
At least some embodiments described herein relate to the secure making available of virtual machine data to a host operating system operating within the context of the corresponding virtual machine that owns the data operating within a host computing system. For instance, the host operating system might not be able to even access the virtual machine data in the clear. Rather, when sending and receiving or otherwise accessing the virtual machine data, the host operating system sees the encrypted form of the virtual machine data. Thus, host administrators cannot easily see the proprietary information of the virtual machine. The accessing of such data occurs in a context in which the virtual machine operating system has access to a protected portion of host memory that cannot be seen during normal modes of the host operating system, and the clear form of the virtual machine data is present within the protected portion of host memory.
In order to make the virtual machine data available (such as when sending), a component that is not native to the host operating system intercepts a command to make available the virtual machine data that is within that protected portion of the host memory. In response, the component causes the virtual machine data to be encrypted prior to being made available to the host operating system. Once the virtual machine data enters the domain of the host operating system in preparation (e.g., in preparation for sending), the host operating system sees only the encrypted form of the data.
At least some embodiments described may alternatively, or in addition, relate to receiving. In order to receive, a component (perhaps the same component that was used to send or otherwise make the data available to the host operating system) that is not native to the host operating system receives encrypted data and such remains encrypted while in custody of the host operating system. However, the component causes the encrypted data to be decrypted and made available to the virtual machine. Thus, again, the clear form of the virtual machine data is not seen during normal modes of the operating system.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description of various embodiments will be rendered by reference to the appended drawings. Understanding that these drawings depict only sample embodiments and are not therefore to be considered to be limiting of the scope of the invention, the embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
At least some embodiments described herein relate to the secure making available of virtual machine data to a host operating system operating within the context of the corresponding virtual machine that ows the data operating within a host computing system. For instance, the host operating system might not be able to even access the virtual machine data in the clear. Rather, when sending and receiving or otherwise accessing the virtual machine data, the host operating system sees the encrypted form of the virtual machine data. Thus, host administrators cannot easily see the proprietary information of the virtual machine. The accessing of such data occurs in a context in which the virtual machine operating system has access to a protected portion of host memory that cannot be seen during normal modes of the host operating system, and the clear form of the virtual machine data is present within the protected portion of host memory.
In order to make the virtual machine data available (such as when sending), a component that is not native to the host operating system intercepts a command to make available the virtual machine data that is within that protected portion of the host memory. In response, the component causes the virtual machine data to be encrypted prior to being made available to the host operating system. Once the virtual machine data enters the domain of the host operating system in preparation (e.g., in preparation for sending), the host operating system sees only the encrypted form of the data.
At least some embodiments described may alternatively, or in addition, relate to receiving. In order to receive, a component (perhaps the same component that was used to send or otherwise make the data available to the host operating system) that is not native to the host operating system receives encrypted data and such remains encrypted while in custody of the host operating system. However, the component causes the encrypted data to be decrypted and made available to the virtual machine. Thus, again, the clear form of the virtual machine data is not seen during normal modes of the operating system.
Some introductory discussion of a computing system will be described with respect to
Computing systems are now increasingly taking a wide variety of forms. Computing systems may, for example, be handheld devices, appliances, laptop computers, desktop computers, mainframes, distributed computing systems, or even devices that have not conventionally been considered a computing system. In this description and in the claims, the term “computing system” is defined broadly as including any device or system (or combination thereof) that includes at least one physical and tangible processor, and a physical and tangible memory capable of having thereon computer-executable instructions that may be executed by the processor. The memory may take any form and may depend on the nature and form of the computing system. A computing system may be distributed over a network environment and may include multiple constituent computing systems.
As illustrated in
In the description that follows, embodiments are described with reference to acts that are performed by one or more computing systems. If such acts are implemented in software, one or more processors of the associated computing system that performs the act direct the operation of the computing system in response to having executed computer-executable instructions. For example, such computer-executable instructions may be embodied on one or more computer-readable media that form a computer program product. An example of such an operation involves the manipulation of data. The computer-executable instructions (and the manipulated data) may be stored in the memory 104 of the computing system 100. Computing system 100 may also contain communication channels 108 that allow the computing system 100 to communicate with other message processors over, for example, network 110.
Embodiments described herein may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments described herein also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions are physical storage media. Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments of the invention can comprise at least two distinctly different kinds of computer-readable media: computer storage media and transmission media.
Computer storage media includes RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.
A “network” is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmissions media can include a network and/or data links which can be used to carry desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to computer storage media (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a “NIC”), and then eventually transferred to computer system RAM and/or to less volatile computer storage media at a computer system. Thus, it should be understood that computer storage media can be included in computer system components that also (or even primarily) utilize transmission media.
Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, and the like. The invention may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
Each client 201 may, for example, be structured as described above for the computing system 100 of
The system 210 may be a distributed system, although not required. In one embodiment, the system 210 is a cloud computing environment. Cloud computing environments may be distributed, although not required, and may even be distributed internationally and/or have components possessed across multiple organizations.
In this description and the following claims, “cloud computing” is defined as a model for enabling on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services). The definition of “cloud computing” is not limited to any of the other numerous advantages that can be obtained from such a model when properly deployed.
For instance, cloud computing is currently employed in the marketplace so as to offer ubiquitous and convenient on-demand access to the shared pool of configurable computing resources. Furthermore, the shared pool of configurable computing resources can be rapidly provisioned via virtualization and released with low management effort or service provider interaction, and then scaled accordingly.
A cloud computing model can be composed of various characteristics such as on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service, and so forth. A cloud computing model may also come in the form of various service models such as, for example, Software as a Service (“SaaS”), Platform as a Service (“PaaS”), and Infrastructure as a Service (“IaaS”). The cloud computing model may also be deployed using different deployment models such as private cloud, community cloud, public cloud, hybrid cloud, and so forth. In this description and in the claims, a “cloud computing environment” is an environment in which cloud computing is employed.
The system 210 includes multiple hosts 211, that are each capable of running virtual machines. Although the system 200 might include any number of hosts 211, there are three hosts 211A, 211B and 211C illustrated in
Each host is capable of running one or more, and potentially many, virtual machines. For instance,
During operation, the virtual machine emulates a fully operational computing system including at least one operating system, and perhaps one or more other applications as well. Each virtual machine is assigned to a particular client, and is responsible to support the desktop environment for that client.
The virtual machine generates a desktop image or other rendering instructions that represent a current state of the desktop, and then transmits the image or instructions to the client for rendering of the desktop. For instance, referring to
As the user interacts with the desktop at the client 201A, the user inputs are transmitted from the client 201A to the virtual machine 310A. For instance, in the primary example and referring to
The virtual machine 310A processes the user inputs and, if appropriate, changes the desktop state. If such change in desktop state is to cause a change in the rendered desktop, then the virtual machine 310A alters the image or rendering instructions, if appropriate, and transmits the altered image or rendered instructions to the client computing system 201A for appropriate rendering. From the prospective of the user, it is as though the client computing system 201A is itself performing the desktop processing.
In the illustrated example, the services 200 include five distinct services 212A, 212B, 212C, 212D and 212E, although the ellipses 212F represent that the principles described herein are not limited to the number of service in the system 210. A service coordination system 213 communicates with the hosts 211 and with the services 212 to thereby provide services 212 as requested by the clients 201, and other services (such as authentication, billing, and so forth) that may be prerequisites for the requested service.
The host computing system 300 includes a hypervisor 320 that emulates virtual resources for the virtual machines 310 using physical resources 321 that are abstracted from view of the virtual machines 310. The hypervisor 320 also provides proper isolation between the virtual machines 310. Thus, from the perspective of any given virtual machine, the hypervisor 320 provides the illusion that the virtual machine is interfacing with a physical resource, even though the virtual machine only interfaces with the appearance (e.g., a virtual resource) of a physical resource, and not with a physical resource directly. In
The host computing system 300 may operate a host agent 302 that monitors the performance of the host computing system 300, and performs other operations that manage the host computing system 300. Additionally, the host computing system 300 may operate other components 303. The host computing system 300 may include a host operating system 305 that operates various applications. For instance, the applications could be virtual machines such as virtual machines 310A through 310D. The host agent 302 may also perform operations directed to the applications and virtual machines 310A through 310D.
Unfortunately, elements of the host may operate to violate reasonable expectations of privacy of the virtual machine 310 data. For instance, a rogue party may plant malware 304A or 304B to gain access to or takes over a host agent's access rights. The malware components 304A and 304B are illustrated as having cross-hatched filler to emphasize that these components are unwanted within the host computing system 300. Thus, the undesirable malware 304A or 304B is permitted opportunities to perform operations rightfully belonging to the host agent 302. As shown, undesirable third party host agent 304A may be present in the host computing system 300. Alternatively, or in addition, undesirable third party host agent 304B may be present in the host operating system 305. Even the host users themselves might use the host agent 302 in an attempt to view private data of the virtual machine. This represents a security violation, as virtual machine owners expect their data to be private from all parties, including often the host. By encrypting virtual machine data that the host operating system sees, host administrators, and thus undesirable third party agents 304A and 304B, cannot easily see or access the proprietary information of the virtual machine.
The virtual machine 310A operates thereon virtual machine operating system 311 that has access to a “protected portion” 312 of host memory 321A allocated for use by the virtual machine operating system 311. Such allocation is represented symbolically in
In this description and in the claims, software or other modules running on the host computing system in a “secure operating mode” are able to access the protected portion 312 of host memory 321A, whereas software or other modules running the host computing system in a “normal operating mode” are not able to access the protected portion 312 of host memory 321A. The normal operating mode is the normal or usual operating state in which the host computing system 300 runs. This normal operating mode and secure operating mode are modes of operation that can be provided by hardware or software. For example, the hypervisor could provide these two operating modes and ensure that the normal/standard host operating system is only able to run in the “normal operating mode” and thus does not have access to the secure memory. Only secure operating system components that are not part of the normal operating system can run in the secure operating mode.
This description will now show how virtual machine data may be sent or otherwise made available to the host operating system 305 in a manner that prevents the host operating system 305 from viewing the virtual machine data (e.g., such as when the virtual machine data is externally sent from the host computing system 300, and when virtual machine data is received into the host computing system). That said, the principles described herein apply to prevent any component operating in normal operating mode within the host computing system from seeing the virtual machine data, regardless of whether that data is being transmitted or received. This may be helpful when the host sends or receives such virtual machine data, but is also helpful whenever the virtual machine data is to be kept from the view (except in encrypted form) of the host operating system (such as for purposes of migrating the virtual machine). First, the perspective of securely making the virtual machine data in encrypted for to the host operating system will be described.
In order to make virtual machine data 315 available, virtual machine data 315 that originates in the protected portion 312 of host memory 321A may be accessed by an “operating system opaque component” 314. In this description and in the claims, an “operating system opaque” component is defined as a component that is not native to the host operating system 305 or the virtual machine operating system 311. For instance, the host operating system 305 or virtual machine operating system 311 may be changed and updated without affecting the operating system opaque component 314. When incorporating one or more operating system opaque components, or other emulated devices, into the host computing system 300, there may be no change to a Kernel of the host operating system 305 or to the particular virtual machine operating system 311. The operating system opaque component 314 may be located within a protected portion 312 of a host partition that cannot be accessed through the normal operating mode of the host operating system.
The operating system opaque component 314 responds to commands regarding the virtual machine data 315 that is within the protected portion 312 of host memory 321A. The commands may be issued by the virtual machine operating system 311 or by other sources, including sources within the host computing system 300 or outside the host computing system 300.
The flow diagram 400 is performed by the operating system opaque component 314. For instance, the operating system opaque component 314 could be the hypervisor 320, or a system or component of firmware that is outside of the hypervisor 320. The operating system opaque component 314 might alternatively be a driver registered with the virtual machine operating system 311. For instance, the driver may be loaded at or after startup of the virtual machine operating system 311 using the existing host operating system 305. In this case, the operating system opaque component 314 may perform the method 400 by emulating physical hardware to the virtual machine operating system 311.
The flow diagram represents flows that may occur when performing a method for making the virtual machine data 315 available to the host operating such (such as when sending the virtual machine data or migrating the virtual machine).
Referring to
If the operating system opaque component 314 is a component that is outside of the hypervisor 320, the operating system opaque component 314 may perform the act of intercepting the command by receiving the command from the hypervisor 320 in response to the hypervisor 320 receiving the command from the virtual machine operating system 311. If the data is to be encrypted (“Yes” in decision block 602), then the operating system opaque component 314 responds to this interception by causing the virtual machine data 315 to be encrypted (act 603). For instance, in
The decision regarding whether or not to encrypt may be a split decision, whereby some virtual machine data is to be encrypted and the remaining virtual machine data is to be left unencrypted. In other words, there may be at least one circumstance in which virtual machine data, even the virtual machine data that is within the protected portion 312, would remain unencrypted.
The operating system opaque component 314 further causes the encrypted virtual machine data 404 to be made available by allowing the host operating system 305 to access the encrypted virtual machine data 404 (act 604) (such as for externally sending the virtual machine data, or for migrating the virtual machine).
For instance, in
Note that if the decision is to not encrypt the virtual machine data 315 (“No” in decision block 602), then the virtual machine data 315 may simply be made available to the host operating system (act 604) without encryption (act 603). If the hypervisor 320 is the operating system opaque component 314, the hypervisor 320 may cause an encryption component, or encryption firmware, to perform the encryption in block 603.
Once the virtual machine data 315 enters the domain of the host operating system 305 (such as in preparation for sending), the host operating system 305 sees the encrypted form 404 of the virtual machine data 315 but does not see the virtual machine data 315 in the clear.
The making available of the encrypted virtual machine data 404 may result from a migration command to migrate the particular virtual machine 310A to another location. In this case, the operating system opaque component 314 causing the virtual machine data to be encrypted is part of migrating. The migration command may be to send a virtual machine memory space and not the whole virtual machine. Also, the hypervisor 320 may or may not be involved in the migration.
Variations of use for the operating system opaque component 314 may exist. For example, the operating system opaque component 314 may be used for migration only, and not for other purposes, such as I/O purposes. Alternatively, the operating system opaque component 314 may be used for I/O purposes only, and not other purposes, such as migration. Also, the operating system opaque component 314 may be used for both migration and I/O purposes. Another example of I/O purpose would be to store and read data from disk.
When the host operating system 305 detects reception of encrypted data 502 destined for the particular virtual machine 310A from outside of the host computing system 300, the operating system opaque component 314 intercepts (again as represented by circle 508) the encrypted data 502. Interception occurs prior to the virtual machine operating system 311 receiving a decrypted form 504 of the encrypted data 502. The operating system opaque component 314 causes the encrypted data 502 to be decrypted, as shown by process 506. The controlling of the decryption process is represented by arrow 510. Once decrypted, the operating system opaque component 314 causes the decrypted data 504 to be made available to the virtual machine operating system 311. For instance, in
In order to make the decrypted data 504 available to the virtual machine operating system 311, the operating system opaque component 314 may place the decrypted data 504 in the protected portion 312 of host memory 321A allocated for use by the virtual machine operating system 311. The operating system opaque component 314 may further notify (as represented by arrow 514) the virtual machine operating system 311 of a presence of the decrypted data 504, such that the virtual machine operating system 311 may retrieve (as represented by dashed-line arrow 516) the decrypted data 504 from the protected portion 312 of the host memory 321A.
The flow diagram represents flows that may occur when performing a method for receiving encrypted data 502.
Referring to
Prior to the virtual machine operating system 311 receiving a decrypted form 504 of the data 502, the operating system opaque component 314 intercepts (act 702) the data 502. The act of intercepting is illustrated in the flow diagram 500 by the circle 508. Similar to the concept of intercepting a comment to make data available to the host operating system, the step of intercepting received data may be performed any number of times in a normal operating state or mode to accumulate data prior to further processing the steps herein.
If the data 502 received is encrypted (“Yes” in decision block 703), then the operating system opaque component 314 responds to this interception by causing the data 502 to be decrypted (act 704). For instance, in
The decision regarding whether to decrypt may be a split decision, whereby some data is to be decrypted and the remaining data is to be left encrypted. For example, the data received may include both encrypted data and unencrypted data in which case only the encrypted data is decrypted before making the unencrypted data and decrypted data 504 available to the virtual machine operating system 311.
To make the data available to the virtual machine operating system 311 (act 705), the data 502 may, if not sensitive, be placed in the non-protected portion of host memory 312 that is allocated to the particular virtual machine 310A. If the data 502 contains sensitive information, however, it is still placed in the protected portion 312 of host memory 321A (act 711).
After being placed in the protected portion 312, the virtual machine operating system 311 is notified (as represented by arrow 514) by the operating system opaque component 314 of a presence of the decrypted data 504, such that the virtual machine operating system 311 may retrieve (as represented by arrow 516) the decrypted data 504 from the protected portion 312 of host memory 321A (act 712). Accordingly, a mechanism has been described in which the privacy of virtual machine data is preserved. This is true even if the host operating system is to access the virtual machine data as when receiving and sending virtual machine data, or otherwise making such virtual machine data available to a host operating system.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.