Protection method and protection system for executable files and shared libraries
AssigneeQnap Systems, Inc.
InventorChin-Hsing HSU
Life of this patent
Estimating the term…
Abstract
A protection method for executable files and shared libraries and a corresponding protection system are provided, which encrypt a part of contents of an executable file or a shared library, decrypt the part of contents in real time when the executable file or the shared library is executed, and prohibit the execution of the encrypted contents of the executable file or the shared library by a debugged process, so as to prevent attackers from obtaining the part of contents of the executable file or the shared library.
Claims10
A protection method for executable files and shared libraries, executed by at least one processor of an electronic device in an operating system of the electronic device, and the protection method comprising:
- determining, by the electronic device, whether a first process is being debugged or is formed by execution of a second executable file;
- if the first process is being debugged and is about to execute a first executable file that is encrypted, prohibiting the first process from executing the first executable file;
- if the first process is being debugged and is about to perform memory mapping on a shared library that is encrypted, prohibiting the first process from performing the memory mapping on the shared library;
- and
- if the first process is formed by the execution of the second executable file, the second executable file is encrypted, and a second process is about to debug the first process, prohibiting the second process from debugging the first process.
Dependencies are inferred from the claim text.