FANS: Fuzzing Android Native System Services via Automated Interface Analysis

被引:0
|
作者
Liu, Baozheng [1 ,2 ]
Zhang, Chao [1 ,2 ]
Gong, Guang [3 ]
Zeng, Yishun [1 ,2 ]
Ruan, Haifeng [4 ]
Zhuge, Jianwei [1 ,2 ]
机构
[1] Tsinghua Univ, Inst Network Sci & Cyberspace, Beijing, Peoples R China
[2] Beijing Natl Res Ctr Informat Sci & Technol, Beijing, Peoples R China
[3] 360 Internet Secur Ctr, Alpha Lab, Beijing, Peoples R China
[4] Tsinghua Univ, Dept Comp Sci & Technol, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Android native system services provide essential supports and fundamental functionalities for user apps. Finding vulnerabilities in them is crucial for Android security. Fuzzing is one of the most popular vulnerability discovery solutions, yet faces several challenges when applied to Android native system services. First, such services are invoked via a special interprocess communication (IPC) mechanism, namely binder, via service-specific interfaces. Thus, the fuzzer has to recognize all interfaces and generate interface-specific test cases automatically. Second, effective test cases should satisfy the interface model of each interface. Third, the test cases should also satisfy the semantic requirements, including variable dependencies and interface dependencies. In this paper, we propose an automated generation-based fuzzing solution FANS to find vulnerabilities in Android native system services. It first collects all interfaces in target services and uncovers deep nested multi-level interfaces to test. Then, it automatically extracts interface models, including feasible transaction code, variable names and types in the transaction data, from the abstract syntax tree (AST) of target interfaces. Further, it infers variable dependencies in transactions via the variable name and type knowledge, and infers interface dependencies via the generation and use relationship. Finally, it employs the interface models and dependency knowledge to generate sequences of transactions, which have valid formats and semantics, to test interfaces of target services. We implemented a prototype of FANS from scratch and evaluated it on six smartphones equipped with a recent version of Android, i.e., android-9.0.0_1 46 , and found 30 unique vulnerabilities deduplicated from thousands of crashes, of which 20 have been confirmed by Google. Surprisingly, we also discovered 138 unique Java exceptions during fuzzing.
引用
收藏
页码:307 / 323
页数:17
相关论文
共 29 条
  • [11] LibDroid: Summarizing information flow of android native libraries via static analysis
    Shi, Chen
    Cheng, Chris Chao-Chun
    Guan, Yong
    Forensic Science International: Digital Investigation, 2022, 42
  • [12] Improving Automated GUI Exploration of Android Apps via Static Dependency Analysis
    Guo, Wunan
    Shen, Liwei
    Su, Ting
    Peng, Xin
    Xie, Weiyang
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 557 - 568
  • [13] ECONOMIC-ANALYSIS OF AN AUTOMATED BILLING SYSTEM FOR PHYSICIANS SERVICES
    MESEL, E
    WIRTSCHAFTER, DD
    RAMSEYKLEE, DM
    MEDICAL CARE, 1976, 14 (12) : 1037 - 1051
  • [14] Web Services interface of SSRF archive data analysis system
    Lin, Li
    Liren, Shen
    Qing, Zhu
    Tianmin, Wan
    NUCLEAR SCIENCE AND TECHNIQUES, 2007, 18 (04) : 193 - 197
  • [15] Web Services interface of SSRF archive data analysis system
    LI Lin SHEN Liren* ZHU Qing WAN Tianmin (Shanghai Institute of Applied Physics
    NuclearScienceandTechniques, 2007, (04) : 193 - 197
  • [16] Scalable Industrial Control System Analysis via XAI-based Gray-Box Fuzzing
    Kur, Justin
    Chen, Jingshu
    Huang, Jun
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1803 - 1807
  • [17] Operating System Fingerprinting via Automated Network Traffic Analysis
    Aksoy, Ahmet
    Louis, Sushil
    Gunes, Mehmet Hadi
    2017 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2017, : 2502 - 2509
  • [18] DaVinci: Android App Analysis Beyond Frida via Dynamic System Call Instrumentation
    Druffel, Alexander
    Heid, Kris
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, ACNS 2020, 2020, 12418 : 473 - 489
  • [19] HUMAN IDENTITY VERIFICATION VIA AUTOMATED ANALYSIS OF FINGERPRINT SYSTEM FEATURES
    Ahmad, Amal
    Ismail, Shereen
    Jawad, Mohammad Abdul
    INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2019, 15 (06): : 2183 - 2196
  • [20] Experimental Investigation Of Remote Control Via Android Smart Phone Of Arduino-Based Automated Irrigation System Using Moisture Sensor
    Arvindan, A. N.
    Keerthika, D.
    2016 3RD INTERNATIONAL CONFERENCE ON ELECTRICAL ENERGY SYSTEMS (ICEES), 2016, : 168 - 175