Home automation in modern smart home platforms is often facilitated using trigger-action routines. While such routines enable flexible automation, they also lead to an instance of the integrity problem in these systems: untrusted third-parties may use platform APIs to modify the abstract home objects (AHOs) that privileged, high-integrity devices such as security cameras rely on (i.e., as triggers), thereby transitively attacking them. As most accesses to AHOs are legitimate, removing the permissions or applying naive information flow controls would not only fail to prevent these problems, but also break useful functionality. Therefore, this paper proposes the alternate approach of home abstraction endorsement, which endorses a proposed change to an AHO by correlating it with certain specific, preceding, environmental changes. We present the HomeEndorser framework, which provides a policy model for specifying endorsement policies for AHOs as changes in device states, relative to their location, and a platform-based reference monitor for mediating all API requests to change AHOs against those device states. We evaluate HomeEndorser on the HomeAssistant platform, finding that we can derive over 1000 policy rules for HomeEndorser to endorse changes to 6 key AHOs, preventing malice and accidents for less than 10% overhead for endorsement check microbenchmarks, and with no false alarms under realistic usage scenarios. In doing so, HomeEndorser lays the first steps towards providing a practical foundation for ensuring that API-induced changes to abstract home objects correlate with the physical realities of the user's environment.
翻译:在现代智能家用平台上,现代智能家用平台的家用自动化往往会通过触发动作程序得到便利。虽然这种例行操作能够促进灵活的自动化,但也会导致这些系统中的完整问题:不信任的第三方可能会使用平台API来修改安全相机等特权高完整性设备所依赖的抽象家用物品(AHOs),从而临时攻击这些物品。由于对AHOs的大多数访问是合法的,取消许可或应用天真的信息流动控制不仅不能防止这些问题,而且会破坏有用的功能。因此,本文建议采用家用物理抽象目标的替代方法,通过将其与某些具体的、先前的环境变化联系起来,认可对AHO的修改。我们介绍了HomeEnder框架,它提供了一个政策模式,将AHOs的认可政策指定为设备状态的变化,与其位置相对,以及一个基于平台的参考监测器,用以将所有 AHOs 请求与这些设备状态进行调换。我们评估了主机的 HomeEnorser 在主机端平台上,发现我们可以通过10号主机级的校正指令, 校正校正校正校正校车校程规则比为10号。