Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
VIRTUAL-MACHINE MEMORY INTEGRITY PROTECTION METHOD, APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2023/123824
Kind Code:
A1
Abstract:
Embodiments of the present disclosure provide a virtual-machine memory integrity protection method, apparatus, electronic device, and storage medium. The virtual-machine memory integrity protection method comprises: when data is written into a DRAM, encrypting the data to obtain a ciphertext; if it is confirmed that an address corresponding to the data to be written is an isolated memory, calculating the MAC value of the ciphertext and storing the ciphertext and the MAC value in the DRAM; when the data is read, decrypting the data to be read to obtain a plaintext; sending the plaintext to the CPU; if it is confirmed that the address corresponding to the data to be read is an isolated memory, then obtaining from the DRAM a stored original MAC value corresponding to the data to be read, calculating a new MAC value of the data to be read, and comparing the original MAC value with the new MAC value; if equal, then indicating that the data is complete, and if not equal, then indicating that the data has been altered and generating an exception signal. Embodiments of the present disclosure can be used for providing memory integrity protection for a memory of a memory isolation-type virtual machine, and the memory data in the virtual machine is prevented from being illicitly altered.

Inventors:
JIANG XIN (CN)
YING ZHIWEI (CN)
LIU ZIXING (CN)
Application Number:
PCT/CN2022/092979
Publication Date:
July 06, 2023
Filing Date:
May 16, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HYGON INFORMATION TECH CO LTD (CN)
International Classes:
G06F21/57
Foreign References:
US20190042796A12019-02-07
CN107562515A2018-01-09
CN114237817A2022-03-25
Attorney, Agent or Firm:
LIU, SHEN & ASSOCIATES (CN)
Download PDF: