Method of encryption and decryption for shared library in open operating system

US9256756B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9256756-B2
Application numberUS-201414188448-A
CountryUS
Kind codeB2
Filing dateFeb 24, 2014
Priority dateDec 31, 2013
Publication dateFeb 9, 2016
Grant dateFeb 9, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method of encryption and decryption for shared libraries in an open operating system is provided. By encrypting a partial portion of an executable and linkable format (ELF) file, where the ELF file is dependent on the shared libraries, an operating system lacking a secret key is not able to use the encrypted ELF file and thus not able to load the shared libraries into the memory for execution, thereby ensuring the protection of the shared libraries.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of encryption for shared libraries in an open operating system, wherein said shared libraries are dependent libraries, said method of encryption performed by the operating system of a computer comprising: providing, by the computer, an executable and linkable format (ELF) file that is dependent on the dependent libraries, said ELF file including an ELF header, at least one program header table and at least one segment, wherein said ELF header includes an identification segment and at least a portion, and said identification segment includes a magic number; and encrypting, by the computer, the portion of said ELF header excluding said identification segment and further encrypting said at least one program header table. 2. The method of encryption as of claim 1 , further comprising: modifying said identification segment so as to generate an updated identification segment. 3. The method of encryption as of claim 1 , wherein said at least one segment includes a dynamic segment (PT_DYNAMIC). 4. The method of encryption as of claim 3 , further comprising: encrypting said dynamic segment (PT_DYNAMIC). 5. The method of encryption as of claim 1 , further comprising the steps of: generating a random number; and encrypting partial portions of said ELF header and said at least one program header table through said random number. 6. The method of encryption as of 5 , further comprising the steps of: providing a string password; performing a hash operation on said string password so as to generate a hash number; and encrypting said random number through said hash number so as to generate an encrypted random number. 7. The method of encryption as of claim 6 , further comprising: storing said hash number in a hardware-based security engine. 8. A method of decryption for shared libraries in an open operating system, said method of decryption performed by the operating system of a computer comprising the steps of: determining, by the computer, that a program to be executed is an encrypted executable and linkable format (ELF) file, where a portion of an ELF header of the ELF file excluding an identification segment is encrypted, and at least one program header table of the said ELF file is encrypted, wherein the identification segment includes a magic number; decrypting, by the computer, the encrypted ELF file through a random number; and restoring, by the computer, the encrypted ELF file to an ELF file that is decrypted. 9. The method of decryption as of claim 8 , further comprising: decrypting an encrypted random number through a hash number so as to generate said random number. 10. The method of decryption as of claim 8 , further comprising the steps of: transmitting an encrypted random number and the encrypted ELF file to a hardware-based security engine; decrypting said encrypted random number through a hash number stored in said hardware-based security engine so as to generate said random number; and returning said ELF file that is decrypted.

Assignees

Inventors

Classifications

  • to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9256756B2 cover?
A method of encryption and decryption for shared libraries in an open operating system is provided. By encrypting a partial portion of an executable and linkable format (ELF) file, where the ELF file is dependent on the shared libraries, an operating system lacking a secret key is not able to use the encrypted ELF file and thus not able to load the shared libraries into the memory for execution…
Who is the assignee on this patent?
Giga Byte Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F21/6209. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 09 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).