基于优化模理论的威胁修复
Threat Repair with Optimization Modulo Theories
摘要:
我们提出了一个基于模型的程序,使用正式的模型自动防止安全威胁。我们将系统模型和潜在威胁编码为可满足性模理论(SMT)公式。该模型允许我们将安全问题作为可满足性查询。我们制定威胁预防作为一个优化问题,在相同的公式。我们的威胁预防过程的结果是一个建议的模型属性修复,消除威胁。每当威胁预防失败时,我们就会自动解释威胁发生的原因。我们使用最先进的Z3 SMT求解器实现我们的方法,并将其与威胁分析工具THREATGET相结合。我们证明了我们的程序的价值,在两个案例研究,从汽车和灵巧家庭领域,包括一个工业强度的例子。
英文摘要:
We propose a model-based procedure for automatically preventing security threats using formal models. We encode system models and potential threats as satisfiability modulo theory (SMT) formulas. This model allows us to ask security questions as satisfiability queries. We formulate threat prevention as an optimization problem over the same formulas. The outcome of our threat prevention procedure is a suggestion of model attribute repair that eliminates threats. Whenever threat prevention fails, we automatically explain why the threat happens. We implement our approach using the state-of-the-art Z3 SMT solver and interface it with the threat analysis tool THREATGET. We demonstrate the value of our procedure in two case studies from automotive and smart home domains, including an industrial-strength example.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。