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

Virtual memory data protection method and system

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

Active Publication Date: 2016-06-08
FUJIAN LANDI COMML EQUIP CO LTD
View PDF7 Cites 8 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
  • Virtual memory data protection method and system
  • Virtual memory data protection method and system
  • Virtual memory data protection method and system

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 write-in function, the address of revising described writing-in function is the address of described legal function; Optionally adopt HOOKAPI technology to intercept or other intercepting technology to realize; Described intercepting module 4 specifically comprises the first The modification unit 41 is used to modify the attribute of the virtual memory disk to be readable and writable; the operation unit...

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

The invention provides a virtual memory data protection method and system. The method comprises the steps of setting an attribute of a virtual memory disk to be a read-only attribute; presetting a legal function and calling the legal function by a legal writing operation of the virtual memory disk; calling a writing function; and intercepting the writing function and modifying an address of the writing function to be an address of the legal function. According to the method and system, a memory data protection wall is established through modifying the attribute of the disk by utilizing a protection principle of the read-write attribute of the virtual memory disk of an operation system, so that the virtual memory data is protected from the source and any illegal writing operation is prohibited; and meanwhile, the data of the virtual memory disk is legally modified or written in a manner of providing a legal access entry, thereby ensuring the implementation of the legal operation and realizing legal modification and writing.

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 HOOKAPI 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 HOOKAPI 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 unab...

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
IPC IPC(8): G06F21/62G06F21/78
CPCG06F21/62G06F21/78
Inventor 张维超
Owner FUJIAN LANDI COMML EQUIP CO LTD