arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.07917cs.CRcs.OS
收藏

具有端到端数据完整性的可验证文件系统的设计与实现

The Design and Implementation of a Verified File System with End-to-End Data Integrity

Daniel W. Song, Konstantinos Mamouras, Ang Chen, Nathan Dautenhahn, Dan S. Wallach

摘要:

尽管进行了大量的研究和工程努力,但当今许多重要的计算机系统仍存在缺陷。为了提高软件系统的可靠性,最近的工作已经应用形式化验证来证明这种系统的正确性,最近的成功包括认证的文件系统和认证的加密协议,尽管使用完全不同的证明策略和工具链。统一这些概念,我们提出了第一个认证的文件系统,使用加密原语来保护自己免受篡改。我们经过认证的文件系统可以防御可能希望篡改原始磁盘的对手。这种“不可信存储”威胁模型捕获可能会默默返回错误位的存储设备的行为,以及可能在传输过程中对磁盘访问受限的对手。在本文中,我们提出了IFSCQ,认证的加密文件系统具有强大的完整性保证。IFSCQ结合并扩展了加密文件系统和正式认证的文件系统的工作,以证明我们的设计是正确的。它是第一个经过认证的文件系统,可以抵御强大的攻击者,这些攻击者可以恶意破坏磁盘上的数据和元数据,包括试图将磁盘回滚到有效数据的早期版本。IFSCQ通过构建整个磁盘的Merkle哈希树来实现这一点,并通过证明篡改的磁盘块总是会被检测到,如果它们发生的话。我们证明了IFSCQ运行合理的开销,同时检测几种攻击。

英文摘要:

Despite significant research and engineering efforts, many of today's important computer systems suffer from bugs. To increase the reliability of software systems, recent work has applied formal verification to certify the correctness of such systems, with recent successes including certified file systems and certified cryptographic protocols, albeit using quite different proof tactics and toolchains. Unifying these concepts, we present the first certified file system that uses cryptographic primitives to protect itself against tampering. Our certified file system defends against adversaries that might wish to tamper with the raw disk. Such an "untrusted storage" threat model captures the behavior of storage devices that might silently return erroneous bits as well as adversaries who might have limited access to a disk, perhaps while in transit. In this paper, we present IFSCQ, a certified cryptographic file system with strong integrity guarantees. IFSCQ combines and extends work on cryptographic file systems and formally certified file systems to prove that our design is correct. It is the first certified file system that is secure against strong adversaries that can maliciously corrupt on-disk data and metadata, including attempting to roll back the disk to earlier versions of valid data. IFSCQ achieves this by constructing a Merkle hash tree of the whole disk, and by proving that tampered disk blocks will always be detected if they ever occur. We demonstrate that IFSCQ runs with reasonable overhead while detecting several kinds of attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑