A fine-grained approach for Android taint analysis based on labeled taint value graphs

被引:0
|
作者
Xiang, Dongming [1 ]
Lin, Shuai [1 ]
Huang, Ke [2 ]
Ding, Zuohua [1 ]
Liu, Guanjun [3 ,4 ]
Li, Xiaofeng [5 ,6 ]
机构
[1] Zhejiang Sci Tech Univ, Sch Comp Sci & Technol, Hangzhou 310000, Zhejiang, Peoples R China
[2] Zhejiang Petr Comprehens Energy Sales Co Ltd, Jinhua 321013, Zhejiang, Peoples R China
[3] Tongji Univ, Key Lab Embedded Syst & Serv Comp, Dept Comp Sci, Minist Educ, Shanghai 200092, Peoples R China
[4] Tongji Univ, Shanghai Elect Transact & Informat Serv, Collaborat Innovat Ctr, Shanghai 200092, Peoples R China
[5] Beijing Inst Control Engn, Beijing 100094, Peoples R China
[6] Northwestern Polytech Univ, Sch Software, Xian 710129, Shanxi, Peoples R China
关键词
Static taint analysis; Android security; Vulnerability detection; Fine-grained analysis;
D O I
10.1016/j.cose.2024.104162
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Static taint analysis is a widely used method to identify vulnerabilities in Android applications. However, the existing tools for static analysis often struggle with processing times, particularly when dealing with complex real-world programs. To reduce time consumption, some tools choose to sacrifice analytical precision, e.g., FastDroid sets an upper limit for analysis iterations in Android applications. In this paper, we propose a labeled taint value graph (LTVG) to store taint flows, and implement a fine-grained analysis tool called LabeledDroid. This graph is constructed based on the taint value graph (TVG) of FastDroid, and takes into account both precision and time consumption. That is, we decompile an Android app into Jimple statements, develop finegrained propagation rules to handle List, and construct LTVGs according to these rules. Afterwards, we traverse LTVGs to obtain high-precision taint flows. An analysis of 39 apps from the TaintBench benchmark shows that LabeledDroid is 0.87 s faster than FastDroid on average. Furthermore, if some common accuracy parameters are adapted in both LabeledDroid and FastDroid, the experiment demonstrates that the former is more scalable. Moreover, the maximum analysis time of LabeledDroid is less than 200 s and its average time is 46.25 s, while FastDroid sometimes experiences timeouts with durations longer than 600 s. Additionally, LabeledDroid achieves a precision of 70% in handling lists, while FastDroid and TaintSA achieve precisions of 38.9% and 41.2%, respectively.
引用
收藏
页数:11
相关论文
共 50 条
  • [41] A Meta-level Approach for Multilingual Taint Analysis
    Lyons, Damian M.
    Becaj, Dino
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 69 - 77
  • [42] A fine-grained labeled dataset for textual sentiment analysis in technical education
    Singh, Manoj
    Panwar, Subhash
    Choudhary, Sanju
    DATA IN BRIEF, 2024, 57
  • [43] Heaps'n Leaks: How Heap Snapshots Improve Android Taint Analysis
    Benz, Manuel
    Kristensen, Erik Krogh
    Luo, Linghui
    Borges, Nataniel P., Jr.
    Bodden, Eric
    Zeller, Andreas
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1061 - 1072
  • [44] Effective Fuzzing Based on Dynamic Taint Analysis
    Liang, Guangcheng
    Liao, Lejian
    Xu, Xin
    Du, Jianguang
    Li, Guoqiang
    Zhao, Henglong
    2013 9TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY (CIS), 2013, : 615 - 619
  • [45] PHP Vulnerability Detection Based on Taint Analysis
    Cao, Kai
    He, Jing
    Fan, Wenqing
    Huang, Wei
    Chen, Lei
    Pan, Yue
    2017 6TH INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (TRENDS AND FUTURE DIRECTIONS) (ICRITO), 2017, : 436 - 439
  • [46] Detecting Privacy Leaks in Android Hybrid Applications Based on Dynamic Taint Tracking
    Tang, Junwei
    Li, Ruixuan
    Xiong, Zhiqiang
    Han, Hongmu
    Gu, Xiwu
    Proceedings - 2021 IEEE 19th International Conference on Embedded and Ubiquitous Computing, EUC 2021, 2021, : 193 - 200
  • [47] A Fine-grained Approach for Power Consumption Analysis and Prediction
    Leite, Alessandro
    Tadonki, Claude
    Eisenbeis, Christine
    de Melo, Alba
    2014 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2014, 29 : 2260 - 2271
  • [48] Practical Precise Taint-flow Static Analysis for Android App Sets
    Klieber, William
    Flynn, Lori
    Snavely, Will
    Zheng, Michael
    13TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY (ARES 2018), 2019,
  • [49] AndroTaint: An Efficient Android Malware Detection Framework using Dynamic Taint Analysis
    Shankar, Venkatesh Gauri
    Somani, Gaurav
    Gaur, Manoj Singh
    Laxmi, Vijay
    Conti, Mauro
    2017 ISEA ASIA SECURITY AND PRIVACY CONFERENCE (ISEASP 2017), 2017, : 71 - 83
  • [50] Detecting Privacy Leaks in Android Hybrid Applications Based on Dynamic Taint Tracking
    Tang, Junwei
    Li, Ruixuan
    Xiong, Zhiqiang
    Han, Hongmu
    Gu, Xiwu
    2021 IEEE 19TH INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (EUC 2021), 2021, : 193 - 200