μDep: Mutation-Based Dependency Generation for Precise Taint Analysis on Android Native Code

被引:1
|
作者
Sun, Cong [1 ]
Ma, Yuwan [1 ]
Zeng, Dongrui [2 ,3 ]
Tan, Gang [2 ]
Ma, Siqi [4 ]
Wu, Yafei [1 ]
机构
[1] Xidian Univ, Sch Cyber Engn, Xian 710071, Peoples R China
[2] Penn State Univ, State Coll, PA 16801 USA
[3] Palo Alto Networks Inc, Santa Clara, CA 95054 USA
[4] Univ New South Wales, Canberra, ACT 2612, Australia
基金
中国国家自然科学基金;
关键词
Codes; !text type='Java']Java[!/text; Static analysis; Libraries; Data models; Semantics; Load modeling; Android; information flow analysis; !text type='java']java[!/text] native interface; static analysis; TRACKING INFORMATION FLOWS;
D O I
10.1109/TDSC.2022.3155693
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The existence of native code in Android apps plays an important role in triggering inconspicuous propagation of secrets and circumventing malware detection. However, the state-of-the-art information-flow analysis tools for Android apps all have limited capabilities of analyzing native code. Due to the complexity of binary-level static analysis, most static analyzers choose to build conservative models for a selected portion of native code. Though the recent inter-language analysis improves the capability of tracking information flow in native code, it is still far from attaining similar effectiveness of the state-of-the-art information-flow analyzers that focus on non-native Java methods. To overcome the above constraints, we propose a new analysis framework, mu Dep, to detect sensitive information flows of the Android apps containing native code. In this framework, we combine a control-flow based static binary analysis with a mutation-based dynamic analysis to model the tainting behaviors of native code in the apps. Based on the result of the analyses, mDep conducts a stub generation for the related native functions to facilitate the state-of-the-art analyzer DroidSafe with finegrained tainting behavior summaries of native code. The experimental results show that our framework is competitive on the accuracy, and effective in analyzing the information flows in real-world apps and malware compared with the state-of-the-art inter-language static analysis.
引用
收藏
页码:1461 / 1475
页数:15
相关论文
共 50 条
  • [1] HashMTI: Scalable Mutation-based Taint Inference with Hash Records
    Kong, Xiangdong
    Tang, Yong
    Wang, Pengfei
    Wei, Shuning
    Yue, Tai
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 84 - 95
  • [2] Leveraging Historical Versions of Android Apps for Efficient and Precise Taint Analysis
    Cai, Haipeng
    Jenkins, John
    [J]. 2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 265 - 269
  • [3] Practical Precise Taint-flow Static Analysis for Android App Sets
    Klieber, William
    Flynn, Lori
    Snavely, Will
    Zheng, Michael
    [J]. 13TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY (ARES 2018), 2019,
  • [4] Systematic Mutation-Based Evaluation of the Soundness of Security-Focused Android Static Analysis Techniques
    Ami, Amit Seal
    Kafle, Kaushal
    Moran, Kevin
    Nadkarni, Adwait
    Poshyvanyk, Denys
    [J]. ACM TRANSACTIONS ON PRIVACY AND SECURITY, 2021, 24 (03)
  • [5] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [6] Mutation-Based Test Case Generation for Simulink Models
    Brillout, Angelo
    He, Nannan
    Mazzucchi, Michele
    Kroening, Daniel
    Purandare, Mitra
    Ruemmer, Philipp
    Weissenbacher, Georg
    [J]. FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2010, 6286 : 208 - +
  • [7] Mutation-Based Test-Case Generation with Ecdar
    Larsen, Kim G.
    Lorber, Florian
    Nielsen, Brian
    Nyman, Ulrik M.
    [J]. 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 319 - 328
  • [8] Improving Mutation-Based Fault Localization with Plausible-code Generating Mutation Operators
    Jeon, Juyoung
    Hong, Shin
    [J]. 2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1205 - 1207
  • [9] Mutation-Based Generation of Software Product Line Test Configurations
    Henard, Christopher
    Papadakis, Mike
    Le Traon, Yves
    [J]. SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 92 - 106
  • [10] Protecting Android Native Code Based on Instruction Virtualization
    Zhang Xiaohan
    Zhang Yuan
    Chi Xinjian
    Yang Min
    [J]. JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2020, 42 (09) : 2108 - 2116