Research and analysis of the behavior of malicious code based on Android platform
- Author
- LiYin
- Advisor
- FanMingZuo
- School
- University of Electronic Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TN918.2 Password, machine
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 651
- Citations
- 2
Abstract
3G service has been developing rapidly in China since its launch in2009. Moreusers start to use smart terminals along with the widespread of3G network, meanwhileAndroid begins to predominate the smart phone market due to its openness andcost-effectiveness. Nevertheless, the rapid expansion of Android market shareintroduces malware aiming at Android at an alarming rate, which poses great threats toits users.Some solutions to security issues on Android have been put forward, but most ofthem belong to the traditional static analysis approach, and they cannot analyzemalicious behaviors during the execution of a program. Although few solutions are ableto analyze samples dynamically, they show weaknesses in stability and so forth.According to previous statement, this dissertation proposes an approach byanalyzing Android malware dynamically at virtual machine level, which actively tracksand records the behavior of target program instead of using traditional static analysismethod. Based on the newly-proposed method, a new Android malware behavioranalysis system based on sandbox is proposed, which modifies the Android system andtracks data originated from sensitive sources. Defining data tags in our new system isthe first step, and it is based on the premise of analyzing data sources and applicationinterface libraries that malware frequently uses. And then this dissertation concentrateson how to embed data tags at various object levels, along with transmitting data andtags across programs by Binder IPC mechanism. Finally, a module for extracting tagsfrom data is also constructed, so as to acquire valuable information indicating how datais handled. In addition, a module for exporting logs out of the virtual machine isimplemented as well, which enables recording of sensitive data.To verify the correctness of our system, relevant tests are designed. And twodifferent kinds of Android applications for testing are selected, one is a self-writtenprogram imitating behaviors that malware possesses, such as file operation, sensitivedata access and automatic Internet connection in the background; and others aremalware samples collected online. The self-written sample invokes APIs provided by embedded points, and can present a whole picture of actions that malwares take whencompared with scatterd behaviors of real test samples, thus presents us how data is usedby different samples.Our system can make up for defects that static analysis systems cannot analyzebehaviors of programs at runtime, and is able to track transmissions of sensitive data byanalyzing applications’ behavior at runtime, and therefore is superior to traditional staticanalysis systems. Besides, by building sandbox with emulator, our system is immune todamages caused by malwares, and using tags only in transmission can also minimize theprobability of our sandbox being detected. Finally, embedding tags at virtual machinelevel instead of Linux kernel enables future transplantation, thus it becomes available tooperate on various platforms.
Table of contents
Summary 4-6
ABSTRACT 6-10
Chapter 1 Introduction 10-18
1.1 Background and Significance 10 - 12
1.2 research status 12-15
1.3 thesis work 15-16
1.4 thesis structure 16-18 <br / > Chapter II Android platform malicious code and analysis 18-27
2.1 Android operating system 18-19
2.2 Android security mechanism 19-20 <br / > 2.3 Android platform malicious code classification and hazard 20-23
2.4 Android platform malicious code analysis 23-26
2.4.1 smartphone malware and computer viruses distinction 23
2.4.2 Android platform malicious code analysis 23-26
2.5 Summary 26-27
Chapter III of AMBA -based sandbox designed 27-36
3.1 theoretical foundation 27-29
3.1.1 sandbox technology 27-28
3.1.2 dynamic tracking tags technical 28-29
3.2 AMBA based sandbox principle 29-34
3.2.1 data definitions 29-30
3.2. 2 data tags embedded 30-32
3.2.3 data transfer labels 32-34
3.2.4 data tag extraction 34
3.3 chapter Summary 34-36
Chapter IV of AMBA -based sandbox system design and implementation 36-56
4.1 development environment 36-39
4.1. a development tool 36-37
4.1.2 environment to build 37-39
4.2 system design goals 39-40
4.3 system Architecture 40-41
4.4 system detailed structure 41-53
4.4.1 definitions module 42
4.4.2 tags embedded module 42-50
4.4.3 tag extraction module 50-51
4.4.4 APK analysis module ; 4.5 key Technology Research nbsp 51-53
53 -54
4.6 Summary 54-56
Chapter V system testing and results analysis 56-72
5.1 test environment 56 <br / > 5.2 testing process 56-61
5.2.1 Android source code is compiled 57-60
5.2.2 system image to replace the native 60-61 <br / > 5.2.3 APK install and run 61
5.2.4 logging information 61
5.3 test samples 61-63
5.3.1 from defined sample 62-63
5.3.2 true sample 63
5.4 test results 63-70
5.4.1 custom sample test 63-65
5.4.2 true sample test 65-70
5.4.3 performance test 70
5.5 Summary 70-72
Chapter VI summary and Outlook 72-74
Thanks 74-75
References obtain a Master of attack during the 75-79
research 79-80
Related dissertations
- Attractions Introduction System Based on Android NFC Smartphone
- Design and Implementation of Malicious MMS Interception System for Android Mobile Phone
- Design and Implementation of Security Monitoring System Based on Short Message Service of Android
- Ether-based Dynamic Analysis of Malware
- The Design and Implementation of Virtual Network for Improving Malware Network Behavior Analysis
- Research on Dynamic Malware Analysis Based on Hardware-assisted Virtualization
- Research and Implementation on Malware Behavior Analysis System Based Virtualization
- Research and Implementation of Analysis Tools for Multi-platform Malicious Program Based on Sandbox Technology
- Research and Implementation of Malware Analysis Tool Based on Virtualization
- Research on Topic Map-Based Tag Semantic Mining
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal