arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08358cs.CRcs.DCcs.MAcs.PF
收藏

通过基于代理的仿真分析分布式账本和区块链的安全性

Security Analysis of Distributed Ledgers and Blockchains through Agent-based Simulation

Luca Serena, Gabriele D'Angelo, Stefano Ferretti

摘要:

在本文中,我们描述了LUNES-Blockchain,这是一个基于代理的区块链模拟器,它依赖于并行和分布式模拟(PADS)技术来获得高可扩展性。该软件被组织为一个多级模拟器,允许模拟一个虚拟环境,由运行特定分布式账本技术(DLT)协议的许多节点组成,例如比特币或以太坊区块链。该虚拟环境在较低级别的对等(P2P)网络覆盖之上执行,该网络覆盖可以基于不同的拓扑结构并具有给定数量的节点和边缘。不同抽象级别的功能由不同的软件模块以不同的时间粒度单独管理。这允许在需要的地方(以及何时)进行准确的模拟,并增强了模拟性能。使用LUNES-Blockchain,可以模拟DLT上不同类型的攻击。在本文中,我们特别关注P2P层,考虑自私挖掘,51%攻击和Sybil攻击。对于自私挖掘和51%攻击,我们的目标是了解攻击者的哈希率(即区块链网络中处理能力的一般度量)可以影响不当行为的结果。另一方面,在过滤拒绝服务(即Sybil攻击),我们调查在底层P2P网络的传播协议,使系统更有弹性的不同数量的节点,丢弃的消息。结果证实了基于模拟的技术的DLT的安全方面的调查的可行性。

英文摘要:

In this paper we describe LUNES-Blockchain, an agent-based simulator of blockchains that relies on Parallel and Distributed Simulation (PADS) techniques to obtain high scalability. The software is organized as a multi-level simulator that permits to simulate a virtual environment, made of many nodes running the protocol of a specific Distributed Ledger Technology (DLT), such as the Bitcoin or the Ethereum blockchains. This virtual environment is executed on top of a lower-level Peer-to-Peer (P2P) network overlay, which can be structured based on different topologies and with a given number of nodes and edges. Functionalities at different levels of abstraction are managed separately, by different software modules and with different time granularity. This allows for accurate simulations, where (and when) it is needed, and enhances the simulation performance. Using LUNES-Blockchain, it is possible to simulate different types of attacks on the DLT. In this paper, we specifically focus on the P2P layer, considering the selfish mining, the 51% attack and the Sybil attack. For which concerns selfish mining and the 51% attack, our aim is to understand how much the hash-rate (i.e. a general measure of the processing power in the blockchain network) of the attacker can influence the outcome of the misbehaviour. On the other hand, in the filtering denial of service (i.e. Sybil Attack), we investigate which dissemination protocol in the underlying P2P network makes the system more resilient to a varying number of nodes that drop the messages. The results confirm the viability of the simulation-based techniques for the investigation of security aspects of DLTs.

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

↑