[Paper Review] An Analysis of Attacks on Blockchain Consensus
This paper presents a novel continuous-time economic model to evaluate the profitability and success probability of double-spend attacks on blockchain systems, particularly Bitcoin, accounting for mining power, transaction confirmation depth, goods at risk, and the impact of concurrent eclipse attacks. It shows that transaction security increases logarithmically with confirmation depth, with 55 confirmations protecting against attackers with up to 35% of mining power when goods at risk exceed 1 million BTC.
We present and validate a novel mathematical model of the blockchain mining process and use it to conduct an economic evaluation of the double-spend attack, which is fundamental to all blockchain systems. Our analysis focuses on the value of transactions that can be secured under a conventional double-spend attack, both with and without a concurrent eclipse attack. Our model quantifies the importance of several factors that determine the attack's success, including confirmation depth, attacker mining power, and any confirmation deadline set by the merchant. In general, the security of a transaction against a double-spend attack increases roughly logarithmically with the depth of the block, made easier by the increasing sum of coin turned-over (between individuals) in the blocks, but more difficult by the increasing proof of work required. In recent blockchain data, we observed a median block turnover value of 6 BTC. Based on this value, a merchant requiring a single confirmation is protected against only attackers that can increase the current mining power by 1% or less. However, similar analysis shows that a merchant that requires a much longer 72 confirmations (~12 hours) will eliminate all potential profit for any double-spend attacker adding mining power less than 40% of the current mining power.
Motivation & Objective
- To address the lack of comprehensive economic models for double-spend attacks in blockchain systems, especially beyond basic probability of success.
- To quantify the real-world security of transactions against double-spending, considering attacker incentives and costs.
- To evaluate the synergistic impact of double-spend and eclipse attacks on transaction security.
- To provide actionable guidance for merchants and protocol designers on setting safe confirmation depths and deadlines.
Proposed method
- Develops a continuous-time mathematical model of the blockchain mining process to analyze double-spend attack dynamics.
- Incorporates key variables: attacker’s mining power (q), confirmation depth (z), goods at risk (v), and coinbase reward.
- Uses equations to model attacker profit and break-even conditions, including the cost of proof-of-work and potential gains.
- Validates the model using real-world block mining data from 2016 to assess confirmation timing and deadline feasibility.
- Evaluates the combined effect of double-spend and eclipse attacks by modeling an attacker who controls a peer’s view of the blockchain.
- Constructs a decision framework using Fig. 3 (based on Eqs. 10 and 22) to help users select z confirmations based on desired security levels.
Experimental results
Research questions
- RQ1What is the economic break-even point for a double-spend attack given varying levels of mining power and confirmation depth?
- RQ2How does the presence of an eclipse attack affect the profitability and success rate of a double-spend attack?
- RQ3What confirmation depth (z) is required to protect against attackers with up to 35% of the mining power when goods at risk are as high as 1 million BTC?
- RQ4How does the total value of goods at risk (turnover) influence the security of a transaction against double-spending?
- RQ5Under what conditions does a merchant-imposed confirmation deadline reduce the attacker’s profit, especially in the presence of an eclipse attack?
Key findings
- A merchant requiring only one confirmation is protected against attackers with up to 10% of the mining power, provided the value of goods at risk is less than 100 BTC.
- With 55 confirmations (approximately 9 hours), a transaction is protected against attackers with up to 35% of the mining power, even when the goods at risk reach 1 million BTC (valued at around $700 million).
- Transaction security increases roughly logarithmically with confirmation depth, due to the growing proof-of-work cost and increasing potential profit for the attacker.
- The eclipse attack only increases attacker profitability if the attacker controls less than 35% of the mining power or if fewer than 10 confirmations are required.
- A conservative confirmation deadline (e.g., d = 10z minutes) significantly reduces attacker gains, but only about 60% of z-block sequences meet such a deadline in practice, suggesting need for contingency plans.
- Merchants should set the value of goods at risk (v) to the maximum observed turnover in the z blocks following the transaction’s confirmation to ensure conservative security.
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.