Research Article
[Retracted] Security Hardened and Privacy Preserved Android Malware Detection Using Fuzzy Hash of Reverse Engineered Source Code
Algorithm 4
Extracting intents and permissions in the APK file.
| Input: (i) Malicious Apk file | | Output: Get intents and permissions of APK file | | Steps | (1) | FUNCTION getPermissions (APKFile) | (2) | SET list_of_permission//MF = manifest file | (3) | SET list_of_intents//list_of_permission = P | (4) | FOR all MF belongs to APKFile//list_of_intents = I | (5) | BEGIN | (6) | IF MF = “androidmanifest.xml” | (7) | Read file MF | (8) | P = getPermissions (MF) | (9) | I = getIntents (MF) | (10) | Save list of permissions and intents into an.csv file | (11) | END IF | (12) | EXCEPTION: | (13) | PRINT Error in File | (14) | END FOR |
|