安全与密码学2014arxiv.org编辑精选
Bitcoin over Tor 并非好主意
Bitcoin over Tor isn't a good idea
进阶 · 约 45 分钟读完前置知识:Tor 网络基础、比特币 P2P 协议、网络安全基础
导读
这篇论文(Biryukov 与 Pustogarov,卢森堡大学)分析通过 Tor 网络运行比特币节点的安全性,指出这一组合并不像此前认为的那样安全:控制少量 Tor 出口中继的攻击者就能对比特币节点的连接实施中间人或流量分析,从而降低用户匿名性;论文还讨论了比特币节点所使用的 Tor 隐藏服务可被少量恶意中继“黑洞化”(blackhole),使其无法访问。细节多来自对 Tor 与比特币源码的分析。
HN 关注点:Tor 出口节点本身能对流量做中间人攻击,而比特币完全依赖明文 P2P 连接,两者叠加并不等于“双倍匿名”,反而可能被廉价的出口中继攻击破坏匿名性。
HN 评论精选
这几条评论里:质疑 1 补充 2 亲历 1
亲历Tor 只隐藏通信双方身份、不保护数据内容,出口中继可轻易 MITM 并窃取比特币交易,因此不应通过 Tor 传关键数据。
我研究过 TorCoin,自认对 Tor 和比特币有一定了解。最让我担心的是,人们没有意识到出口中继对你的流量做 MITM 有多容易。Tor 的价值主张不是保护你所有流量的安全,而是端到端地匿名化流量,使看到你数据的人不知道数据从哪来、到哪去——但他们仍然能看到数据本身。实际上,从出口到互联网这一段基本是明文,中继运营者可以做 MITM。Tor 只比 VPN 或代理更安全,因为出口中继不知道你的身份,但它仍能访问你通过它传输的数据。任何人都能架设 Tor 出口中继,在上面搭一个 MITM 代理是小事一桩;窃取比特币交易同样简单,只要监听相应的流量特征即可。不要通过 Tor 传输任何业务关键数据。它是保护身份的好工具,但不保护数据。用 HTTPS 相对安全些,因为中继篡改证书会让你收到警告;而纯 HTTP 下你根本不知道自己被 MITM 了。
chatmasta查看英文原文
I researched TorCoin. I feel like I know a fair amount about Tor and BitCoin. What worries me most about Tor is that people do not realize how trivially an exit relay can MITM your traffic. The value proposition of Tor is NOT keeping all your traffic safe. It's anonymizing your traffic from end to end, so that nobody who sees your data knows both where it came from and where it's going. They can still see the data itself. For all intents and purposes, traffic from Exit -> Internet is plaintext. The relay operator can MITM it. Tor is only safer than a VPN or proxy because the exit relay does not know your identity. It can still access the data you transfer through it. [4] Anyone can start a Tor exit relay, and setting up a MITM proxy on it is trivial. Siphoning bitcoin transactions is equally trivial. Just listen for the proper traffic patterns. You should not be transferring any business-critical data over Tor. It's a great tool for protecting your identity, but not your data. With HTTPS, you're relatively safer, since you'll get an alert if a relay is MITM'ing you and modifying the certificate. But with plain HTTP, you won't even know when you're getting MITM'd. More Resources: [1] http://security.stackexchange.com/questions/34804/how-safe-is-tor-from-mitm-snooping-attacks [2] https://blog.torproject.org/category/tags/mitm (includes links to research papers) [3] https://www.petsymposium.org/2014/papers/Winter.pdf [4] Emphasis on "for all intents and purposes." Not a true statement universally.
质疑质疑论文所称“比特币除白皮书和 Wiki 外无正式规范、只能靠读源码”的说法。
论文里写:“许多细节并未出现在任何规范中,而是通过仔细分析相应源代码得到的。对比特币尤其如此,除原始白皮书和 Bitcoin Wiki 之外,它没有任何官方文档。”这看起来有点奇怪。
resolutionx查看英文原文
" Many of these details do not appear in any specifications and were obtained by a careful analysis of the corresponding source code. This is especially true for Bitcoin for which there exists no official documentation except for the original white paper [14] and Bitcoin Wiki[3]." Well that seems a bit odd.
补充Tor 与比特币提供的匿名性质根本不同,不能简单叠加就以为获得双重匿名。
Tor 和比特币在各自的假名性规范里隐藏的是根本不同的东西。可人们似乎把 Tor 当成可以随便抹在任何项目上的“魔法匿名花生酱”。
s_q_b查看英文原文
Tor and Bitcoin hide fundamentally different things in their pseudonymity specs. It's like people think Tor is magic anonymity peanut butter they can spread on whichever project they wish.
补充论文对 P2P 网络与 Tor 结合的系统性问题有参考价值,并提醒隐藏服务可被轻易黑洞化。
有意思的是,它指出了每个想借助 Tor 获得隐私的 P2P 网络都必须考虑的一系列问题。另外我之前不知道 Tor 隐藏服务可以被如此轻易地“黑洞化”(不过对 Tor 老用户来说这大概众所周知)。
nhaehnle查看英文原文
This is interesting in that it highlights a number of problems that every peer-to-peer network that wishes to use something like Tor for privacy needs to take into account. I also wasn't aware that Tor hidden services can be "blackholed" so easily (it sounds like this is probably well known to regular Tor users, though).
相关资源
从这篇论文所有 HN 讨论帖的全部评论里整理出来的链接。
历次讨论
- 2014Hacker News 讨论帖162 分 · 36 评
同领域还值得读
如何入侵一台已关机的电脑:在 Intel ME 中运行未签名代码
How to hack a turned-off computer, or running unsigned code in Intel ME
这篇 Black Hat 2017 白皮书讨论 Intel Management Engine(ME)的安全问题:如何在 ME 中运行未签名代码,以及攻破处于关机状态的电脑的相关…
安全与密码学2017 · 543 分 · 107 评专业 · 约 40 分钟编辑精选比特币:一种点对点的电子现金系统(2008)
Bitcoin: A Peer-to-Peer Electronic Cash System (2008)
中本聪 2008 年发表的比特币白皮书,提出了无需可信第三方的点对点电子现金系统。
安全与密码学2017 · 536 分 · 394 评入门 · 约 45 分钟编辑精选GPRS 加密算法 GEA-1 的密码分析表明存在故意弱点
Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest intentional weakness
首次公开了对 GPRS 加密算法 GEA-1 和 GEA-2 的密码分析攻击。
安全与密码学2021 · 487 分 · 107 评专业 · 约 90 分钟编辑精选Signal 消息协议的形式化安全分析
A Formal Security Analysis of the Signal Messaging Protocol
用形式化方法分析 Signal 消息协议(TextSecure)的安全性:作者在多阶段密钥交换模型下,借助自动化证明工具对协议的密钥协商与 Double Ratchet 密钥更新…
安全与密码学2016 · 353 分 · 230 评专业 · 约 120 分钟编辑精选A2:模拟恶意硬件
A2: Analog Malicious Hardware
论文研究如何在芯片设计阶段植入模拟电路形式的恶意硬件后门,使其难以被常规检测发现。
安全与密码学2016 · 315 分 · 94 评专业 · 约 75 分钟编辑精选