Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and system for protecting virtual memory data

A technology for virtual memory and protection system, applied in the field of virtual memory data protection method and system, can solve problems such as poor memory data protection effect and inability to protect from the root cause, etc.

Active Publication Date: 2019-06-11
FUJIAN LANDI COMML EQUIP CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The above patent application can only detect and back up the virtual memory disk after data tampering may have occurred, and its memory data protection effect is not good, and it cannot be protected from the root cause

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for protecting virtual memory data
  • A method and system for protecting virtual memory data
  • A method and system for protecting virtual memory data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Please refer to Figure 1-4 , providing a virtual memory data protection method, based on the application layer to realize the call of the writing function. Specifically can include:

[0066] In the virtual memory of the windows system process, apply a virtual memory space in the virtual memory through the VirtualAlloc or VirtualAlocEx function as a virtual memory disk to save the virtual memory data. After obtaining the address of the virtual memory disk, use the VirtualProtectEx function to set the protection attribute of this piece of virtual memory space to a read-only attribute; that is, use the protection attribute of the virtual memory space itself to protect the virtual memory disk. When reading attributes, any write operation of the program will cause access violations; this feature can prevent illegal elements from writing to the virtual memory disk, resulting in unpredictable (such as array out of bounds, etc.) errors, resulting in virtual memory data being ...

Embodiment 2

[0072] Please refer to Figure 5 with Image 6 , on the basis of Embodiment 1, this embodiment provides a protection system for virtual memory data, including:

[0073] Setting module 1, which is used to set the attribute of the virtual memory disk as read-only; it can be set by the VirtualProtectEx function;

[0074] The preset module 2 is used to preset a legal function, and the legal write operation of the virtual memory disk calls the legal function;

[0075] Call module 3 for calling the write function;

[0076] Intercepting module 4, is used for intercepting described writing function, and the address of revising described writing function is the address of described legal function; Optionally adopt HOOK API technology interception or other intercepting technology to realize; Described intercepting module 4 specifically includes the first A modifying unit 41 is used to modify the attribute of the virtual memory disk to be readable and writable; an operating unit 42 is...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided are a virtual memory data protection method and system. The method comprises: setting the attribute of a virtual memory disk to be read-only; pre-setting a valid function, and a valid write operation of the virtual memory disk calling the valid function; calling a write function; and intercepting the write function, and modifying an address of the write function to be an address of the valid function. The present invention uses a protection principle of the read-write attribute of a virtual memory disk of an operating system, so as to establish a protection wall for memory data by means of modifying the attribute of the disk, so that virtual memory data is protected from the source, and any invalid write operation is prohibited; and meanwhile, the data of the virtual memory disk is validly modified or written by means of providing a unique valid access entry, the proceeding of a valid writing operation is ensured, and the valid modification and valid write are both realised.

Description

technical field [0001] The invention relates to the field of disk storage, in particular to a method and system for protecting virtual memory data. Background technique [0002] Virtual memory disk refers to using part of the computer memory to simulate a hard disk, and using HOOK API technology to operate on the data in the disk. If an application program wants to call an API function, the application program needs to know the address of the function; the HOOK API technology refers to replacing the address of the API function to be called with the address of another function MyCreateFileW, then whenever the program calls CreateFileW , MyCreateFileW will be called. [0003] In the absence of virtual memory data protection, the program can modify or write virtual memory disk data without permission, including unpredictable errors (such as array out of bounds, etc.), which will directly cause memory The problem of data being illegally modified makes the virtual memory disk u...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/62G06F21/78
CPCG06F21/62G06F21/78
Inventor 张维超
Owner FUJIAN LANDI COMML EQUIP CO LTD