US2018011997A1PendingUtilityA1

Application Code Hiding Apparatus by Modifying Code in Memory and Method of Hiding Application Code Using the Same

Assignee: KSIGN CO LTDPriority: Jul 11, 2016Filed: Jul 11, 2017Published: Jan 11, 2018
Est. expiryJul 11, 2036(~10 yrs left)· nominal 20-yr term from priority
G06F 8/40G06F 2221/031G06F 21/125G06F 21/78H04L 9/3242G06F 2211/007G06F 2221/033G06F 21/14G06F 2212/1052G06F 8/30G06F 8/74G06F 12/1408G06F 8/53G06F 8/441H04L 9/3226
41
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

An application code hiding apparatus includes a secret code dividing part, a secret code caller generating part, a code analyzing part, a dummy code generating part, a code encrypting part, a code disposing part, a code decryptor generating part, a disposed code importer generating part, a code loader generating part, a memory inner code modifier generating part and a decrypted code caller generating part.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . An application code hiding apparatus comprising:
 a secret code dividing part dividing an application code into a secret code and a normal code except for the secret code;   a secret code caller generating part generating a secret code caller calling the secret code;   a code analyzing part analyzing the secret code;   a dummy code generating part generating the dummy code corresponding to the secret code;   a code encrypting part encrypting the secret code;   a code disposing part disposing the dummy code and the encrypted secret code and generating position information of the dummy code and the encrypted secret code;   a code decryptor generating part generating a code decryptor decrypting the encrypted secret code;   a disposed code importer generating part generating a disposed code importer transmitting the dummy code and the encrypted secret code using the position information of the dummy code and the encrypted secret code;   a code loader generating part generating a code loader loading the dummy code on a memory;   a memory inner code modifier generating part generating a memory inner code modifier substituting the decrypted secret code for the dummy code loaded on the memory; and   a decrypted code caller generating part generating a decrypted code caller calling the decrypted secret code which is substituted on the memory.   
     
     
         2 . The application code hiding apparatus of  claim 1 , wherein the code analyzing part divides the secret code into a plurality of sub secret codes. 
     
     
         3 . The application code hiding apparatus of  claim 2 , wherein the dummy code generating part generates a plurality of sub dummy codes corresponding to the divided sub secret codes. 
     
     
         4 . The application code hiding apparatus of  claim 2 , wherein the code analyzing part divides the secret code into the sub secret codes in a unit of class. 
     
     
         5 . The application code hiding apparatus of  claim 1 , wherein the dummy code has a signature same as a signature of the secret code, and
 the dummy code has an operation code different from an operation code of the secret code.   
     
     
         6 . The application code hiding apparatus of  claim 1 , wherein a length of the dummy code is equal to or greater than a length of the secret code corresponding to the dummy code. 
     
     
         7 . The application code hiding apparatus of  claim 1 , wherein the code decryptor generated by the code decryptor generating part, the disposed code importer generated by the disposed code importer generating part, the code loader generated by the code loader generating part, the memory inner code modifier generated by the memory inner code modifier generating part and the decrypted code caller generated by the decrypted code caller generating part are disposed in a native code area. 
     
     
         8 . The application code hiding apparatus of  claim 7 , wherein the normal code and the secret code caller are disposed in a byte code area. 
     
     
         9 . The application code hiding apparatus of  claim 8 , wherein the encrypted secret code and the dummy code are respectively disposed in one of the native code area, the byte code area, a resources area of an application data area and an assets area of the application data area. 
     
     
         10 . The application code hiding apparatus of  claim 9 , wherein the encrypted secret code and the dummy code are disposed in different areas from each other in one of the native code area, the byte code area, the resources area of the application data area and the assets area of the application data area. 
     
     
         11 . The application code hiding apparatus of  claim 1 , wherein when the normal code is being executed, the secret code caller calls the secret code,
 when the secret code is called, the disposed code importer transmits the dummy code corresponding to the secret code to the code loader and the encrypted secret code to the code decryptor,   the code loader loads the dummy code on the memory, the code decryptor decrypts the encrypted secret code and transmits the decrypted secret code to the memory inner code modifier, and   the memory inner code modifier substitutes the decrypted secret code for the dummy code in the memory.   
     
     
         12 . The application code hiding apparatus of  claim 11 , wherein the decrypted code caller calls the secret code substituted on the memory such that the secret code is operated and stores an execution result of the secret code,
 after the secret code is executed, the disposed code importer transmits the dummy code to the memory inner code modifier,   the memory inner code modifier substitutes the dummy code for the secret code, and   the decrypted code caller transmits the stored execution result of the secret code to the normal code.   
     
     
         13 . A method of hiding an application code, the method comprising:
 dividing the application code into a secret code and a normal code except for the secret code;   generating a secret code caller calling the secret code;   analyzing the secret code;   generating a dummy code corresponding to the secret code;   encrypting the secret code;   disposing the dummy code and the encrypted secret code and generating position information of the dummy code and the encrypted secret code;   generating a code decryptor decrypting the encrypted secret code;   generating a disposed code importer transmitting the dummy code and the encrypted secret code using the position information of the dummy code and the encrypted secret code;   generating a code loader loading the dummy code on a memory;   generating a memory inner code modifier substituting the decrypted secret code for the dummy code loaded on the memory; and   generating a decrypted code caller calling the decrypted secret code which is substituted on the memory.   
     
     
         14 . The method of  claim 13 , wherein the analyzing the secret code comprises dividing the secret code into a plurality of sub secret codes. 
     
     
         15 . The method of  claim 14 , wherein the generating the dummy code comprises generating a plurality of sub dummy codes corresponding to the divided sub secret codes. 
     
     
         16 . The method of  claim 13 , wherein a length of the dummy code is equal to or greater than a length of the secret code corresponding to the dummy code. 
     
     
         17 . The method of  claim 13 , further comprising:
 when the normal code is being executed, calling the secret code using the secret code caller;   when the secret code is called, transmitting the dummy code corresponding to the secret code to the code loader and the encrypted secret code to the code decryptor using the disposed code importer;   loading the dummy code on the memory using the code loader;   decrypting the encrypted secret code and transmitting the decrypted secret code to the memory inner code modifier using the code decryptor, and   substituting the decrypted secret code for the dummy code in the memory using the memory inner code modifier.   
     
     
         18 . The method of  claim 17 , further comprising:
 calling the secret code substituted on the memory such that the secret code is operated and storing an execution result of the secret code using the decrypted code caller;   after the secret code is executed, transmitting the dummy code to the memory inner code modifier using the disposed code importer;   substituting the dummy code for the secret code using the memory inner code modifier; and   transmitting the stored execution result of the secret code to the normal code using the decrypted code caller.

Join the waitlist — get patent alerts

Track US2018011997A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.