Book Image

Securing Blockchain Networks like Ethereum and Hyperledger Fabric

By : Alessandro Parisi
Book Image

Securing Blockchain Networks like Ethereum and Hyperledger Fabric

By: Alessandro Parisi

Overview of this book

Blockchain adoption has extended from niche research to everyday usage. However, despite the blockchain revolution, one of the key challenges faced in blockchain development is maintaining security, and this book will demonstrate the techniques for doing this. You’ll start with blockchain basics and explore various blockchain attacks on user wallets, and denial of service and pool mining attacks. Next, you’ll learn cryptography concepts, consensus algorithms in blockchain security, and design principles while understanding and deploying security implementation guidelines. You’ll not only cover architectural considerations, but also work on system and network security and operational configurations for your Ethereum and Hyperledger Fabric network. You’ll later implement security at each level of blockchain app development, understanding how to secure various phases of a blockchain app using an example-based approach. You’ll gradually learn to securely implement and develop decentralized apps, and follow deployment best practices. Finally, you’ll explore the architectural components of Hyperledger Fabric, and how they can be configured to build secure private blockchain networks. By the end of this book, you’ll have learned blockchain security concepts and techniques that you can implement in real blockchain production environments.
Table of Contents (15 chapters)
1
Section 1: Blockchain Security Core Concepts
5
Section 2: Architecting Blockchain Security
8
Section 3: Securing Decentralized Apps and Smart Contracts
11
Section 4: Preserving Data Integrity and Privacy

Trustless Blockchain Networks

After having addressed the main features of the blockchain and outlined its main threats, we now deal with the mechanisms used to create trustless networks. Trustless networks are those networks that do not need to introduce a privileged node that guarantees trust within the entire network. On the contrary, trustless networks exploit the characteristics of decentralized networks, such as peer-to-peer (P2P) networks, to achieve trust in the network.

Over the course of this chapter, we will be using Bitcoin's blockchain as reference, since it represents the most successful case of blockchain, namely, Bitcoin's blockchain. We will also deal with the management of transactions within the blockchain, analyzing in detail the mechanisms for creating and synchronizing blocks.

We will conclude the chapter by analyzing the security aspects associated...