摘要 |
The present invention relates to a method and a system for defending memory hacking. The present invention provides a method for defending memory hacking, which can block a variable value of a program executed on a memory from being modulated. The method comprises the steps of: re-defining a variable and the operator of the variable and storing indication information on the re-defined variable and operator in the memory, using a protective library including variable definition information and operator definition information; changing the value of the variable using the re-defined operator; and storing the changed variable value in a data storage unit separated from the memory, wherein the data storage unit is composed of at least one among the Kernel of an operating system (OS) where the program is driven, a graphic card memory (GPGPU), and a library file of the program. By the above configuration, the method and the system for defending memory hacking according to the present invention can fundamentally block memory hacking by controlling a change in a variable value induced by a hacking process. |