English

BFT Protocol Forensics

Cryptography and Security 2021-11-09 v5

Abstract

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 tt under different network settings. However, if the number of faults ff exceeds tt 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+12t+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).

Keywords

Cite

@article{arxiv.2010.06785,
  title  = {BFT Protocol Forensics},
  author = {Peiyao Sheng and Gerui Wang and Kartik Nayak and Sreeram Kannan and Pramod Viswanath},
  journal= {arXiv preprint arXiv:2010.06785},
  year   = {2021}
}