SABRE: Protecting Bitcoin against Routing Attacks

Authors: Maria Apostolaki, Gian Marti, Jan Müller, and Laurent Vanbever
Proceedings of the 26th Annual Network and Distributed System Security Symposium

Abstract

Routing attacks remain practically effective in the Internet today as existing countermeasures either fail to provide protection guarantees or are not easily deployable. Blockchain systems are particularly vulnerable to such attacks as they rely on Internet-wide communication to reach consensus. In particular, Bitcoin -the most widely-used cryptocurrency- can be split in half by any AS-level adversary using BGP hijacking. In this paper, we present SABRE, a secure and scalable Bitcoin relay network which relays blocks worldwide through a set of connections that are resilient to routing attacks. SABRE runs alongside the existing peer-to-peer network and is easily deployable. As a critical system, SABRE design is highly resilient and can efficiently handle high bandwidth loads, including Denial of Service attacks. We built SABRE around two key technical insights. First, we leverage fundamental properties of inter-domain routing (BGP) policies to host relay nodes: (i) in locations that are inherently protected against routing attacks; and (ii) on paths that are economically preferred by the majority of Bitcoin clients. These properties are generic and can be used to protect other Blockchain-based systems. Second, we leverage the fact that relaying blocks is communication-heavy, not computation-heavy. This enables us to offload most of the relay operations to programmable network hardware (using the P4 programming language). Thanks to this hardware/software co-design, SABRE nodes operate seamlessly under high load while mitigating the effects of malicious clients. We present a complete implementation of SABRE together with an extensive evaluation. Our results demonstrate that SABRE is effective at securing Bitcoin against routing attacks, even with deployments as small as 6 nodes.

People

Dr. Maria Apostolaki
PhD student
2015—2021

BibTex

@INPROCEEDINGS{apostolaki2019sabre,
	isbn = {1-891562-55-X},
	doi = {10.14722/ndss.2019.23252},
	year = {2019-02},
	booktitle = {Proceedings of the 26th Annual Network and Distributed System Security Symposium},
	type = {Conference Paper},
	author = {Apostolaki, Maria and Marti, Gian and Müller, Jan and Vanbever, Laurent},
	size = {15 p.},
	language = {en},
	address = {Reston, VA},
	publisher = {Internet Society},
	title = {SABRE: Protecting Bitcoin against Routing Attacks},
	PAGES = {02A1},
	Note = {26th Annual Network and Distributed System Security Symposium (NDSS 2019); Conference Location: San Diego, CA, USA; Conference Date: February 24-27, 2019}
}

Research Collection: 20.500.11850/370343