Skip to content

huangdengrong/APK_Analysis

Repository files navigation

Callback2Vec-Embedding Based Analyzer for APK Callbacks

Introduction

The event-driven mechanism of mobile applications makes specific code defects and malicious attacks with significant callback characteristics. Due to the complexity and sequentiality of the callback structure, traditional analysis methods fail to take the callback characteristics into consideration, which makes the defect and security problems at the callback level difficult to detect. Aiming at the problem, the project introduces the vector representation technology based on the word embedding from the perspective of intelligent learning, and performs such a context-sensitive numerical vector representation for the callback structure of mobile applications. Afterwards, the correlation mechanism between vector representation and callback characteristics as well as its explanatory meaning is systematically analyzed. Then, based on the embedded vector and analysis results, methods such as intelligent learning, data mining and graph matching are employed to design supervised learning prediction models and unsupervised detection models, respectively. The designed models are then trained to detect callback related code anomalies defects and the malicious structures, and thus compensate for the lack of capacity and effectiveness of the traditional detection methods for mobile applications.

Subjects

AMD malware

(Part of Samples) https://github.com/huangdengrong/My_APK_Analysis_/tree/master/AMD_malware

F-Droid

(Part of Samples) https://github.com/huangdengrong/My_APK_Analysis_/tree/master/F-Droid

Apps from Markets (Reverse Engineering)

(Part of Samples) https://github.com/huangdengrong/My_APK_Analysis_/tree/master/Apps_from_Markets

Extraction of Callback Elements

Callback Datasets

https://github.com/huangdengrong/My_APK_Analysis_/blob/master/simility_analysis/callback_api.csv

Related Elements

https://github.com/huangdengrong/APK_Analysis/blob/master/Table_related_elements.pdf

Middle Extraction

https://github.com/huangdengrong/APK_Analysis/blob/master/Table_middle_abstraction.pdf

Embedding

source code

https://github.com/huangdengrong/My_APK_Analysis_/tree/master/New_Final_APK_Project

Embedded Vectors

https://github.com/huangdengrong/My_APK_Analysis_/blob/master/simility_analysis/my_apk_vector1.csv

Analysis

Similarities

https://github.com/huangdengrong/My_APK_Analysis_/blob/master/simility_analysis/sim_vector_.txt https://github.com/huangdengrong/My_APK_Analysis_/blob/master/simility_analysis/sim_vector.xlsx

Analogies

https://github.com/huangdengrong/My_APK_Analysis_/blob/master/simility_analysis/Analogy_Analisis.txt

Callback Patterns

https://github.com/huangdengrong/My_APK_Analysis_/tree/master/model/amd_model https://github.com/huangdengrong/My_APK_Analysis_/tree/master/model/no_amd_model

Detection and Prediction

Detection for Malicious Structures

Detection for Resource Leak

Prediction for Anomlies of Callbacks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published