Predicting Android Application Security and Privacy Risk with Static Code Metrics
Authors:
- Akond RahmanARAkond Rahman
- Priysha PradhanPPPriysha Pradhan
- Asif ParthoAPAsif Partho
- Laurie WilliamsLWLaurie Williams
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 149-153
Abstract
Android applications pose security and privacy risks for end-users. These risks are often quantified by performing dynamic analysis and permission analysis of the Android applications after release. Prediction of security and privacy risks associated with Android applications at early stages of application development, e.g. when the developer (s) are writing the code of the application, might help Android application developers in releasing applications to end-users that have less security and privacy risk. The goal of this paper is to aid Android application developers in assessing the security and privacy risk associated with Android applications by using static code metrics as predictors. In our paper, we consider security and privacy risk of Android application as how susceptible the application is to leaking private information of end-users and to releasing vulnerabilities. We investigate how effectively static code metrics that are extracted from the source code of Android applications, can be used to predict security and privacy risk of Android applications. We collected 21 static code metrics of 1,407 Android applications, and use the collected static code metrics to predict security and privacy risk of the applications. As the oracle of security and privacy risk, we used Androrisk, a tool that quantifies the amount of security and privacy risk of an Android application using analysis of Android permissions and dynamic analysis. To accomplish our goal, we used statistical learners such as, radial-based support vector machine (r-SVM). For r-SVM, we observe a precision of 0.83. Findings from our paper suggest that with proper selection of static code metrics, r-SVM can be used effectively to predict security and privacy risk of Android applications.Keywords
This publication has 17 references indexed in Scilit:
- Understanding code smells in Android applications2016
- Better Code for Better Apps: A Study on Source Code Quality and Market Success of Android Applications2015
- A Dataset of Open-Source Android Applications2015
- How dangerous is your Android app? An evaluation methodology2014
- An empirical study of cryptographic misuse in android applications2013
- clValid: AnRPackage for Cluster ValidationJournal of Statistical Software, 2008
- Mining metrics to predict component failures2006
- Random ForestsMachine Learning, 2001
- Comparing support vector machines with Gaussian kernels to radial basis function classifiersIEEE Transactions on Signal Processing, 1997
- Fuzzy logic = computing with wordsIEEE Transactions on Fuzzy Systems, 1996