arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.08859cs.LOcs.CYcs.DCcs.NI
收藏

在ACL2s中验证GossipSub协议

Verification of GossipSub in ACL2s

Ankit Kumar, Max von Hippel, Panagiotis Manolios, Cristina Nita-Rotaru

AI总结:

本文使用ACL2s形式化模型验证GossipSub协议,发现其评分机制无法有效剔除不良节点,并据此生成攻击,已获开发者确认并披露为CVE-2022-47547。

摘要:

GossipSub是一种流行的新型点对点网络协议,旨在通过允许节点仅将消息的完整内容转发给其邻居节点(网格邻居)中动态选择的子集,同时与其余节点闲聊(gossip)其已见消息,从而快速高效地传播消息。节点使用每个邻居的评分,在本地定期决定将其网格中哪些邻居纳入(graft)或移除(prune)。评分使用一个评分函数计算,该函数依赖于网格特定参数、权重以及与节点在网络中表现相关的计数器。由于GossipSub网络的性能最终取决于其节点的性能,因此一个重要问题随之产生:评分计算机制是否能有效将表现不佳甚至故意行为不当的节点从网格中剔除?我们在配套论文中通过使用我们正式的、官方的且可执行的ACL2s模型对GossipSub进行推理,对此问题给出了否定回答。基于我们的发现,我们综合并模拟了对GossipSub的攻击,这些攻击得到了GossipSub、FileCoin和Eth2.0开发者的确认,并在MITRE CVE-2022-47547中公开披露。在本文中,我们详细描述了我们的模型。我们讨论了设计决策、GossipSub的安全属性、在我们的模型背景下对安全属性的推理、攻击生成以及我们在编写模型时学到的经验教训。

英文摘要:

GossipSub is a popular new peer-to-peer network protocol designed to disseminate messages quickly and efficiently by allowing peers to forward the full content of messages only to a dynamically selected subset of their neighboring peers (mesh neighbors) while gossiping about messages they have seen with the rest. Peers decide which of their neighbors to graft or prune from their mesh locally and periodically using a score for each neighbor. Scores are calculated using a score function that depends on mesh-specific parameters, weights and counters relating to a peer's performance in the network. Since a GossipSub network's performance ultimately depends on the performance of its peers, an important question arises: Is the score calculation mechanism effective in weeding out non-performing or even intentionally misbehaving peers from meshes? We answered this question in the negative in our companion paper by reasoning about GossipSub using our formal, official and executable ACL2s model. Based on our findings, we synthesized and simulated attacks against GossipSub which were confirmed by the developers of GossipSub, FileCoin, and Eth2.0, and publicly disclosed in MITRE CVE-2022-47547. In this paper, we present a detailed description of our model. We discuss design decisions, security properties of GossipSub, reasoning about the security properties in context of our model, attack generation and lessons we learnt when writing it.

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

↑