论文标题

BFT方案取证

BFT Protocol Forensics

论文作者

Sheng, Peiyao, Wang, Gerui, Nayak, Kartik, Kannan, Sreeram, Viswanath, Pramod

论文摘要

拜占庭式缺陷(BFT)方案允许一组复制品达成共识,即使某些复制品是拜占庭的错误。存在多个BFT协议,可在不同的网络设置下安全耐受最佳数量的故障$ t $。但是,如果故障数量$ f $超过$ t $,则可能会违反安全性。在本文中,我们数学上对BFT方案的法医支持进行了正式的研究:我们旨在识别(具有加密完整性)尽可能多的恶意复制品,并尽可能多地分布式方式。我们的主要结果是,对BFT协议的法医支持在很大程度上取决于不影响协议安全性或复杂性的次要实现细节。专注于流行的BFT协议(PBFT,HOTSTUFF,ALGORAND),我们精确地表征了他们的法医支持,表明法医支持差异很大的每个协议的次要变体。我们表现​​出强大的法医支持能力,即Diem加密货币共识方案;我们在Diem客户端实施的轻便法医模块是开源的,并且正在积极考虑Diem的部署。最后,我们表明,所有以$ 2T+1 $副本设计的安全BFT协议在同步网络法医支持上进行通信本质上是不存在的。这种不可能的结果适用于所有BFT协议,即使人们可以访问所有复制品的状态(包括拜占庭式副本)。

Byzantine fault-tolerant (BFT) protocols allow a group of replicas to come to a consensus even when some of the replicas are Byzantine faulty. There exist multiple BFT protocols to securely tolerate an optimal number of faults $t$ under different network settings. However, if the number of faults $f$ exceeds $t$ then security could be violated. In this paper we mathematically formalize the study of forensic support of BFT protocols: we aim to identify (with cryptographic integrity) as many of the malicious replicas as possible and in as a distributed manner as possible. Our main result is that forensic support of BFT protocols depends heavily on minor implementation details that do not affect the protocol's security or complexity. Focusing on popular BFT protocols (PBFT, HotStuff, Algorand) we exactly characterize their forensic support, showing that there exist minor variants of each protocol for which the forensic supports vary widely. We show strong forensic support capability of LibraBFT, the consensus protocol of Diem cryptocurrency; our lightweight forensic module implemented on a Diem client is open-sourced and is under active consideration for deployment in Diem. Finally, we show that all secure BFT protocols designed for $2t+1$ replicas communicating over a synchronous network forensic support are inherently nonexistent; this impossibility result holds for all BFT protocols and even if one has access to the states of all replicas (including Byzantine ones).

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源