如果它是可证明安全的,那它很可能并不安全:为什么从证明失败中学习是困难的
If it's Provably Secure, It Probably Isn't: Why Learning from Proof Failure is Hard
AI总结:
本文探讨安全证明的失败模式,指出证明可能不相关、晦涩、误导甚至错误,并从数学哲学、物理哲学及社会学视角分析,强调保证模型的社会性导致错误管理不善。
摘要:
在本文中,我们将探讨安全证明可能失败的方式,以及它们对安全工程更广泛的教训。仅举一个例子,拉里·保尔森在1999年使用他的定理证明器Isabelle证明了SSL/TLS的安全性,但自那以后,它已经多次出现漏洞,从时序攻击到心脏出血漏洞。我们将研究其他一些例子,以期阐明一般性原则。证明可能是不相关的,可能是晦涩难懂的,可能是误导性的,甚至可能是错误的。因此,我们可以求助于数学哲学来获得启示。但问题更为普遍。例如,当我们在依赖数学和依赖物理学之间做出选择时,会发生什么?基于纠缠的量子密码系统所声称的安全证明提出了一些尖锐的问题,并可能涉及物理哲学。此外,还有其他种类的保证;我们将回顾对FIPS-140评估的依赖,API攻击表明这种依赖可能被夸大了。当防御者将他们的保证工作集中在无法覆盖整个攻击面的子系统或模型上时,他们可能只是告诉攻击者该把精力集中在哪里。然而,我们认为问题比这更深刻、更广泛。我们试图依赖的证明和保证模型具有社会性,我们可以从其他视角来理解这一点,从科学哲学或科学社会学,到共享注意力的心理学。这些视角以各种方式表明,错误和异常的管理可能特别糟糕。它们不仅涉及设计者未能适当考虑或根本没有考虑的失败模式;还涉及设计者(或验证者)出于制度和文化原因而不愿考虑的失败模式。
英文摘要:
In this paper we're going to explore the ways in which security proofs can fail, and their broader lessons for security engineering. To mention just one example, Larry Paulson proved the security of SSL/TLS using his theorem prover Isabelle in 1999, yet it's sprung multiple leaks since then, from timing attacks to Heartbleed. We will go through a number of other examples in the hope of elucidating general principles. Proofs can be irrelevant, they can be opaque, they can be misleading and they can even be wrong. So we can look to the philosophy of mathematics for illumination. But the problem is more general. What happens, for example, when we have a choice between relying on mathematics and on physics? The security proofs claimed for quantum cryptosystems based on entanglement raise some pointed questions and may engage the philosophy of physics. And then there's the other varieties of assurance; we will recall the reliance placed on FIPS-140 evaluations, which API attacks suggested may have been overblown. Where the defenders focus their assurance effort on a subsystem or a model that cannot capture the whole attack surface they may just tell the attacker where to focus their effort. However, we think it's deeper and broader than that. The models of proof and assurance on which we try to rely have a social aspect, which we can try to understand from other perspectives ranging from the philosophy or sociology of science to the psychology of shared attention. These perspectives suggest, in various ways, how the management of errors and exceptions may be particularly poor. They do not merely relate to failure modes that the designers failed to consider properly or at all; they also relate to failure modes that the designers (or perhaps the verifiers) did not want to consider for institutional and cultural reasons.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。