arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.06545cs.CRcs.CY
收藏

硬化层,比特币池采矿协议

Hardening Stratum, the Bitcoin Pool Mining Protocol

Ruben Recabarren, Bogdan Carbunar

摘要:

Stratum是基于区块链的加密货币系统使用的事实上的采矿通信协议,使矿工能够可靠有效地从矿池服务器获取作业。在本文中,我们利用Stratum缺乏加密来开发对比特币挖矿协议的被动和主动攻击,这对隐私,安全甚至挖矿设备所有者的安全都有重要影响。我们介绍了Stratap和ISP Log攻击,如果允许访问矿工通信甚至他们的日志,则可以推断矿工收入。我们开发了BiteCoin,这是一种主动攻击,可以劫持矿工提交的份额及其相关支出。我们在WireGhost上构建BiteCoin,WireGhost是我们开发的一种工具,用于劫持和秘密维护Stratum连接。我们的攻击表明,通过普遍加密来保护Stratum不仅是不可取的(由于大量的开销),而且是无效的:即使只允许访问数据包时间戳,对手也可以预测矿工的收入。相反,我们设计了Bedrock,这是一个极简的Stratum扩展,可以保护采矿参与者的隐私和安全。我们引入并利用挖掘cookie概念,每个矿工与池共享并包含在其谜题计算中的秘密,并防止攻击者重建或劫持谜题。我们已经实施了我们的攻击,并从美国和委内瑞拉的采矿设备中收集了138MB的Stratum协议流量。我们表明,基岩是弹性的主动攻击,即使当对手打破了它使用的加密结构。Bedrock在一台处理16,000名矿工的采矿流量的池服务器上施加了12.03s的每日开销。

英文摘要:

Stratum, the de-facto mining communication protocol used by blockchain based cryptocurrency systems, enables miners to reliably and efficiently fetch jobs from mining pool servers. In this paper we exploit Stratum's lack of encryption to develop passive and active attacks on Bitcoin's mining protocol, with important implications on the privacy, security and even safety of mining equipment owners. We introduce StraTap and ISP Log attacks, that infer miner earnings if given access to miner communications, or even their logs. We develop BiteCoin, an active attack that hijacks shares submitted by miners, and their associated payouts. We build BiteCoin on WireGhost, a tool we developed to hijack and surreptitiously maintain Stratum connections. Our attacks reveal that securing Stratum through pervasive encryption is not only undesirable (due to large overheads), but also ineffective: an adversary can predict miner earnings even when given access to only packet timestamps. Instead, we devise Bedrock, a minimalistic Stratum extension that protects the privacy and security of mining participants. We introduce and leverage the mining cookie concept, a secret that each miner shares with the pool and includes in its puzzle computations, and that prevents attackers from reconstructing or hijacking the puzzles. We have implemented our attacks and collected 138MB of Stratum protocol traffic from mining equipment in the US and Venezuela. We show that Bedrock is resilient to active attacks even when an adversary breaks the crypto constructs it uses. Bedrock imposes a daily overhead of 12.03s on a single pool server that handles mining traffic from 16,000 miners.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑