首页> 外文会议>International Symposium on Formal Methods >Efficient Runtime Monitoring with Metric Temporal Logic: A Case Study in the Android Operating System
【24h】

Efficient Runtime Monitoring with Metric Temporal Logic: A Case Study in the Android Operating System

机译:使用公制时间逻辑有效的运行时监控:Android操作系统的案例研究

获取原文

摘要

We present a design and an implementation of a security policy specification language based on metric linear-time temporal logic (MTL). MTL features temporal operators that are indexed by time intervals, allowing one to specify timing-dependent security policies. The design of the language is driven by the problem of runtime monitoring of applications in mobile devices. A main case of the study is the privilege escalation attack in the Android operating system, where an app gains access to certain resource or functionalities that are not explicitly granted to it by the user, through indirect control flow. To capture these attacks, we extend MTL with recursive definitions, that are used to express call chains betwen apps. We then show how the metric operators of MTL, in combination with recursive definitions, can be used to specify policies to detect privilege escalation, under various fine grained constraints. We present a new algorithm, extending that of linear time temporal logic, for monitoring safety policies written in our specification language. The monitor does not need to store the entire history of events generated by the apps, something that is crucial for practical implementations. We modified the Android OS kernel to allow us to insert our generated monitors modularly. We have tested the modified OS on an actual device, and show that it is effective in detecting policy violations.
机译:我们基于度量线性时间时间逻辑(MTL)呈现了一种安全策略规范语言的设计和实现。 MTL具有索引时间间隔索引的时间运算符,允许其中指定依赖于时序的安全策略。语言的设计是由移动设备中应用程序运行时监视的问题驱动的。该研究的主要案例是Android操作系统中的特权升级攻击,其中App通过间接控制流程访问未明确授予它的某些资源或功能。要捕获这些攻击,我们将使用递归定义扩展MTL,用于表达应用程序之间的呼叫链。然后,我们展示了MTL的度量标准运算符与递归定义的方式,可用于指定在各种细粒度约束下检测特权升级的策略。我们展示了一种新的算法,扩展了线性时间时间逻辑的算法,用于监视以我们的规范语言编写的安全策略。监视器不需要存储应用程序生成的事件的整个历史,这对于实际实现至关重要。我们修改了Android OS内核,允许我们模块化插入生成的监视器。我们在实际设备上测试了修改后的操作系统,并表明它在检测策略违规方面是有效的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号