攻击与改进Tor目录协议
Attacking and Improving the Tor Directory Protocol
AI总结:
该研究发现Tor目录共识协议存在单被攻破节点即可发起的模棱两可攻击漏洞,提出短期部署TorEq监控检测、长期采用近最优效率的DirCast拜占庭广播协议主动修复的两阶段方案,正推进方案落地Tor项目。
摘要:
Tor网络通过由志愿中间中继组成的覆盖网络路由流量,以此增强客户端的隐私性。Tor在9台硬编码的目录权威(Directory Authority,DA)服务器之间运行一种分布式协议,用于安全分发这些中继的相关信息,每小时生成一份新的共识文档。该协议采用简单的投票机制确保一致性,即便少数权威服务器被攻破,协议仍应保持安全。然而当前的共识协议存在缺陷:它易受模棱两可攻击(equivocation attack),仅需一台被攻破的权威服务器就能生成包含恶意中继的有效共识文档。值得注意的是,该漏洞并非无关紧要:我们证明,被攻破的权威服务器能以无法被检测的方式,有效诱骗目标客户端使用存在歧义的共识文档。此外,即便我们拥有Tor自诞生以来的所有存档共识文档,也无法确定从未有客户端被诱骗。\n我们提出了一种分两阶段的解决方案来应对此漏洞。短期来看,我们开发并部署了TorEq——一种用于被动检测此类漏洞的监控工具:Tor客户端可在更新共识前查询该监控工具,确保不存在歧义。为主动解决该问题,我们首先将Tor DA共识问题定义为分布式计算领域中的交互一致性(interactive consistency,IC)问题。随后我们设计了DirCast,这是一种新型安全拜占庭广播协议,对当前Tor DA代码库的代码改动极小。我们的协议效率接近最优,在当前9台权威服务器的系统中,乐观情况下需5轮通信,最多9轮即可达成共识。我们正与Tor安全团队沟通,以将这些解决方案整合到Tor项目中。
英文摘要:
The Tor network enhances clients' privacy by routing traffic through an overlay network of volunteered intermediate relays. Tor employs a distributed protocol among nine hard-coded Directory Authority (DA) servers to securely disseminate information about these relays to produce a new consensus document every hour. With a straightforward voting mechanism to ensure consistency, the protocol is expected to be secure even when a minority of those authorities get compromised. However, the current consensus protocol is flawed: it allows an equivocation attack that enables only a single compromised authority to create a valid consensus document with malicious relays. Importantly the vulnerability is not innocuous: We demonstrate that the compromised authority can effectively trick a targeted client into using the equivocated consensus document in an undetectable manner. Moreover, even if we have archived Tor consensus documents available since its beginning, we cannot be sure that no client was ever tricked. We propose a two-stage solution to deal with this exploit. In the short term, we have developed and deployed TorEq, a monitor to detect such exploits reactively: the Tor clients can refer to the monitor before updating the consensus to ensure no equivocation. To solve the problem proactively, we first define the Tor DA consensus problem as the interactive consistency (IC) problem from the distributed computing literature. We then design DirCast, a novel secure Byzantine Broadcast protocol that requires minimal code change from the current Tor DA code base. Our protocol has near-optimal efficiency that uses optimistically five rounds and at most nine rounds to reach an agreement in the current nine-authority system. We are communicating with the Tor security team to incorporate the solutions into the Tor project.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。