arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.05579cs.CRcs.HCcs.OS
收藏

在合作计划中管理对系统传感器的访问

Regulating Access to System Sensors in Cooperating Programs

Giuseppe Petracca, Jens Grossklags, Patrick McDaniel, Trent Jaeger

摘要:

现代操作系统,例如Android、iOS、Windows Phone和Chrome OS,都支持协作程序抽象。与将所有功能放在单个程序中不同,程序合作完成用户请求的任务。然而,不受信任的程序可以利用与其他程序的交互来直接或通过特权服务获得对系统传感器的未经授权的访问。研究人员已经提出,程序应该仅被授权在用户批准的输入事件上访问系统传感器,但是这些方法没有考虑到由接收用户输入事件的程序完成的可能的委托。此外,所提出的委托方法不能使用户准确地控制其输入事件的使用。在本文中,我们提出ENTRUST,一个系统,使用户能够授权传感器操作,遵循他们的输入事件,即使传感器操作是由一个程序不同的程序接收输入事件。ENTRUST跟踪用户输入以及委托事件,并限制此类事件的执行,以计算明确的委托路径,从而实现传感器操作的准确和可重用授权。为了演示这种方法,我们实现了用于Android的ENTRUST授权系统。我们发现,通过实验室用户研究,攻击可以被阻止在一个更高的比率(54-64%的改善),并通过现场用户研究,ENTRUST需要不超过三个额外的授权,每个程序相对于第一次使用的方法,而招致适度的性能(<1%)和内存开销(5.5 KB每个程序)。

英文摘要:

Modern operating systems such as Android, iOS, Windows Phone, and Chrome OS support a cooperating program abstraction. Instead of placing all functionality into a single program, programs cooperate to complete tasks requested by users. However, untrusted programs may exploit interactions with other programs to obtain unauthorized access to system sensors either directly or through privileged services. Researchers have proposed that programs should only be authorized to access system sensors on a user-approved input event, but these methods do not account for possible delegation done by the program receiving the user input event. Furthermore, proposed delegation methods do not enable users to control the use of their input events accurately. In this paper, we propose ENTRUST, a system that enables users to authorize sensor operations that follow their input events, even if the sensor operation is performed by a program different from the program receiving the input event. ENTRUST tracks user input as well as delegation events and restricts the execution of such events to compute unambiguous delegation paths to enable accurate and reusable authorization of sensor operations. To demonstrate this approach, we implement the ENTRUST authorization system for Android. We find, via a laboratory user study, that attacks can be prevented at a much higher rate (54-64% improvement); and via a field user study, that ENTRUST requires no more than three additional authorizations per program with respect to the first-use approach, while incurring modest performance (<1%) and memory overheads (5.5 KB per program).

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

↑