Static Analysis Research of Privacy Information Leakin Android Application
- Author
- YuPengYang
- Advisor
- GongYunZhan
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 28
- Citations
- 0
Abstract
The focus on privacy leak of Android Applications is increasing since the continuous improvement of Android system market share. In order to prevent the spread of malicious program leaking privacy information, this paper researches the static detection method of privacy leak and proposes a static source code detection techniques based on the defect mode.This thesis firstly summarizes possible way of privacy leak, and analyzes code features. Then establish the specific detection model, according to the classification of privacy information. We consider the read of different types privacy information as different defects, define the corresponding state machine model, design the corresponding detection algorithm and design the function summary generation algorithm for different types of private information. Android applications are written in Java language, due to the particularity of the field variables in Java. This thesis proposes the concept of field variables summary and integrates it with function summary. After the completion of the above work, the system detects the privacy leak on the control flow graph with the state machine model designed. During the iteration on control flow graph, the system tracks the transitions of the state machine. When the state machine instance comes into "ERROR" state, there is an information leak in the application, and the program will report an error.At last, we use over100open source projects to verify the effectiveness of the program, and analyze the testing result. Our system has strong practical significance in use. If using our system to detect every application before added to application market, the spread of malicious programs that leak privacy information could be cut off from the source.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-13
1.1 Background and Significance 9-10
1.2 Research and Development of domestic 10-11
1.3 contents and structure 11-13
1.3.1 research 11-12
1.3.2 paper structure 12-13
Chapter II Android application structure 13-20
2.1 Android system framework Introduction 13-15
2.2 Android application structure 15-17
2.3 Android application is compiled packaging process 17-20
Chapter III Android leak private information to read and summarized 20-27 classification
3.1 private information reading way 20
3.2 private information leakage pathways 20-23
3.3 private information 23-27
Chapter IV source code based detection framework 27-35
4.1 framework 27-28
4.2 system implementation process 28-35
4.2.1 Android source code pretreatment 28
4.2.2 Android source code is compiled 28-29
4.2.3 generated abstract syntax tree 29-30
4.2.4 generate symbol table 30-31
4.2.5 to generate the control flow graph 31-32
4.2.6 defined using chain - chain generated using the defined 32-33
4.2.7 function call relationship generate 33
4.2.8 Summary function to generate 33-34 <br / > 4.2.9 program automatically detects 34
4.2.10 manual confirmation test results 34-35
Chapter V system key technology 35-52
5.1 privacy leakage state machine model description 35-36
5.2 privacy leak detection process 36-38
5.3 function summaries and abstracts member variables to achieve 38-43
5.3.1 function Summary Introduction 38-39
5.3.2 Summary of common problems 39-41
5.3.3 Summary nbsp member variables ; 41
5.3.4 Summary algorithm 41-43
5.4 iterative detection state machine instance to achieve 43-50
5.4.1 CIL state machine create an instance of controlled flow iterations 43-48
5.4.2 CIL state machine instance 48-50
5.5 special form of leak detection 50-52 <br / > Chapter VI test results of data analysis 52-56
6.1 test preparation 52
6.2 Engineering Test results 52-55
6.3 results analysis 55-56
Chapter VII summary and Outlook 56-58
7.1 paper summarizes 56
7.2 job Outlook 56 - 58
References 58-60
Thanks 60-61
during the study authors published dissertations directory 61
Related dissertations
- Research on Natural Scene Image Text Location Methods and Its Application
- Design and Implementation of Traceability System for the Food Production Based on IOT
- Study on the problems and Countermeasures of the social networking website SNS privacy
- Research on Security of Android Applications
- Research of Risk Detection for Android Application
- Intelligent Voice Question-and-answer System on Mobile Phone About Maternal Care
- Study Band-gap Theory of One-dimensional Function Photonic Crystal
- Research and Implementation of Access Control in Pervasive Computing Based XACML
- Source Code Based Suspicious Code and Bad Programming Practice Detecting
- Research and Implementation of Inter-Procedural Analysis for Java