A container reinforcement system and reinforcement method for 5G edge computing nodes
By using components such as vTPM modules and physical TPMs in 5G edge computing nodes to measure and verify the trustworthiness of containers, the problem of difficulty in ensuring container security is solved, the trusted startup and operation of containers is realized, and security is improved.
Patent Information
- Application Number
- CN202210945182.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-08-08
AI Technical Summary
It is difficult to ensure the security of containers in 5G networks. Existing reinforcement solutions have problems such as poor isolation and vulnerable key management, making containers easily tampered with during runtime.
Using components such as the vTPM module, physical TPM, container manager, and vTPM manager, the physical TPM performs trustworthiness measurement and verification on the container. The vTPM module performs trustworthiness measurement regularly when the container is running, and builds a trust chain to ensure the trustworthiness of the container. Get up and running.
It realizes the trusted startup and operation of the container, improves the security of the container, prevents the container and its operating environment from being tampered with, and constructs a complete chain of trust to ensure the trustworthiness and security of the container.
Smart Images

Figure CN115314495B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network information security technology, and in particular to a container reinforcement system and reinforcement method for 5G edge computing nodes. Background Art
[0002] Mobile Edge Computing (MEC) is a key technology in 5G networks. Its basic idea is to migrate cloud computing service capabilities from the mobile core network to the edge of the mobile access network to achieve flexible use of computing and storage resources. With the continuous development and widespread application of cloud computing technology, virtualization technology has become increasingly important. Container technology has been favored by more and more users due to its advantages such as low resource usage and low susceptibility to environmental factors. Therefore, containers have also been widely used in MEC.
[0003] One of the main obstacles to container application deployment is the security issues it faces. Container images and their internal programs may be maliciously tampered with by attackers at runtime by exploiting vulnerabilities. Attackers may gain access privileges to running containers and launch attacks by modifying service configurations and binary files, launching malicious scripts, or starting new processes. Therefore, it is necessary to solve the problem of trusted startup and secure operation of containers and images.
[0004] Currently, there are several solutions for container reinforcement in 5G networks:
[0005] (1) Relying on the security of the Linux kernel, the namespace mechanism and the control group (Cgroups) mechanism are used to implement container isolation and resource access restrictions respectively. However, the isolation mechanism is too weak and container overflow will lead to unauthorized communication between the container and the outside world.
[0006] (2) Using the software implementation of virtualized TPM (Virtual Trusted Platform Module, vTPM), the vTPM and the vTPM manager are stored in a privileged container, and a vTPM adapter is set in the ordinary container to communicate with the vTPM manager in the privileged container. However, due to the poor isolation between containers, the privileged container is vulnerable to attack.
[0007] (3) Provide key management of the virtual trusted platform module based on the trusted root server for the container. However, since the keys are directly distributed by the vTPM manager, they can be easily intercepted by attackers. Summary of the invention
[0008] Therefore, in order to solve the problems existing in the prior art, the present invention provides a container reinforcement system and reinforcement method for 5G edge computing nodes. By reinforcing the container system in the 5G edge computing node, it can ensure that the startup and operation of the container are reliable, thereby improving the security of the container.
[0009] In a first aspect, the container reinforcement system for 5G edge computing nodes provided by the present invention includes: a vTPM module, a physical TPM, a container manager, a vTPM manager, a MEC controller and a host machine, wherein:
[0010] Physical TPM, which is set on the host machine and is used to encrypt and password-protect data. The MEC controller is used to store keys and certificates issued for the physical TPM.
[0011] The container manager is used to measure and verify the trust of the container startup through the physical TPM;
[0012] The vTPM module is set in the container to implement integrity measurement of the container image and trusted startup of the container, and to periodically perform trusted measurement of the runtime file system and process of the container;
[0013] The host operating system kernel is provided with a vTPM manager and a measurement value reference library of the vTPM module, wherein the vTPM manager is used to manage the vTPM modules of each container.
[0014] In one embodiment, the vTPM module includes a vPCR submodule, a key storage submodule, and a measurement timer, wherein:
[0015] The vPCR submodule is used to store the measurement values for the trusted measurement of the container's file system and processes;
[0016] A key sub-storage module, used to store a vTPM manager send key, a vAIK certificate, and a vAIK key;
[0017] Metrics timer, used to set the interval for measuring the container's file system and processes.
[0018] In one embodiment, the container manager is provided with a container HASH reference value library and a key storage library. The container HASH reference value library is used to store HASH reference values and encrypted HASH reference values; the key storage library is used to store keys generated by the physical TPM for the container.
[0019] In a second aspect, the present invention further provides a container reinforcement method for a 5G edge computing node, based on the container reinforcement system for a 5G edge computing node described in the first aspect, comprising:
[0020] The container manager uses the physical TPM to measure and verify the startup of the container.
[0021] After the container achieves trusted boot, the vTPM module is bound to the physical TPM;
[0022] When the container is running, the vTPM module regularly performs trust measurements on the container's file system and processes.
[0023] In one embodiment, before the container manager performs trust measurement and verification on the startup of the container through the physical TPM, it also includes: performing security initialization on the reinforcement system, and the process includes: the MEC controller, as a trusted third party, issues an AIK key and its certificate CAIK to the physical TPM;
[0024] When the host is initialized and started, the physical TPM performs trusted startup measurement, and the system status is recorded in the PCR inside the physical TPM;
[0025] The container manager starts, obtains the container image and container HASH value, and stores the HASH value as the container HASH reference value in the container HASH reference value library;
[0026] After the container manager obtains the container HASH value, it calls the encryption interface of the physical TPM to obtain the encryption key, encrypts the HASH value and stores it;
[0027] When the encryption interface is called, the container manager sends the container ID to the physical TPM, and the physical TPM generates a pair of asymmetric keys for it based on the container ID;
[0028] The physical TPM generates a key for the container, one of which is sent to the container manager, and the other is stored in the physical TPM and is only used by the physical TPM.
[0029] In one embodiment, the process of trusted startup of a container includes:
[0030] When the container image is started, the container manager calls the interface provided by the physical TPM to perform HASH calculation on the container image;
[0031] After the HASH calculation is completed, the HASH value, the encrypted container HASH reference value in the container HASH reference value library, and the container ID are sent to the physical TPM for comparison to determine whether the container image is trustworthy;
[0032] The physical TPM queries the previously stored key based on the container ID, decrypts the container HASH reference value, and compares the decrypted container HASH reference value with the HASH value just calculated;
[0033] If the comparison results are consistent, the container is started in a trusted manner, otherwise it is not started;
[0034] The physical TPM signs the comparison result and returns it to the container manager.
[0035] In one embodiment, the process of binding the vTPM module to the physical TPM includes:
[0036] Step S31: the vTPM module applies for an encryption key from the vTPM manager through the container manager, with the container ID included in the request;
[0037] Step S32: the vTPM manager allocates a pair of asymmetric encryption keys to the vTPM module according to the container ID, including: an encrypted public key and an encrypted private key, and sends the encrypted private key to the vTPM module, and the vTPM module stores the private key in the key sub-storage module;
[0038] Step S33: the vTPM module requests the vTPM manager to connect to the physical TPM, and the request includes the container ID and a randomly generated random number nonce;
[0039] Step S34: the vTPM manager sends the container ID to the physical TPM;
[0040] Step S35: The physical TPM creates a vAIK key and certificate CvAIK for the vTPM module and returns it to the vTPM manager, and the vTPM manager encrypts it using the encryption public key;
[0041] Step S36: The vTPM module uses the encrypted private key to decrypt the information returned by the physical TPM and checks the freshness of the random number nonce to decide whether to accept the vAIK certificate and vAIK key. If accepted, they are stored in the key sub-storage module.
[0042] In one embodiment, after the vTPM module is bound to the physical TPM, when the container is started for the first time, the vTPM module can measure the file system and process of the running container and store the measurement results in the container runtime measurement value benchmark library.
[0043] In one embodiment, the container runtime measurement value reference library is in the vTPM manager, and when the vTPM module sends the container runtime measurement value to the vTPM manager, the measurement value data is signed with the certificate CvAIK.
[0044] In one embodiment, the process of the vTPM module periodically performing trust measurement on the file system and process of the container includes:
[0045] Step S41: the vTPM module measures the file system and process of the container according to the time interval set by the measurement timer, and stores the measurement value in the vPCR;
[0046] Step S42: If the running status of the container needs to be verified, the vTPM module sends the measurement value stored in the vPCR to the vTPM manager, and compares it with the benchmark value in the container runtime measurement value benchmark library. If the comparison results are equal, wait for the next measurement of the file system until the container is deleted;
[0047] Step S43: If the comparison result is not equal, it means that the container file system has been tampered with and an operation judgment is required;
[0048] Step S44: If the file system is legally updated, the baseline value is modified through administrator authentication, and steps S42 to S43 are repeated;
[0049] Step S45: If the administrator authentication is not passed, it is recorded as an illegal change and the container is suspended.
[0050] The technical solution of the present invention has the following advantages:
[0051] 1. A container reinforcement system for 5G edge computing nodes provided by an embodiment of the present invention comprises a vTPM module, a physical TPM, a container manager, a vTPM manager, an MEC controller and a host machine, wherein the container manager performs trust measurement and verification on the startup of the container through the physical TPM, and the vTPM module periodically performs trust measurement on the runtime file system and process of the container when the container is running. By respectively performing trust measurement on the startup and runtime of the container, the container in the 5G edge computing node is reinforced, which can ensure that the startup and operation of the container are trustworthy and improve the security of the container.
[0052] 2. In the container reinforcement method for 5G edge computing nodes provided by the embodiment of the present invention, the container manager performs trust measurement and verification on the startup of the container through the physical TPM. After the container realizes trusted startup, the vTPM module is bound to the physical TPM. When the container is running, the vTPM module regularly performs trust measurement on the file system and process of the container, and can construct a complete trust chain from the host machine to the container manager and finally to the container startup, ensuring the trusted startup of the container, and can dynamically measure the file system when the container is running, so as to realize the reinforcement of the container in the 5G edge computing node, prevent the container itself and its running environment from being tampered with, and ensure the trust and security of the container when running. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 It is a structural schematic diagram of an example of a container reinforcement system for a 5G edge computing node proposed in an embodiment of the present invention;
[0055] Figure 2 It is a flowchart of an example of a container reinforcement method for 5G edge computing nodes proposed in an embodiment of the present invention;
[0056] Figure 3 is a flow chart of a process of securely initializing a container reinforcement system proposed in an embodiment of the present invention;
[0057] Figure 4 is a flow chart of a trusted startup process of a container proposed in an embodiment of the present invention;
[0058] Figure 5 is a flow chart of a process of binding a vTPM module to a physical TPM according to an embodiment of the present invention;
[0059] Figure 6 It is a flowchart of a process in which a vTPM module according to an embodiment of the present invention periodically performs trust measurement on a file system and a process of a container. DETAILED DESCRIPTION
[0060] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] Example 1
[0062] Figure 1 This is a block diagram of a container reinforcement system for 5G edge computing nodes proposed according to an embodiment of the present invention (in actual applications, multiple containers may be included. Figure 1Taking two containers as an example), it includes: vTPM module, vTPM manager, container manager, MEC controller, physical TPM and host machine, among which: physical TPM, set on the host machine, is used to encrypt and password protect data, and MEC controller is used to store keys and certificates issued for physical TPM; container manager, used to perform trusted measurement and verification of container startup through physical TPM; vTPM module, set in the container, is used to achieve integrity measurement of container image and trusted startup of container, and regularly perform trusted measurement of runtime file system and process of container; vTPM manager and vTPM module measurement value benchmark library are set in the host machine operating system kernel, among which vTPM manager is used to manage vTPM modules of each container. In actual application, vTPM manager communicates securely with physical TPM through TPM specification interface.
[0063] It should be noted that the physical TPM in the embodiment of the present invention is a Trusted Platform Module (TPM) security chip, which can effectively protect the PC, prevent illegal users from accessing, and realize security functions such as data encryption and password protection. Inside the physical TPM, there is a Platform Configuration Register (PCR) which is a register used to record the system operation status. Its value can only be changed through an extension operation, which is irreversible. Through extension, PCR can record an infinitely long column of measurement values. This series of measurement values reflects the change of the system state. If a certain measurement value in this extended sequence is changed, the subsequent measurement sequence will be affected. The platform status information can be placed in the form of a log in the measurement log file outside the physical TPM. PCR records the summary of the measurement log information through extension, so as to verify the measurement log later, thereby confirming whether the system is trustworthy.
[0064] The vTPM (Virtual Trusted Platform Module, vTPM) module is a software-based representation of the physical trusted platform module, providing hardware-based security-related functions such as random number generation, attestation, key generation, etc. The vTPM module is included with the container image. After being added to the virtual machine, the vTPM module enables the host operating system to create and store private keys. These keys are not disclosed to the host operating system itself, so the attack surface of the virtual machine is reduced. Usually, for a host operating system whose security is compromised, the security of its keys will also be compromised, but enabling TPM can greatly reduce this risk, and only the host operating system can use these keys for encryption or signing.
[0065] In an embodiment of the present invention, the vTPM module includes a vPCR submodule, a key storage submodule, and a timer module, wherein: the vPCR submodule is used to store the measurement value of the trusted measurement of the container's file system and process; the key sub-storage module is used to store the key sent by the vTPM manager, as well as the vAIK certificate and the vAIK key; the measurement timer is used to set the time interval for measuring the container's file system and process. The vTPM manager of the embodiment of the present invention manages the vTPM modules of each container, ensures the isolation of the vTPM modules, and ensures the secure communication between the vTPM modules and the physical TPM.
[0066] In the container manager of the embodiment of the present invention, a container HASH reference value library and a key storage library are provided, which are used to store HASH reference values and encrypted HASH reference value key storage libraries, and are used to store keys generated by the physical TPM for the container.
[0067] Based on the container reinforcement system for 5G edge computing nodes provided by the embodiment of the present invention, the container manager is used to perform trust measurement and verification on the startup of the container through the physical TPM, and the vTPM module periodically performs trust measurement on the runtime file system and process of the container when the container is running. Trust measurement of the startup and runtime of the container is performed by trusted computing technology, and the containers in the power-based 5G edge computing nodes are reinforced, which can ensure the trustworthiness of the startup and operation of the container and improve the security of the container.
[0068] Example 2
[0069] Based on the container reinforcement system for 5G edge computing nodes described in Example 1, an embodiment of the present invention provides a container reinforcement method for 5G edge computing nodes, such as Figure 2 As shown, including:
[0070] Step S1: The container manager performs trust measurement and verification on the startup of the container through the physical TPM.
[0071] Step S2: After the container achieves trusted boot, the vTPM module is bound to the physical TPM.
[0072] Step S3: When the container is running, the vTPM module periodically performs trust measurement on the file system and process of the container.
[0073] In the embodiment of the present invention, the operating system of the host machine is a Linux system, and a vTPM manager is added to the Linux kernel. This is only taken as an example and is not limited to this. Other operating systems may also be used to introduce a vTPM manager into the operating system of the host machine. The vTPM module is carried by the container image. When the container is started, the vTPM module is started first to implement the startup measurement of the container and the binding with the physical TPM, and construct a complete trust chain from the host machine to the container manager and finally to the container startup, so as to ensure the trusted startup of the container and prevent the container itself and its running environment from being tampered with; the file system when the container is running can be measured to ensure the trustworthiness and security of the container when it is running.
[0074] In one embodiment, before the container manager performs trust measurement and verification on the startup of the container through the physical TPM, it also includes: performing security initialization on the hardened system, and the process includes: Figure 3 As shown, including:
[0075] Step S11: The MEC controller, as a trusted third party, issues an AIK key and its certificate CAIK to the physical TPM.
[0076] Step S12: When the host machine is initialized and started, the physical TPM performs trusted startup measurement, and the system status is recorded in the PCR inside the physical TPM.
[0077] Step S13: The container manager is started, and the container image and the container HASH value are obtained, and the HASH value is stored as the container HASH reference value in the container HASH reference value library.
[0078] Step S14: After the container manager obtains the container HASH value, it calls the encryption interface of the physical TPM to obtain the encryption key, and then encrypts the HASH value and stores it.
[0079] Step S15: When the encryption interface is called, the container manager sends the container ID to the physical TPM, and the physical TPM generates a pair of asymmetric keys for the container according to the container ID.
[0080] Step S16: The physical TPM generates a key for the container, one of which is sent to the container manager, and the other is stored in the physical TPM and is only used by the physical TPM.
[0081] By safely initializing the container hardening system, a benchmark value is provided for subsequent dynamic measurement.
[0082] Specifically, the trusted startup process of the container in step S2 is as follows: Figure 4 As shown, including:
[0083] Step S21: When the container image is started, the container manager calls the interface provided by the physical TPM to perform HASH calculation on the container image.
[0084] Step S22: After the HASH calculation is completed, the HASH value, the encrypted container HASH reference value in the container HASH reference value library, and the container ID are sent to the physical TPM for comparison to determine whether the image is credible.
[0085] Step S23: The physical TPM queries the previously stored key according to the container ID, decrypts the container HASH reference value, and compares the decrypted container HASH reference value with the HASH value just calculated.
[0086] Step S24: If the comparison result is consistent, the container is started in a trusted manner, otherwise it is not started;
[0087] Step S25: The physical TPM signs the comparison result and returns it to the container manager.
[0088] It should be noted that since the vTPM manager is set in the host operating system kernel, if the host implements trusted boot, the vTPM manager is considered to be trusted.
[0089] In the embodiment of the present invention, after the container is started, the vTPM manager helps the vTPM module to complete the binding with the underlying physical TPM; after the binding is completed, when the container is started for the first time, the vTPM module can measure the file system and process of the running container, and store the measurement results in the container runtime measurement value benchmark library, which is in the vTPM manager. When the vTPM module sends the container runtime measurement value to the vTPM manager, the measurement value data is signed with the certificate CvAIK.
[0090] In the embodiment of the present invention, the process of binding the vTPM module with the physical TPM in step S3 is as follows: Figure 5 As shown, including:
[0091] Step S31: the vTPM module applies for an encryption key from the vTPM manager through the container manager, with the container ID included in the request;
[0092] Step S32: the vTPM manager allocates a pair of asymmetric encryption keys to the vTPM module according to the container ID, including: an encryption public key Kpub and an encryption private key Kprv, and sends the encryption private key Kprv to the vTPM module, and the vTPM module stores the private key in the key sub-storage module;
[0093] Step S33: the vTPM module requests the vTPM manager to connect to the physical TPM, and the request includes the container ID and a randomly generated random number nonce;
[0094] Step S34: the vTPM manager sends the container ID to the physical TPM;
[0095] Step S35: The physical TPM creates a vAIK key and certificate CvAIK for the vTPM module and returns it to the vTPM manager, and the vTPM manager encrypts it using the encryption public key;
[0096] Step S36: The vTPM module uses the encrypted private key to decrypt the information returned by the physical TPM and checks the freshness of the random number nonce to decide whether to accept the vAIK certificate and vAIK key. If accepted, they are stored in the key sub-storage module.
[0097] It should be noted that checking the freshness of the random number nonce refers to detecting whether the generation time of the random number nonce is close to or consistent with the time of binding the physical TPM and the vTPM module this time. If it belongs to this binding, the MEC controller is accepted as a trusted third party to issue the AIK key and its certificate CAIK to the physical TPM.
[0098] In the embodiment of the present invention, in step S4, the vTPM module periodically performs a trust measurement on the file system and process of the container, such as Figure 6 As shown, including:
[0099] Step S41: the vTPM module measures the file system and process of the container according to the time interval set by the measurement timer, and stores the measurement value in the vPCR;
[0100] Step S42: If the running status of the container needs to be verified, the vTPM module sends the measurement value stored in the vPCR to the vTPM manager, and compares it with the benchmark value in the container runtime measurement value benchmark library. If the comparison results are equal, wait for the next measurement of the file system until the container is deleted;
[0101] Step S43: If the comparison result is not equal, it means that the container file system has been tampered with, and it is necessary to determine whether it is a legal operation;
[0102] Step S44: If the file system is legally updated, the baseline value is modified through administrator authentication, and steps S42 to S43 are repeated;
[0103] Step S45: If the administrator authentication is not passed, it is recorded as an illegal change and the container is suspended.
[0104] In the embodiment of the present invention, the container runtime measurement value reference library is in the vTPM manager, and when the vTPM module sends the runtime measurement value, the data is signed with the vAIK.
[0105] The container reinforcement method for 5G edge computing nodes provided by the embodiment of the present invention can construct a complete trust chain from the host machine to the container manager and finally to the container startup, ensure the trusted startup of the container, prevent the container itself and its running environment from being tampered with, and dynamically measure the file system when the container is running to ensure the trustworthiness and security of the container when it is running.
[0106] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A container reinforcement method for 5G edge computing nodes, based on a container reinforcement system for 5G edge computing nodes, the system comprising: The MEC controller and the host machine, the container manager, the vTPM manager, the physical TPM, and the vTPM module, wherein the method comprises: The MEC controller acts as a trusted third party to issue the AIK key and its certificate CAIK to the physical TPM; When the host is initialized and started, the physical TPM performs trusted startup measurement, and the system status is recorded in the PCR inside the physical TPM; The container manager starts, obtains the container image and container HASH value, and stores the HASH value as the container HASH reference value in the container HASH reference value library; After the container manager obtains the container HASH value, it calls the encryption interface of the physical TPM to obtain the encryption key, encrypts the HASH value and stores it; When the encryption interface is called, the container manager sends the container ID to the physical TPM, and the physical TPM generates a pair of asymmetric keys for it based on the container ID; The physical TPM generates a key for the container, one of which is sent to the container manager and the other is stored in the physical TPM and is only used by the physical TPM. The container manager uses the physical TPM to measure and verify the startup of the container. After the container achieves trusted boot, the vTPM module is bound to the physical TPM; When the container is running, the vTPM module regularly performs trust measurements on the container's file system and processes.
2. The container reinforcement method for 5G edge computing nodes according to claim 1 is characterized in that: The trusted startup process of a container includes: When the container image is started, the container manager calls the interface provided by the physical TPM to perform HASH calculation on the container image; After the HASH calculation is completed, the HASH value, the encrypted container HASH reference value in the container HASH reference value library, and the container ID are sent to the physical TPM for comparison to determine whether the container image is trustworthy; The physical TPM queries the previously stored key based on the container ID, decrypts the container HASH reference value, and compares the decrypted container HASH reference value with the HASH value just calculated; If the comparison results are consistent, the container is started in a trusted manner, otherwise it is not started; The physical TPM signs the comparison result and returns it to the container manager.
3. The container reinforcement method for 5G edge computing nodes according to claim 1 is characterized in that: The process of binding the vTPM module to the physical TPM includes: Step S31: the vTPM module applies for an encryption key from the vTPM manager through the container manager, with the container ID included in the request; Step S32: the vTPM manager allocates a pair of asymmetric encryption keys to the vTPM module according to the container ID, including: an encrypted public key and an encrypted private key, and sends the encrypted private key to the vTPM module, and the vTPM module stores the private key in the key sub-storage module; Step S33: the vTPM module requests the vTPM manager to connect to the physical TPM, and the request includes the container ID and a randomly generated random number nonce; Step S34: the vTPM manager sends the container ID to the physical TPM; Step S35: The physical TPM creates a vAIK key and certificate CvAIK for the vTPM module and returns it to the vTPM manager, and the vTPM manager encrypts it using the encryption public key; Step S36: The vTPM module uses the encrypted private key to decrypt the information returned by the physical TPM and checks the freshness of the random number nonce to decide whether to accept the vAIK certificate and vAIK key. If accepted, they are stored in the key sub-storage module.
4. The container reinforcement method for 5G edge computing nodes according to claim 3 is characterized in that: After the vTPM module is bound to the physical TPM, the container is started for the first time. The vTPM module can measure the file system and process of the running container and store the measurement results in the container runtime measurement value benchmark library.
5. The container reinforcement method for 5G edge computing nodes according to claim 4 is characterized in that: The container runtime measurement value benchmark library is in the vTPM manager. When the vTPM module sends the container runtime measurement value to the vTPM manager, the measurement value data is signed with the certificate CvAIK key.
6. The container reinforcement method for 5G edge computing nodes according to claim 5 is characterized in that: The vTPM module periodically measures the trustworthiness of the container's file system and processes, including: Step S41: the vTPM module measures the file system and process of the container according to the time interval set by the measurement timer, and stores the measurement value in the vPCR; Step S42: If the running status of the container needs to be verified, the vTPM module sends the measurement value stored in the vPCR to the vTPM manager, and compares it with the benchmark value in the container runtime measurement value benchmark library. If the comparison results are equal, wait for the next measurement of the file system until the container is deleted; Step S43: If the comparison result is not equal, it means that the container file system has been tampered with and an operation judgment is required; Step S44: If the file system is legally updated, the baseline value is modified through administrator authentication, and steps S42 to S43 are repeated; Step S45: If the administrator authentication is not passed, it is recorded as an illegal change and the container is suspended.
