TAPFixer:基于否定属性推理的家庭自动化漏洞自动检测与修复
TAPFixer: Automatic Detection and Repair of Home Automation Vulnerabilities based on Negated-property Reasoning
AI总结:
针对家庭自动化中触发-动作编程规则交互存在安全漏洞的问题,提出TAPFixer框架,通过带物理与延迟特性的自动机建模、否定属性推理等实现漏洞自动检测修复,实验验证了其高修复成功率与实用性。
摘要:
触发-动作编程(Trigger-Action Programming,TAP)是家庭自动化(home automation,HA)系统中一种流行的最终用户编程框架,可帮助用户自定义家庭自动化功能并按预期控制设备。然而,其简化的语法也会通过存在漏洞的规则交互给HA系统带来新的安全威胁。在规则部署前,从逻辑和物理层面消除根本原因以准确修复这些漏洞至关重要,但该问题尚未得到充分研究。本文提出了TAPFixer,这是一种用于自动检测和修复HA系统中规则交互漏洞的新型框架。它从HA配置文件中提取TAP规则,将其转换为带有物理特性和延迟特性的自动机模型,并针对多种正确性属性执行模型检测。随后,它采用一种新颖的否定属性推理算法,通过模型抽象与精化以及基于否定属性的模型检测来自动推断补丁。我们在商用HA应用(包含1177条TAP规则和53项属性)上对TAPFixer进行了评估,发现其修复规则交互漏洞的成功率可达86.65%。我们还招募了23名HA用户开展用户研究,结果证明TAPFixer在实际HA场景中进行漏洞修复具备实用性。
英文摘要:
Trigger-Action Programming (TAP) is a popular end-user programming framework in the home automation (HA) system, which eases users to customize home automation and control devices as expected. However, its simplified syntax also introduces new safety threats to HA systems through vulnerable rule interactions. Accurately fixing these vulnerabilities by logically and physically eliminating their root causes is essential before rules are deployed. However, it has not been well studied. In this paper, we present TAPFixer, a novel framework to automatically detect and repair rule interaction vulnerabilities in HA systems. It extracts TAP rules from HA profiles, translates them into an automaton model with physical and latency features, and performs model checking with various correctness properties. It then uses a novel negated-property reasoning algorithm to automatically infer a patch via model abstraction and refinement and model checking based on negated-properties. We evaluate TAPFixer on market HA apps (1177 TAP rules and 53 properties) and find that it can achieve an 86.65% success rate in repairing rule interaction vulnerabilities. We additionally recruit 23 HA users to conduct a user study that demonstrates the usefulness of TAPFixer for vulnerability repair in practical HA scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。