APPARATUS AND METHOD FOR MANAGING APK FILE IN AN ANDROID PLATFORM
First Claim
1. An apparatus for managing an APK file in the Android platform including:
- a file reader that reads an original .dex file in the APK file;
a file modifier that modifies the original .dex file the file reader has read and stores the modified .dex file in a readable folder in the APK file;
a file creator that accesses the folder to read and restore the original .dex file, creates a temporary .dex file that is can be loaded onto memory and adds the temporary .dex file to the APK file in order to create a protected APK file; and
a file executer that reads from the folder and restores, if the Android platform requests the protected APK file to be executed, the modified original .dex file by executing the temporary .dex file and loads the restored original .dex file onto memory in order to execute the protected APK file,wherein the temporary .dex file includes code that accesses, by means of a function the Android platform provides, the folder, reads and restores the modified original .dex file and loads the restored .dex file onto memory.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to an apparatus for managing an APK file in the Android platform in order to forestall an executable file in an APK file from being analyzed by reverse engineering or decompiling that comprises a file reader that reads an original .dex file in the APK file, a file modifier that modifies the original .dex file the file reader has read and stores the modified .dex file in a readable folder in the APK file, a file creator that accesses the folder to read and restore the original .dex file, creates a temporary .dex file that is can be loaded onto memory and adds the temporary .dex file to the APK file in order to create a protected APK file and a file executer that reads from the folder and restores, if the Android platform requests the protected APK file to be executed, the modified original .dex file by executing the temporary .dex file and loads the restored original .dex file onto memory in order to execute the protected APK file.
-
Citations
4 Claims
-
1. An apparatus for managing an APK file in the Android platform including:
-
a file reader that reads an original .dex file in the APK file; a file modifier that modifies the original .dex file the file reader has read and stores the modified .dex file in a readable folder in the APK file; a file creator that accesses the folder to read and restore the original .dex file, creates a temporary .dex file that is can be loaded onto memory and adds the temporary .dex file to the APK file in order to create a protected APK file; and a file executer that reads from the folder and restores, if the Android platform requests the protected APK file to be executed, the modified original .dex file by executing the temporary .dex file and loads the restored original .dex file onto memory in order to execute the protected APK file, wherein the temporary .dex file includes code that accesses, by means of a function the Android platform provides, the folder, reads and restores the modified original .dex file and loads the restored .dex file onto memory. - View Dependent Claims (2)
-
-
3. A method for managing an APK file in the Android platform including:
-
a stage in which a file reader reads an original .dex file in the APK file; a stage in which a file modifier modifies the original .dex file the file reader has read and stores the modified .dex file in a readable folder in the APK file; a stage in which a file creator accesses the folder to read and restore the original .dex file, creates a temporary .dex file that is can be loaded onto memory and adds the temporary .dex file to the APK file in order to create a protected APK file; a stage in which a file executer reads from the folder and restores, if the Android platform requests the protected APK file to be executed, the modified original .dex file by executing the temporary .dex file; and a stage that loads the restored original .dex file onto memory and executes the protected APK file, wherein the stage that creates the protected APK file creates the temporary .dex file creating code that accesses, by means of a function the Android platform provides, the folder, reads and restores the modified original .dex file and loads the restored .dex file onto memory. - View Dependent Claims (4)
-
Specification