[Paper Review] SABRE: Protecting Bitcoin against Routing Attacks
SABRE proposes a secure, partially deployable relay network for Bitcoin that protects against AS-level routing attacks by hosting relay nodes in BGP-protected, economically preferred locations and offloading block relaying to programmable network hardware via P4. With as few as 6 nodes, SABRE secures 80% of clients against 96% of AS adversaries.
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.
Motivation & Objective
- To address the vulnerability of Bitcoin to AS-level routing attacks, such as BGP hijacking, which can partition the network and enable double-spending.
- To design a system that provides strong security guarantees without requiring global protocol changes or widespread deployment.
- To enable early security benefits with minimal deployment, starting from as few as two relay nodes.
- To protect the relay network itself from DDoS and other attacks through hardware/software co-design.
- To leverage inherent BGP policy properties to ensure that relay-to-relay connections cannot be diverted by attackers.
Proposed method
- Host SABRE relay nodes in ASes that directly peer with each other and have no customers, ensuring BGP hijacking cannot redirect relay traffic.
- Select relay locations based on routing attractiveness to maximize client connectivity and minimize interception risk.
- Use P4 programming to offload block relaying operations to programmable network switches, reducing CPU load and increasing throughput.
- Implement a UDP-based client protocol with dynamic access lists and caching to efficiently serve predictable, high-volume block requests.
- Leverage the communication-heavy nature of block propagation to prioritize hardware acceleration, enabling Tbps-scale performance under malicious load.
- Design the system to be resilient to DDoS by caching frequently requested blocks and processing traffic in the data plane.
Experimental results
Research questions
- RQ1Can a Bitcoin relay network be secured against AS-level routing attacks using only partial deployment and existing Internet infrastructure?
- RQ2Can BGP policy properties be exploited to host relay nodes in locations inherently immune to BGP hijacking?
- RQ3Can programmable network hardware (P4) effectively handle the communication-heavy workload of block relaying while mitigating DDoS attacks?
- RQ4What is the minimum number of relay nodes required to achieve strong protection for the majority of Bitcoin clients?
- RQ5Can a secure relay network be built without requiring changes to the Bitcoin protocol or global deployment of new standards?
Key findings
- SABRE can protect 80% of Bitcoin clients from 96% of AS-level adversaries with only 6 relay nodes in a worst-case deployment scenario.
- Over 2,000 ASes in the current Internet are eligible as secure relay locations due to their BGP peer-to-peer relationships and lack of customers.
- The P4-based hardware offloading design enables SABRE nodes to sustain Tbps-scale traffic loads, even under DDoS attacks, by processing traffic in the data plane.
- The system remains effective even when attackers control up to 50% of the network’s ASes, due to the resilience of relay node placement and redundancy.
- The UDP-based client protocol with dynamic access lists and caching reduces latency and improves scalability for block propagation.
- SABRE provides strong security guarantees without requiring changes to the Bitcoin protocol or global deployment of BGP security extensions like RPKI.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.