arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2111.08217cs.CR
收藏

NatiDroid:跨语言Android权限规范

NatiDroid: Cross-Language Android Permission Specification

Chaoran Li, Xiao Chen, Ruoxi Sun, Jason Xue, Sheng Wen, Muhammad Ejaz Ahmed, Seyit Camtepe, Yang Xiang

摘要:

Android系统通过权限实施来管理对敏感API的访问。应用程序(app)必须在调用特定Android API之前声明适当的权限。但是,到目前为止,还没有官方文档提供受权限保护的API的完整列表和相应的权限。研究人员花费了大量精力从Android API框架中提取此类API保护映射,该框架利用静态代码分析来确定在访问API之前是否需要特定权限。然而,他们中没有一个试图分析本机库中的保护映射(即,用C和C++编写的代码),这是Android框架的一个重要组件,负责处理与较低级别硬件(如摄像头和传感器)的通信。虽然保护映射可用于检测Android应用程序中的各种安全漏洞,例如权限过度特权和组件劫持,但不精确的映射将导致检测此类安全漏洞的错误结果。为了填补这一空白,我们开发了一个原型系统,名为NatiDroid,以促进跨语言的静态分析基准对两个国家的最先进的工具,称为Axplorer和Arcade。我们在超过11,000个Android应用程序上评估NatiDroid,包括来自自定义Android ROM的系统应用程序和来自Google Play的第三方应用程序。我们的NatiDroid可以识别多达464个新的API权限映射,与Axplorer和Arcade的最坏情况结果形成鲜明对比,其中大约71%的应用程序在权限过度特权方面至少有一个误报,高达3.6%的应用程序在组件劫持方面至少有一个误报。此外,我们确定了24个组件,至少有一个本地触发的组件劫持漏洞被两个基准错误识别。

英文摘要:

The Android system manages access to sensitive APIs by permission enforcement. An application (app) must declare proper permissions before invoking specific Android APIs. However, there is no official documentation providing the complete list of permission-protected APIs and the corresponding permissions to date. Researchers have spent significant efforts extracting such API protection mapping from the Android API framework, which leverages static code analysis to determine if specific permissions are required before accessing an API. Nevertheless, none of them has attempted to analyze the protection mapping in the native library (i.e., code written in C and C++), an essential component of the Android framework that handles communication with the lower-level hardware, such as cameras and sensors. While the protection mapping can be utilized to detect various security vulnerabilities in Android apps, such as permission over-privilege and component hijacking, imprecise mapping will lead to false results in detecting such security vulnerabilities. To fill this gap, we develop a prototype system, named NatiDroid, to facilitate the cross-language static analysis to benchmark against two state-of-the-art tools, termed Axplorer and Arcade. We evaluate NatiDroid on more than 11,000 Android apps, including system apps from custom Android ROMs and third-party apps from the Google Play. Our NatiDroid can identify up to 464 new API-permission mappings, in contrast to the worst-case results derived from both Axplorer and Arcade, where approximately 71% apps have at least one false positive in permission over-privilege and up to 3.6% apps have at least one false negative in component hijacking. Additionally, we identify that 24 components with at least one Native-triggered component hijacking vulnerability are misidentified by two benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑