Monitoring program-protected keys
By generating satellite virtual server instances on trusted monitoring programs and converting visitor packet keys into protected keys, the problem of key validity in multiple virtual server instances is solved, thereby improving security and efficiency and avoiding reliance on hardware security modules.
Patent Information
- Application Number
- CN202180047546.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-07-02
- Filing Date
- 2021-06-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-06-24
AI Technical Summary
Existing technologies have key validity issues when using protected keys across multiple instances of a virtual server, especially when the virtual server is rebooted, suspended, resumed, or migrated, as existing methods cannot effectively protect key security.
By generating a satellite virtual server instance on the trusted monitoring program, associating the visitor encapsulation key with the visitor credentials, generating a random visitor key, encapsulating it, and converting it into a protected key, the secure transmission and use of the key is achieved, avoiding reliance on hardware security modules.
It provides the same or equivalent level of security while reducing hardware costs and performance overhead, ensuring a longer key lifespan on the virtual server, avoiding the overhead and downtime of hardware security modules, and improving the security and efficiency of the computing environment.
Smart Images

Figure CN115803740B_ABST
Abstract
Description
Technical Field
[0001] This invention generally relates to cryptography, and more specifically, to providing a cryptographic key object to a guest virtual server for use in cryptographic operations. Background Technology
[0002] The world is moving towards a digital society. More and more processes, products, and services are being delivered digitally. Simultaneously, privacy requirements are increasing, and businesses and government organizations are attempting to protect their digital assets. Cryptography is a core technology for digital privacy, based on secret keys that should never fall into the hands of unauthorized systems or individuals. Furthermore, the number and sophistication of cyberattacks are increasing. Therefore, the need to protect sensitive data has increased significantly over time.
[0003] If we assume that the cryptographic algorithm is flawless, then the security of cryptography depends on the secrecy of the key used. Often, the key may reside in the memory of the user system that will be used for the cryptographic function. Therefore, this key is used in the form of "plaintext key cryptography." Because access to this key also allows access to encrypted data, exposing the key will compromise secrecy.
[0004] Therefore, there are other ways to perform cryptographic operations using unavailable keys in the user's cryptographic memory system. For example, the user system can invoke a Hardware Security Module (HSM). The user system then has a token, a packet key, or another way to inform the HSM which key will be used. Because a token or packet key will not provide any access to the encrypted data unless one party also has access to the HSM, using an HSM can provide additional security. A known drawback of this HSM solution is that bandwidth often becomes limited, and the latency of the operation increases.
[0005] A third variant, termed the "protected key" concept, has been added to mainframe computers such as the IBM Z system. This variant uses an encapsulated key formed by encrypting another key with an encapsulated key. The encapsulated key is known to the (trusted) firmware. This encapsulation is initiated by a hardware security module, such as the Crypto Express adapter. The user system can only access the encapsulated key, while the CPU can perform cryptographic operations using the expanded key. This method combines the speed of plaintext key cryptography with the security level of a protected key.
[0006] The protected key may have been encrypted with a virtual server (VS)-specific master key (VS-MK), which is specific to the running instance of the virtual server and inaccessible to the virtual server. The virtual server master key VS-MK may be hidden in the firmware.
[0007] The Virtual Server Master Key (VS-MK) is derived from the Host Master Key (Host-MK) and the virtual server-specific mode provided by the host when configuring the virtual server. Within each virtual server, the firmware can provide an interface to convert the plaintext key into a protected key encapsulated by the master key, which is dedicated to the virtual server being invoked. Currently, this approach is implemented on mainframe systems such as the IBM Z.
[0008] This approach is problematic if the virtual server master key is dedicated to the running instance of the virtual server, and if the protected key is only valid for that specific running instance of the virtual server. It is also problematic if the protected key becomes invalid if the virtual server is rebooted, suspended to disk and restored, or migrated to another system.
[0009] Therefore, it can be seen that the fundamental problem with the proposed method and system lies in how to use the key as a protected key in multiple (bootstrapping) instances of a virtual server, so that the virtual server never has to store data that can be used to expose the key in text form. This can be achieved under boundary conditions where the host cannot be accessed and hosted data can be securely stored.
[0010] In this context, several documents have been published: Document US 2017 / 0277898A1 discloses a processor that employs a security module to manage authentication and encryption keys used by the processor. The security module can authenticate itself to other processing systems, enabling processing systems providing software to be executed on the processor to generate keys for encrypting the address space of the provided software, and to securely import and export information from the encrypted address space to and from the processing system.
[0011] Additionally, US 8,996,887B2 discloses a method for providing data. This method includes receiving a first request to store data from a first virtual machine (VM), obtaining the data and an access control list (ACL) for an authorized user, obtaining a data key with a data key identifier, encrypting the data key and the ACL using an encapsulation key to generate an encapsulated blob, encrypting the data, storing the encapsulated blob and the encrypted data, and providing the data key identifier to the user on the ACL.
[0012] However, these methods also cannot solve the aforementioned problem of using protected keys when the hardware security module is unavailable or impractical. Summary of the Invention
[0013] Embodiments of the present invention may include a computer-implemented method, a computer system, and a computer program product for providing a cryptographic key object to a guest virtual server for use in cryptographic operations. The guest virtual server may register with a trusted hypervisor. Registration may include using guest credentials. The trusted hypervisor may generate a guest encapsulation key and associate the guest encapsulation key with the guest credentials. Upon receiving a request from the guest virtual server with the guest credentials as an argument, the trusted hypervisor may generate a satellite virtual server instance for the guest virtual server. The satellite virtual server instance may be configured with virtual server-specific data from the guest virtual server. The satellite virtual server instance may share a master key with the guest virtual server. The master key cannot be accessed by the trusted hypervisor or any guest virtual server.
[0014] The trusted monitoring program can transmit a copy of the guest-encapsulated key to the satellite virtual server instance. The trusted monitoring program can generate a random guest key. The trusted monitoring program can then encapsulate the random guest key with the guest-encapsulated key, resulting in an encapsulated guest key. Upon receiving a conversion request from the guest virtual server, the encapsulated guest key can be converted into a protected key. The conversion may include re-encapsulating the guest key with the master key to form a protected guest key. The protected guest key is used as a cryptographic key object.
[0015] Methods, computer systems, and computer program products for providing cryptographic key objects to a guest virtual server for use in cryptographic operations can offer numerous advantages, technical effects, contributions, and / or improvements.
[0016] The idea of using a protected key without requiring a Hardware Security Module (HSM) is a significant advantage over existing solutions because the disclosed invention allows the avoidance of the overhead and / or cost of an HSM. This invention can provide the same or at least equivalent level of security for encryption keys as solutions requiring a hardware security module. The solution of this invention can be entirely software-based and requires no additional hardware. Therefore, the solution of this invention can achieve a lower price point for cryptographic solutions at the same or equivalent level of security, which until now has only been provided by solutions based on hardware security modules.
[0017] A beneficial advantage of this invention is that the protected key has a longer "lifetime" than the instance of the virtual system running on the monitoring program. The additional implementation of the satellite virtual server can be disregarded in terms of performance degradation, given the absolute number of virtual machines typically running on the monitoring program. Furthermore, the functionality of the satellite virtual server can be limited to one or only a few functions or services. For example, the satellite virtual server can perform a single transaction—that is, converting an encapsulated guest key into a protected key. The monitoring program should be a trusted monitoring program. In typical computing environments where protected keys may be required, such as mainframe computing environments, the monitoring program can be considered trustworthy by design because a set of firmware components, typically implemented in hardware, can support or integrate with the monitoring program's functionality.
[0018] Since no additional hardware needs to be installed, the invention presented herein can also be implemented during the runtime of the host computing system. Therefore, the absence of operating system downtime and the lack of productivity loss due to such downtime are further advantageous results of the proposed invention.
[0019] Additional embodiments of the present invention will now be described.
[0020] According to a more advanced embodiment of the invention, the conversion further includes the satellite virtual server instance using the guest encapsulation key to decrypt the encapsulated guest key. Therefore, the delivery of the protected key by the satellite virtual server can occur without a hardware security module.
[0021] According to another embodiment of the invention, the conversion request includes a visitor credential as an independent variable, for example, as a conversion independent variable. Therefore, the delivery of the protected key by the satellite virtual server can occur entirely without a hardware security module.
[0022] According to another embodiment of the invention, the trusted monitoring program can maintain a repository of visitor envelope keys associated with the data required to verify visitor credentials. Therefore, visitor envelope keys for different visitor virtual machines can be persistently maintained; that is, they can continue to exist after the relevant visitor virtual machine is shut down, and credentials from different visitor virtual servers can remain verifiable.
[0023] According to another embodiment of the invention, a trusted surveillance program can use a cryptographic one-way function to compute the data required to verify visitor credentials. This cryptographic one-way function can be a cryptographic hash function. This embodiment improves the security of the surveillance program because it eliminates the need to store visitor credentials.
[0024] According to an advantageous embodiment of the invention, the key store can be protected with a passphrase. Therefore, using this embodiment, uncontrolled access to the key store is not permitted. The key store can be protected against unauthorized access.
[0025] According to an enhanced embodiment of the invention, a hardware security module can be used to protect visitor encapsulation keys within a vault. This embodiment represents an advanced option for enhanced protection of visitor encapsulation keys when the hardware security module is available to the monitoring program but not to all visitors hosted by the monitoring program.
[0026] According to an advantageous embodiment of the invention, the virtual server-specific data can be data stored in the virtual machine's Cryptographic Control Block (CRYCB). This data characteristic can be applied to both guest virtual servers and satellite virtual servers. Therefore, using this embodiment, a trusted monitoring program can configure two guests to share or not share configuration data based on security requirements. In other words, two standard guests will not share security-related data, but one guest and its associated guests will share security-related data.
[0027] According to another advantageous embodiment of the invention, the satellite virtual server may have a unique interface that can be connected to a trusted surveillance program. Therefore, using this embodiment, other interfaces or APIs of the satellite virtual server may be available or usable, and the misuse of the satellite virtual server that could jeopardize the security invention presented herein can be prevented.
[0028] Alternatively or additionally, and according to another embodiment of the invention, the trusted surveillance program may also use services from the satellite virtual server, such as additional services, to generate a random key and encapsulate the random key together with a guest encapsulation key. Therefore, for this embodiment, all the highly sensitive core functions required for the security invention presented herein can be processed between the trusted surveillance program and the satellite virtual server.
[0029] According to one licensed embodiment, the invention may further include authorizing each request by a trusted monitoring program after registration. The authorization may include using additional guest credentials provided with the corresponding request after registration. These features allow a guest to register multiple encapsulation keys associated with multiple credentials, enabling key generation and encapsulation key conversion operations to operate on multiple independent key spaces.
[0030] According to another advanced embodiment of the method, the monitoring program can authorize further requests to the guest virtual server after registration. Authorization can also be based on guest-specific data. Guest-specific data used in this embodiment could be, for example, boot volume data or guest owner data that may have been recorded during the registration request. Therefore, by utilizing these features, the possibility of compromising the proposed security invention can be further reduced. Attached Figure Description
[0031] It should be noted that those skilled in the art will understand from the above and the following descriptions that, unless otherwise stated, any combination of features that are part of the methods, systems, or computer program products described herein is considered to be disclosed in this document.
[0032] The above and other aspects of the invention will be apparent from the examples of embodiments described below, and will be explained with reference to the examples of embodiments, but the invention is not limited thereto.
[0033] Preferred embodiments of the invention will be described by way of example only and with reference to the following figures:
[0034] Figure 1 A block diagram is shown of an embodiment of a computer-implemented method of the present invention for providing a cryptographic key object to a guest virtual server for use in cryptographic operations.
[0035] Figure 2 An exemplary flowchart for generating a visitor encapsulation key is shown.
[0036] Figure 3 A block diagram of the components that help generate the guest encapsulation key is shown.
[0037] Figure 4 An exemplary flowchart for starting a satellite virtual server is shown.
[0038] Figure 5 A block diagram of the components involved in starting a satellite virtual server is shown.
[0039] Figure 6 An exemplary flowchart for generating random encapsulation keys is shown.
[0040] Figure 7 A block diagram is shown, including components related to the generation of random keys.
[0041] Figure 8 A block diagram is shown, including components related to the generation of the encapsulated random key.
[0042] Figure 9 An exemplary flowchart for transforming an encapsulated key into a protected key is shown.
[0043] Figure 10 A block diagram showing all the components that support the generation of protected keys is presented.
[0044] Figure 11 A block diagram of an embodiment of the protected key provisioning system of the present invention is shown, which provides a cryptographic key object to a guest virtual server for use in cryptographic operations.
[0045] Figure 12 It shows including according to Figure 11 The protected key provides a block diagram of the system's computing system.
[0046] Figure 13 It includes embodiments according to this disclosure. Figure 12 A block diagram illustrating a cloud computing environment for a computer system.
[0047] Figure 14 According to embodiments of this disclosure Figure 13 A block diagram illustrating the functional layers of an illustrative cloud computing environment. Detailed Implementation
[0048] In the context of this specification, the following terms and / or expressions may be used:
[0049] The term "cryptographic key object" can represent a sequence of data that will be used by a guest virtual server in cryptographic operations. A guest virtual server can use a cryptographic key object as a protected key.
[0050] The term "guest virtual server" can refer to a virtual machine that mimics a complete computer system and runs within or on a monitoring program. A monitoring program can represent a layer between a real hardware system and multiple virtual machines that can be isolated from each other. When virtual machines are isolated from each other, a fatal error in or on one virtual machine does not affect another.
[0051] The term "cryptographic operation" can refer to encrypting or decrypting data to protect it from unauthorized access. Additionally, "cryptographic operation" can also refer to signing or verification operations used to perform proofs of data integrity.
[0052] The term "trusted surveillance program" can refer to a surveillance program that can be constructed and embedded into a real hardware system and can communicate with the firmware in a manner that will not be harmed by unauthorized individuals. To achieve this security for the surveillance program, organizational regulations can be implemented. For example, access to terminals for installing or managing the trusted surveillance program can be restricted. Alternatively, if organizational measures are taken to protect the surveillance program from unauthorized access to security keys and other confidential data managed by the surveillance program, then only software-based surveillance programs can be used as trusted surveillance programs.
[0053] Furthermore, the trusted surveillance program—or simply the "surveillance program"—can provide a hypercall to the guest virtual server to (a) generate a random key token, which is a random key wrapped by the guest's encapsulated key, and (b) convert the key token into a protected key. Both calls can take the guest's secret as an argument, which allows the trusted surveillance program to associate the correct satellite virtual server.
[0054] The aforementioned super call (a) can be executed by the monitoring program, but the guest encapsulation key will be exposed during this operation. The super call (a) can preferably be executed by a service of the satellite virtual server, which, when initialized using the guest encapsulation key, can transform the guest encapsulation key into a protected key, and thus protect the guest encapsulation key while encapsulating the random key using the guest encapsulation key.
[0055] The super call (b) can be performed by a service of a satellite virtual server associated with the guest virtual server making the call. The satellite virtual server can then use a copy of its guest packet key (which may be a protected key) to decrypt the key token and can immediately convert the decrypted key into a protected key, which is then returned to the monitoring program.
[0056] The term "guest credentials" can refer to any coded data dedicated to a guest virtual server. Guest credentials can be entered by the user or otherwise provided, or they can be stored on a persistent storage device accessible by the guest virtual server, such as a USB stick-style key storage device.
[0057] The term "satellite virtual server instance" can refer to a hidden virtual machine running in parallel with the guest virtual machine on a trusted monitoring program. A 1:1 relationship can exist between the guest virtual server and the satellite virtual server. A satellite virtual server can be created upon request from the guest virtual server; its sole purpose is to provide a protected key to the guest virtual server. The satellite virtual server may be functionally limited and may not be able to initiate requests, therefore it will not have its own guest secret. A satellite virtual server can be associated with a guest secret, such as a guest secret from its corresponding guest virtual machine.
[0058] The term "virtual server" can be used as a synonym for the term virtual machine, which refers to software executed on a monitoring program. This term can be applied to both guest virtual servers and satellite virtual servers.
[0059] The term "master key" can refer to, for example, a password specific to the host hardware machine and embedded in its firmware. Alternatively, the term can refer to a Virtual Server Master Key (VS-MK), which is the master key associated with a particular guest virtual system. No two guest virtual systems have the same VS-MK unless one is a satellite virtual server of the other.
[0060] The term "random visitor key" can refer to a code generated by a monitoring program that is encapsulated by a visitor encapsulation key associated with visitor credentials.
[0061] The term "guest encapsulation key" can refer to a key used by a surveillance program, such as a sequence of digital data, to encapsulate a random guest key, that is, to protect the random guest key from unauthorized access.
[0062] The term "satellite virtual server" can refer to a virtual machine that provides services to a monitoring program, such as (a) converting a key encapsulated by a visitor encapsulation key of an associated visitor virtual server such that the key becomes a protected key for the associated visitor virtual server, and optionally (b) generating a random key encapsulated by a visitor encapsulation key of an associated visitor virtual server.
[0063] The term "cryptographic control block" (CRYCB) can refer to a data structure dedicated to a virtual machine, such as one dedicated to a guest virtual server or a satellite virtual server. A CRYCB can be generated during the instantiation of a virtual machine on a monitor, under the control of the monitor. In the invention presented herein, the CRYCB used for the guest virtual server and the CRYCB used for the associated satellite virtual server can be the same, or can include some of the same data.
[0064] The accompanying drawings are described below in detail. All illustrations in the drawings are illustrative. First, a block diagram of an embodiment of the computer-implemented method of the present invention is given, which is used to provide a cryptographic key object to a guest virtual server for use in cryptographic operations. Then, further embodiments and embodiments of a protected key provision system for providing a cryptographic key object to a guest virtual server for use in cryptographic operations will be described.
[0065] Figure 1A block diagram of a preferred embodiment of a computer-implemented method 100 for providing a cryptographic key object (specifically, a protected key) to a guest virtual server for use in cryptographic operations is shown. Method 100 may include a step 102 in which the guest virtual server registers with a trusted monitoring program using guest credentials. The guest credentials may be a private secret of the guest virtual server, which may be entered by a user, may have been entered from a file, or may come from another source. In another step 104, the trusted monitoring program generates a guest envelope key for the registered guest virtual server. The trusted monitoring program may associate the guest envelope key with the guest credentials used to register the guest virtual server with the trusted monitoring program.
[0066] In another step 106, upon receiving a request (e.g., an initialization request) with guest credentials as an argument from the guest virtual server, the trusted monitoring program generates a satellite virtual server instance for the guest virtual server. The request and generation can be considered an integrated activity. The satellite virtual server is configured with virtual server-specific data from the guest virtual server, specifically the same data in the CRYCB. The satellite virtual server and the guest virtual server can share a master key, for example, they can share a VS-MK. Therefore, the data in the CRYCB (cryptographic control block) of the guest virtual server and the satellite virtual server is, in principle, identical. A further restriction is that the master key cannot be accessed by the trusted monitoring program or any guest virtual server. This protection can be achieved by hiding the master key in the firmware. Therefore, no guest virtual server can directly access its own master key.
[0067] Additionally, method 100 may include step 108 whereby the trusted monitoring program transmits a copy of the visitor encapsulation key to the satellite server instance. This transmission may be performed in any initialization step or as part of a conversion request. The visitor encapsulation key is the visitor encapsulation key associated with the requested visitor credentials, i.e., the initialization request or alternatively, the request used for encapsulation key generation.
[0068] Method 100 may further include step 110, whereby the guest virtual server requests a random guest key encapsulated by a guest encapsulation key. Additionally, method 100 may include step 112, whereby a trusted monitoring program generates the random guest key. Method 100 may include step 114, whereby the trusted monitoring program encapsulates the random guest key with a guest encapsulation key associated with the guest credentials.
[0069] Method 100 may further include step 116 of converting the encapsulated guest key into a protected key. The conversion may occur upon receiving a conversion request from the guest virtual server and may occur before the guest virtual server uses the encapsulated guest key from the monitoring program. This conversion or transformation may include the satellite virtual server re-encapsulating the encapsulated guest key with its master key, which is proprietary to both the guest virtual server and the satellite virtual server. Therefore, the encapsulated guest key can be converted into a protected guest key that can be used as a cryptographic key object.
[0070] Figure 2 An exemplary flowchart 200 for generating a guest envelope key is shown. This can occur upon the first loading of the guest virtual server. In step 202, the guest virtual server may request a monitoring program to generate a guest envelope key and associate the guest envelope key with guest credentials, such as a guest secret. In step 204, based on this request, the monitoring program may generate a new random key and associate the new random key with a cryptographic hash of the guest secret. Furthermore, in step 206, the monitoring program may store this association between the hash and the random key in a repository.
[0071] Figure 3 A block diagram 300 shows components that facilitate the generation of a guest encapsulation key. A monitoring program 302 collaborates with firmware 304 to form a trusted monitoring program. In the case of a software-only monitoring program, operational constraints on the environment are appropriate to protect the operation of the monitoring program, enabling it to constitute a trusted monitoring program. Embedded in firmware 304 is a host-master-key (host-MK) 306. The host-MK 306 can be used with a cryptographic control block (CRYCB) 308 and a guest master key pattern from a guest virtual server cryptographic control block 314 to generate a guest master key 310.
[0072] Upon initialization or first use of the Guest Virtual Server (GVS) 312, the GVS 312 can access guessed credentials, which may be a guest secret 316. The guest secret 316 may be, for example, user input or may come from another source. The guest secret 316 may be a password or something similar. The guest secret 316 can be transformed into a hash value 322 in a one-way manner. Additionally, the monitoring program 302 can generate a guest encapsulation key 320. The monitoring program 302 can associate the guest encapsulation key 320 with the hash value 322, as indicated by the double arrows between the hash value 322 of the guest secret 316 and the guest encapsulation key 320. Both the hash value 322 of the guest secret 316 and the guest encapsulation key 320 are permanently stored in storage 318. This storage allows the guest encapsulation key 320 to persist even if the GVS 312 is rebooted, hung to disk, or restored and / or migrated to another part of a system using another monitoring program.
[0073] Figure 4 An exemplary flowchart 400 illustrates at least one embodiment of the steps for starting a satellite virtual server. In step 402, the guest virtual server 312 sends a request to the monitoring program 302 to start or initialize the satellite virtual server and associate the satellite virtual server with a guest virtual server secret. The guest virtual server secret can be entered by the user, entered via a file, or obtained from another secret source. Because the guest virtual server 312 is the same as that used in the preceding steps, this secret will be the same as the guest secret 316 used to generate the guest encapsulation key 320. Upon this request, in step 404, the monitoring program 302 starts the satellite virtual server instance using the same encapsulation key configuration used by the calling guest, i.e., using the same encapsulation key configuration used by the guest virtual server 312. In other words, the monitoring program 302 uses the cryptographic control block CRYCB 314 already used to instantiate the guest virtual server 312.
[0074] In step 406, monitoring program 302 determines the hash value 322 of visitor secret 316 and stores the visitor packet key 320 associated with hash value 322 in the satellite virtual server. Because the visitor secret is the same, the hash determined in step 406 will be the same as the hash used in step 200. The hash is a deterministic function. In step 408, monitoring program 302 associates the satellite virtual server with hash value 322.
[0075] The guest virtual server secret refers to a specific packet key in a database (e.g., in repository 318). The monitoring program 302 must—for the lifetime of the guest (i.e., as long as the guest is running)—remember, whenever a subsequent request is made to the monitoring program 302 with the guest virtual server secret as an argument, it should use the satellite server that was just created.
[0076] Because the lifetime of a running visitor cannot exceed the lifetime of its host (i.e., the lifetime of monitor 302), this association (e.g., a pair consisting of a hash and a reference to the satellite virtual server) does not need to be stored in an external database, but should instead be stored somewhere in the monitor's memory. For example, for each visitor that has issued an initialization request, monitor 302 maintains a secret hash (used during initialization) and a reference to the satellite virtual server. For example, in Linux KVM (a kernel-based virtual machine), this reference could be the process ID handled by QEMU (an open-source machine emulator and virtualizer) running the satellite virtual server.
[0077] Figure 5 A block diagram 500 shows the components involved in the process of starting a satellite virtual server. Components already discussed will not be described again, and reference numerals for the same objects in the preceding figures are repeated.
[0078] Monitoring program 302 uses the same master key configuration or encapsulation key configuration as the guest virtual server 312, for example, by using the password control block 314 used to instantiate the guest virtual server 312, to launch satellite guest virtual server 502 (shown adjacent to guest virtual server 312). A copy of the guest encapsulation key 320 is stored in the system of satellite guest virtual server 502 (indicated by the arrow between the two instances of 320). Figure 4 As a result of the process shown in the flowchart, the hash value 322 of the visitor secret 316 also exists in the satellite visitor virtual server 502 (indicated by the arrow from the repository 318 to the satellite visitor virtual server 502).
[0079] The sole purpose of the satellite visitor virtual server 502 may be to provide the function of converting a key encapsulated by a visitor-encapsulated key into a protected key. Therefore, no other functions may be available within the satellite visitor virtual server 502; consequently, the satellite visitor virtual server 502 must not be misused for any network attacks.
[0080] Figure 6An exemplary flowchart 600 is shown, illustrating a method for generating a random encapsulation key. In step 602, the guest virtual server 312 may send a request to the monitoring program 302, providing the monitoring program 302 with a guest secret. This request is to prompt the monitoring program 302 to return a random key encapsulated by the guest encapsulation key 320 associated with the guest secret. Because the guest virtual server 312 is the same as that used in previous steps 200 and 400, the guest secret here will be the same as the previously used guest secret 316, thus enabling the system to identify the correct saved information in the repository 318. The guest may, for example, register two different secrets with the monitoring program 302, and then have two different encapsulation keys and two different satellite servers. Depending on the secret used in the request, the monitoring program 302 will use one or the other encapsulation key and satellite server when fulfilling the request. In return, in step 604, the monitoring program 302 determines the hash of the guest secret and generates a random key encapsulated by its guest encapsulation key. Therefore, no direct communication occurs between the guest virtual server and the satellite virtual server. In step 606, the monitoring program returns a random key, which is wrapped by the visitor's encapsulation key, to the visitor's virtual server.
[0081] Figure 7 A block diagram 700 showing the components involved in generating a random key is provided, as just described by... Figure 6 The activity flowchart describes, Figure 7 This shows that monitoring program 302 has generated a random key 702.
[0082] Figure 8 It shows the relationship with Figure 7 The components shown are similar to those in block diagram 800, but illustrate the further actions required to complete the encapsulated random key. Figure 8 Random key 702 is shown. Figure 7 The guest key 802 is now encapsulated using the guest encapsulation key 320 from the satellite guest virtual server instance 502. The guest key 802, encapsulated by the guest encapsulation key 320, is available to the guest virtual server (GVS) 312.
[0083] Once the encapsulated visitor key 802 has been moved to or received by the visitor virtual server 312, the initial version of the random key 702 ( Figure 7 ) and the initial version of the encapsulated visitor key 802 (i.e., in Figure 8 The encapsulated visitor key (802) shown from left to right may no longer exist, for example, it may be deleted.
[0084] Figure 9An exemplary flowchart 900 is shown for transforming an encapsulated guest key 802 into a protected key. In step 902, the guest virtual server 312 sends a request to the monitoring program 302 to return a key encapsulated by the guest virtual server master key 310 (VS-MK), which begins with the encapsulated guest key 802 encapsulated by the guest encapsulation key 320 associated with the guest secret provided in the request. In another step 904, the monitoring program 302 determines the hash value of the requested guest secret and requests the associated satellite virtual server to transform the encapsulated guest key 802 encapsulated by the guest encapsulation key 320 into a key encapsulated by its guest master key 310.
[0085] In step 906, the satellite visitor virtual server 502 uses the visitor encapsulation key 320 to decrypt the encapsulated visitor key 802. In step 908, the satellite visitor virtual server 502 (via the monitoring program 302) requests from the firmware 304 to encapsulate the decrypted key with its master key 310 and returns the result to the monitoring program 302. In another step 910, the monitoring program 302 returns the received key encapsulated by the visitor master key 310 to the visitor virtual server 312. Therefore, the loop is closed, and the visitor virtual server 312 has received the protected key, i.e., the cryptographic key object, which will be used by the visitor virtual server 312 for further cryptographic functions without the need for a hardware security module.
[0086] Figure 10 A block diagram 1000 showing all the components supporting the generation of protected keys is provided, as in... Figure 9 The steps shown are described just in the context of the steps described above. The random key 702, encapsulated by the guest encapsulation key 320, is decrypted in the satellite guest virtual server 502 and sent to the firmware 304 via the monitoring program 302. Here, the decrypted guest key 1002 is encapsulated together with the master key 310 and returned to the guest virtual server 312 as the protected key 1004 via the monitoring program 302.
[0087] Here, copies of the encapsulated visitor key 802 can be seen in both the visitor virtual server 312 and the satellite visitor virtual server 502. However, after the encapsulated visitor key 802 has been decapsulated to become the decapsulated visitor key 1002, the encapsulated visitor key 802 may be "forgotten," that is, it may be deleted from the satellite visitor virtual server 502. Therefore, the decapsulated visitor key 1002 may only exist during the transformation. Moreover, after the request for firmware 304 is satisfied, the decapsulated visitor key 1002 can be deleted from the satellite visitor virtual server 502. The decapsulated visitor key 1002 is no longer needed. The same situation will occur in the version of the protected key 1004 in the firmware after the protected key 1004 has been transmitted to the visitor virtual server 312.
[0088] Figure 11 A block diagram of an embodiment of the protective key provision system 1100 of the present invention is shown, which provides a cryptographic key object to a guest virtual server 312 for use in cryptographic operations. System 1100 may include a registration unit 1102 that enables the guest virtual server 312 to register with a trusted monitoring program 302 using guest credentials. System 1100 may also include a first generator module 1104 that enables the trusted monitoring program 302 to generate a guest encapsulation key 320 and associate the guest encapsulation key 320 with guest credentials.
[0089] System 1100 may further include a second generator module 1106, which becomes active upon receiving a request from the guest virtual server 312, using the guest credentials as an argument. In this case, the second generator module 1106, triggered by the trusted monitoring program 302 or otherwise activated, is adapted to generate a satellite guest virtual server instance 502 configured with virtual server-specific data from the guest virtual server 312. The guest virtual server 312 shares its master key 310 with the satellite guest virtual server instance 502. Under no circumstances can the master key 310 be accessed by the trusted monitoring program 302 or any guest virtual server.
[0090] Guest virtual server 312 can share master key 310 without accessing the master key. A password request with a protected key (a key encapsulated by the master key) is sent to the system. The system knows which virtual server the password request originated from and uses that virtual server's master key to decrypt the protected key. Then, cryptographic operations are performed in the CPU based on the plaintext key. Therefore, cryptographic operations can be performed without the virtual server knowing the actual encryption key.
[0091] In addition, system 1100 may include a delivery module 1108 that enables trusted monitoring program 302 to deliver a copy of the visitor packet key 320 associated with the requested visitor credentials to satellite visitor virtual server instance 502. System 1100 may also include a third generator module 1110 that enables trusted monitoring program 302 to generate a random key 702.
[0092] Additionally, system 1100 may include an encapsulation module 1112, which enables trusted monitoring program 302 to encapsulate random key 702 using visitor encapsulation key 320 associated with visitor credentials, thereby generating encapsulated visitor key 802.
[0093] Furthermore, system 1100 may include a request unit 1114 that requests the conversion of the encapsulated guest key 802 into a protected key before using the encapsulated guest key 802. The conversion may include satellite guest virtual server instance 502 recapsulating the encapsulated guest key 802 with master key 310. Master key 310 may be unique to both guest virtual server 312 and satellite guest virtual server 502, or it may be shared by both guest virtual server 312 and satellite guest virtual server 502. Through recapsulation, the encapsulated guest key 802 can be converted into a protected guest key 1004, which can be used as a cryptographic key object.
[0094] It can be noted that the mentioned units and modules can be interconnected directly or indirectly for information and / or signal exchange. Alternatively, the registration unit 1102, the first generator module 1104, the second generator module 1106, the transmission module 1108, the third generator module 1110, the encapsulation module 1112, and the request unit 1114 can be interconnected via the internal bus system 1116 of the protection key provision system 1100. These units and modules can be formed via software.
[0095] Embodiments of the present invention can be implemented with any type of computer, regardless of whether the platform is suitable for storing and / or executing program code. Figure 12 A computing system 1200 is shown as an example, which is adapted to execute program code related to the proposed method.
[0096] The computing system 1200 is merely one example of a suitable computer system and is not intended to impose any limitation on the scope or functionality of the embodiments of the invention described herein, regardless of whether the computing system 1200 can be implemented and / or perform any of the functions set forth above. Within the computer system 1200, there are components that can operate with many other general-purpose or special-purpose computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations suitable for use with the computer system / server 1200 include, but are not limited to, personal computer systems, server computer systems, thin clients, fat clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computers, and distributed cloud computing environments that include any of the aforementioned systems or devices. The computer system / server 1200 can be described in the general context of computer system executable instructions, such as program modules executed by the computer system 1200. Typically, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform a specific task or implement a specific abstract data type. The computer system / server 1200 can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked via a communication network. In a distributed cloud computing environment, program modules can reside on local and remote computer system storage media, including memory storage devices.
[0097] As shown in the figure, the computer system / server 1200 is illustrated as a general-purpose computing device. Components of the computer system / server 1200 may include, but are not limited to, one or more processors or processing units 1202, system memory 1204, and a bus 1206 that couples various system components, including system memory 1204, to the processor 1202. Bus 1206 represents one or more of several types of bus architectures, including memory buses or memory controllers, peripheral buses, accelerated graphics ports, and processor or local buses using any of various bus architectures. By way of example and not limitation, these architectures may include Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MCA) buses, Enhanced ISA (EISA) buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses. The computer system / server 1200 typically includes various computer system readable media. Such media can be any available media accessible by the computer system / server 1200, and it includes both volatile and non-volatile media, removable and non-removable media.
[0098] System memory 1204 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1208 and / or cache memory 1210. Computer system / server 1200 may also include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 1212 may be provided for reading from and writing to non-removable, non-volatile magnetic media (not shown and generally referred to as "hard disk drives"). Although not shown, disk drives for reading from and writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks such as CD-ROMs, DVD-ROMs, or other optical media may be provided. In such instances, each may be connected to bus 1206 via one or more data media interfaces. As will be further described and illustrated below, memory 1204 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of embodiments of the present invention.
[0099] For example, a program / utility having a set (at least one) of program modules 1216 may be stored in memory 1204. An operating system, one or more application programs, other program modules, and program data may also be stored in memory 1204. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may include an implementation of a networking environment. Program modules 1216 generally perform the functions and / or methods of embodiments of the invention as described herein.
[0100] The computer system / server 1200 can also communicate with one or more external devices 1218, such as a keyboard, indicating device, display 1220, etc.; one or more devices that enable a user to interact with the computer system / server 1200; and / or any device that enables the computer system / server 1200 to communicate with one or more other computing devices (e.g., a network interface card, modem, etc.). This communication can occur via input / output (I / O) interface 1214. Furthermore, the computer system / server 1200 can also communicate with one or more networks (e.g., local area networks (LANs), general-purpose wide area networks (WANs), and / or public networks (e.g., the Internet)) via network adapter 1222. As depicted, network adapter 1222 can communicate with other components of the computer system / server 1200 via bus 1206. It should be understood that, although not shown, other hardware and / or software components can be used in conjunction with the computer system / server 1200. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems.
[0101] Additionally, a protected key provisioning system 1100 for providing cryptographic key objects to guest virtual servers for use in cryptographic operations can be attached to bus system 1206.
[0102] Various embodiments of the invention have been described for illustrative purposes, but are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein has been chosen to best explain the principles of the embodiments, their practical application, or improvements to existing technologies on the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
[0103] This invention can be implemented as a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon for causing a processor to perform aspects of the invention.
[0104] The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system used for propagation. Examples of computer-readable media include semiconductor or solid-state memory, magnetic tape, removable computer disks, random access memory (RAM), read-only memory (ROM), hard disks, and optical discs. Current examples of optical discs include optical disc read-only memory (CD-ROM), optical disc read / write (CD-R / W), DVDs, and Blu-ray discs.
[0105] Computer-readable storage media can be tangible devices capable of retaining and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable optical disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices such as punch cards or recessed structures with instructions recorded thereon, and any suitable combination of the foregoing. As used herein, computer-readable storage media should not be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0106] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a suitable computing / processing device, or via a network, such as the Internet, a local area network (LAN), a wide area network (WAN), and / or a wireless network, to an external computer or external storage device. The network may include copper cables, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to a computer-readable storage medium within the respective computing / processing device.
[0107] Computer-readable program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages (e.g., Smalltalk, C++, etc.) and conventional procedural programming languages (e.g., the "C" programming language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, to perform aspects of this invention, electronic circuits, including, for example, programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer-readable program instructions to personalize the electronic circuits by utilizing state information from the computer-readable program instructions.
[0108] This document describes aspects of the invention with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0109] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / actions specified in one or more blocks of a flowchart and / or block diagram. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and / or other devices to operate in a particular manner, such that the computer-readable storage medium in which the instructions are stored includes an article of writing comprising instructions for implementing aspects of the functions / actions specified in one or more blocks of a flowchart and / or block diagram.
[0110] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus or another device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer-implemented process, such that the instructions, which execute on the computer, other programmable apparatus or other device, perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0111] The flowcharts and / or block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of instructions comprising one or more executable instructions for implementing a specified logical function. In some alternative embodiments, the functions mentioned in the blocks may occur in a different order than those mentioned in the figures. For example, two blocks shown consecutively may actually be executed substantially simultaneously, or these blocks may sometimes be executed in reverse order, depending on the functions involved. It will also be noted that each block illustrated in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action or executes a combination of dedicated hardware and computer instructions.
[0112] For embodiments taking the form of a relevant computer program product, the program code may be accessed from a computer-usable or computer-readable medium and may be adapted for use by or in conjunction with a computer or any instruction execution system. For the purposes of this specification, a computer-usable or computer-readable medium may be any apparatus that may contain units or modules for storing, transmitting, propagating, or distributing a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0113] It should be understood that although this disclosure includes a detailed description of cloud computing, the implementation of the teachings set forth herein is not limited to a cloud computing environment. Rather, embodiments of the invention can be implemented in conjunction with any other type of computing environment now known or developed hereafter.
[0114] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with service providers. This cloud model may include at least five features, at least three service models, and at least four deployment models.
[0115] The characteristics are as follows:
[0116] On-demand self-service: Cloud consumers can unilaterally and automatically provide computing power, such as server time and network storage, as needed, without requiring manual interaction with the service provider.
[0117] Wide Area Network (WAN) Access: Capabilities are available on the network and accessed through standard mechanisms that facilitate the use of heterogeneous thin or thick client platforms, such as mobile phones, laptops, and PDAs.
[0118] Resource pooling: A provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated based on demand. Location independence has significance because consumers typically do not control or know the exact location of the resources provided, but can specify the location at a higher level of abstraction (e.g., country, state, or data center).
[0119] Rapid Flexibility: In some cases, the ability to scale outwards and inwards quickly and flexibly can be provided. For consumers, the available capacity often appears unlimited and can be purchased in any quantity at any time.
[0120] Measurement services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the service type (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency for both service providers and consumers.
[0121] The service model is as follows:
[0122] Software as a Service (SaaS): The capability offered to consumers is the ability to use the provider's applications running on cloud infrastructure. Applications can be accessed from various client devices through a thin client interface such as a web browser (e.g., web-based email). Consumers do not manage or control the underlying cloud infrastructure, including the network, servers, operating system, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
[0123] Platform as a Service (PaaS): This provides consumers with the ability to deploy applications created or acquired by the consumer onto cloud infrastructure using programming languages and tools supported by the provider. Consumers do not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but they have control over the deployed applications and the configuration of possible application hosting environments.
[0124] Infrastructure as a Service (IaaS): This provides consumers with the capability to offer processing, storage, networking, and other basic computing resources that enable consumers to deploy and run arbitrary software, which may include operating systems and applications. Consumers do not manage or control the underlying cloud infrastructure, but have control over the operating system, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).
[0125] The deployment model is as follows:
[0126] Private cloud: Cloud infrastructure operated solely by an organization. It can be managed by the organization or a third party and can exist inside or outside a building.
[0127] Community cloud: Cloud infrastructure shared by several organizations and supporting a specific community with shared concerns (e.g., tasks, security requirements, policies, and compliance considerations). It can be managed by an organization or a third party and can exist on-site or off-site.
[0128] Public cloud: Cloud infrastructure available to the general public or large industrial groups and owned by organizations that sell cloud services.
[0129] Hybrid cloud: A cloud infrastructure is a combination of two or more clouds (private, community, or public) that remain a single entity but are bound together by standardized or proprietary technologies that enable data and applications to be ported together (e.g., cloud bursts for load balancing between clouds).
[0130] Cloud computing environments are service-oriented, focusing on statelessness, loose coupling, modularity, and semantic interoperability. At the heart of cloud computing is the infrastructure of a network of interconnected nodes.
[0131] Now for reference Figure 13The illustration depicts a cloud computing environment 1300. As shown, the cloud computing environment 1300 includes one or more cloud computing nodes 1200 to which local computing devices used by cloud consumers can communicate, such as personal digital assistants (PDAs) or cellular phones 1300A, desktop computers 1300B, laptop computers 1300C, and / or automotive computer systems 1300N. The nodes 1200 can communicate with each other. They can be physically or virtually grouped (not shown) in one or more networks, such as private clouds, community clouds, public clouds, or hybrid clouds, or combinations thereof, as described above. This allows the cloud computing environment 1300 to provide infrastructure, platform, and / or software as a service, without requiring cloud consumers to maintain resources on their local computing devices. It should be understood that... Figure 13 The types of computing devices 1300A-1300N shown are for illustrative purposes only, and the computing node 1200 and cloud computing environment 1300 can communicate with any type of computing device (e.g., using a web browser) via any type of network and / or network addressable connection.
[0132] Now for reference Figure 14 This illustrates a set of functional abstraction layers 1400 provided by the cloud computing environment 1300. It should be understood beforehand that... Figure 14 The components, layers, and functions shown are for illustrative purposes only, and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided:
[0133] Hardware and software layer 1402 includes hardware and software components. Examples of hardware components include: mainframe 1404; server 1406 based on RISC (Reduced Instruction Set Computer) architecture; server 1408; blade server 1410; storage device 1412; and network and networking components 1414. In some embodiments, software components include network application server software 1416 and database software 1418.
[0134] The virtualization layer 1420 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual server 1422; virtual storage device 1424; virtual network 1426, including virtual private network; virtual application and operating system 1428; and virtual client 1430.
[0135] In one example, management layer 1432 may provide the functionality described below. Resource provisioning 1434 provides dynamic procurement of computing resources and other resources used to perform tasks within the cloud computing environment. Metering and pricing 1436 provides cost tracking when utilizing resources in the cloud computing environment, and billing or pricing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks, and protection for data and other resources. User portal 1438 provides access to the cloud computing environment for consumers and system administrators. Service level management 1440 provides cloud resource allocation and management to ensure the required service level is met. Service level agreement (SLA) planning and fulfillment 1442 provides pre-scheduling and procurement of cloud resources, where future demand is anticipated based on the SLA.
[0136] Workload layer 1444 provides examples of functionalities that can leverage a cloud computing environment. Examples of workloads and functionalities that can be provided from this layer include: mapping and navigation 1446; software development and lifecycle management 1448; virtual classroom education delivery 1450; data analysis and processing 1452; transaction processing 1454; and cryptographic key object processing and protected key provisioning processing 1456. The functions of key object processing and protected key provisioning processing are described in the above embodiments of the invention.
[0137] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the terms “comprises,” “comprising,” “includes,” “including,” “has,” “have,” “having,” “with,” etc., as used in this specification, designate the presence of the stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0138] Various embodiments of the invention have been described for illustrative purposes, but are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein has been chosen to best explain the principles of the embodiments, their practical application, or improvements to existing technologies in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A computer-implemented method for providing a cryptographic key object to a guest virtual server for use in cryptographic operations, the method comprising: The visitor virtual server registers with the trusted monitoring program, wherein the registration includes the use of visitor credentials; The trusted monitoring program generates a visitor packet key and associates the visitor packet key with the visitor credentials; When a request with the visitor credentials as an independent variable is received from the visitor virtual server, the trusted monitoring program generates a satellite virtual server instance for the visitor virtual server. The satellite virtual server instance is configured with virtual server-specific data from the visitor virtual server. The satellite virtual server instance shares a master key with the visitor virtual server, and the master key cannot be accessed by the trusted monitoring program or any visitor virtual server. The trusted monitoring program transmits a copy of the visitor packet key to the satellite virtual server instance; A random visitor key is generated by the trusted monitoring program; The trusted monitoring program encapsulates the random visitor key with the visitor encapsulation key to generate an encapsulated visitor key; as well as Upon receiving a conversion request from the guest virtual server, the encapsulated guest key is converted to a protected key. The conversion includes re-encapsulating the encapsulated guest key with the master key to form a protected guest key, which is used as the cryptographic key object.
2. The method according to claim 1, wherein, The conversion also includes the satellite virtual server instance using the guest encapsulation key to decrypt the encapsulated guest key.
3. The method according to claim 1 or 2, wherein, The conversion request includes the visitor credentials as the conversion argument.
4. The method according to claim 1 or 2, wherein, The trusted monitoring program maintains a key store associated with the data required to verify the visitor credentials.
5. The method according to claim 4, wherein, The trusted monitoring program uses a cryptographic one-way function to compute the data required to verify the visitor credentials.
6. The method according to claim 4, wherein, The key store is protected by a cipher phrase.
7. The method according to claim 1 or 2, wherein, The visitor packet key is protected by a hardware security module.
8. The method according to claim 1 or 2, wherein, The specific data of the virtual server is data stored in the password control block of the virtual machine.
9. The method according to claim 1 or 2, wherein, The satellite virtual server instance has a unique interface; and The unique interface is connected to the trusted monitoring program.
10. The method according to claim 1 or 2, wherein, The trusted monitoring program uses a service from the satellite virtual server instance to generate a random key, and encapsulates the random key using the visitor-encapsulated key.
11. The method of claim 1 or 2, further comprising authorizing each request by the trusted monitoring program after the registration; in, The authorization includes using additional visitor credentials provided with the corresponding request after the registration.
12. The method of claim 1 or 2, further comprising, after the registration, a request authorized by the trusted monitoring program from the visitor virtual server, other than the request with the visitor credentials as an independent variable and the conversion request; in, The authorization of the other requests includes the use of visitor-specific data.
13. A computer system for providing a cryptographic key object to a guest virtual server for use in cryptographic operations, the computer system comprising: One or more processors, one or more computer-readable storage devices, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media, the program instructions being executable by at least one of the one or more processors via at least one of the one or more computer-readable storage devices, wherein the computer system is capable of performing a method comprising: The visitor virtual server registers with the trusted monitoring program, wherein the registration includes the use of visitor credentials; The trusted monitoring program generates a visitor packet key and associates the visitor packet key with the visitor credentials; When a request with the visitor credentials as an independent variable is received from the visitor virtual server, the trusted monitoring program generates a satellite virtual server instance for the visitor virtual server. The satellite virtual server instance is configured with virtual server-specific data from the visitor virtual server. The satellite virtual server instance shares a master key with the visitor virtual server, and the master key cannot be accessed by the trusted monitoring program or any visitor virtual server. The trusted monitoring program transmits a copy of the visitor packet key to the satellite virtual server instance; A random visitor key is generated by the trusted monitoring program; The trusted monitoring program encapsulates the random visitor key with the visitor encapsulation key, thereby generating an encapsulated visitor key; and Upon receiving a conversion request from the guest virtual server, the encapsulated guest key is converted to a protected key. The conversion includes re-encapsulating the encapsulated guest key with the master key to form a protected guest key, which is used as the cryptographic key object.
14. The computer system according to claim 13, wherein, The conversion also includes the satellite virtual server instance using the guest encapsulation key to decrypt the encapsulated guest key.
15. The computer system according to claim 13 or 14, wherein, The conversion request includes the visitor credentials as the conversion argument.
16. The computer system according to claim 13 or 14, wherein, The trusted monitoring program maintains a key storehouse for visitor envelope keys associated with the data required to verify the visitor credentials.
17. The computer system according to claim 16, wherein, The trusted monitoring program uses a cryptographic one-way function to compute the data required to verify the visitor credentials.
18. The computer system according to claim 16, wherein, The key store is protected by a cipher phrase.
19. The computer system according to claim 16, wherein, The visitor packet key is protected by a hardware security module.
20. The computer system according to claim 13 or 14, wherein, The specific data of the virtual server is data stored in the password control block of the virtual machine.
21. The computer system according to claim 13 or 14, wherein, The satellite virtual server instance has a unique interface; and The unique interface is connected to the trusted monitoring program.
22. The computer system according to claim 13 or 14, wherein, The trusted monitoring program uses a service from the satellite virtual server to generate a random key, and uses the visitor-encapsulated key to encapsulate the random key.
23. The computer system according to claim 13 or 14, wherein, The method further includes authorizing each request by the trusted monitoring program after the registration. The authorization includes using additional visitor credentials provided with the corresponding request after the registration.
24. The computer system according to claim 13 or 14, wherein, The method also includes requests authorized by the trusted monitoring program after the registration from the visitor virtual server, other than requests with the visitor credentials as an independent variable and the conversion request; as well as The authorization of the other requests includes the use of visitor-specific data.
25. A computer program product for providing a cryptographic key object to a guest virtual server for use in cryptographic operations, the computer program product comprising a computer-readable storage medium having program instructions embodied therein, the program instructions being executable by a processor to cause the processor to perform a method comprising the steps of: The visitor virtual server registers with the trusted monitoring program, wherein the registration includes the use of visitor credentials; The trusted monitoring program generates a visitor packet key and associates the visitor packet key with the visitor credentials; When a request with the visitor credentials as an independent variable is received from the visitor virtual server, the trusted monitoring program generates a satellite virtual server instance for the visitor virtual server. The satellite virtual server instance is configured with virtual server-specific data from the visitor virtual server. The satellite virtual server instance shares a master key with the visitor virtual server, and the master key cannot be accessed by the trusted monitoring program or any visitor virtual server. The trusted monitoring program transmits a copy of the visitor packet key to the satellite virtual server instance; A random visitor key is generated by the trusted monitoring program; The trusted monitoring program encapsulates the random visitor key with the visitor encapsulation key to generate an encapsulated visitor key; as well as Upon receiving a conversion request from the guest virtual server, the encapsulated guest key is converted to a protected key. The conversion includes re-encapsulating the encapsulated guest key with the master key to form a protected guest key, which is used as the cryptographic key object.
Citation Information
Patent Citations
Key management for secure memory address spaces
US20170277898A1
Log structured volume encryption for virtual machines
US8996887B2
Addressing trusted execution environment using clean room provisioning
CN110235134A
Method and apparatus for remotely provisioning software-based security coprocessors
US20060256108A1
