Book Image

Hands-On Cybersecurity with Blockchain

By : Rajneesh Gupta
Book Image

Hands-On Cybersecurity with Blockchain

By: Rajneesh Gupta

Overview of this book

Blockchain technology is being welcomed as one of the most revolutionary and impactful innovations of today. Blockchain technology was first identified in the world’s most popular digital currency, Bitcoin, but has now changed the outlook of several organizations and empowered them to use it even for storage and transfer of value. This book will start by introducing you to the common cyberthreat landscape and common attacks such as malware, phishing, insider threats, and DDoS. The next set of chapters will help you to understand the workings of Blockchain technology, Ethereum and Hyperledger architecture and how they fit into the cybersecurity ecosystem. These chapters will also help you to write your first distributed application on Ethereum Blockchain and the Hyperledger Fabric framework. Later, you will learn about the security triad and its adaptation with Blockchain. The last set of chapters will take you through the core concepts of cybersecurity, such as DDoS protection, PKI-based identity, 2FA, and DNS security. You will learn how Blockchain plays a crucial role in transforming cybersecurity solutions. Toward the end of the book, you will also encounter some real-world deployment examples of Blockchain in security cases, and also understand the short-term challenges and future of cybersecurity with Blockchain.
Table of Contents (17 chapters)
Title Page
About Packt
Contributors
Preface
Index

Lab


After understanding these insights into Hyperledger Fabric, with its architecture, components, transaction flow, and chaincode, it is now time to arrange each of these pieces in a lab. In order to keep the lab accessible, we are going to run a lab environment from GitHub hosted under https://fabric-sdk-node.github.io/.

Tuna application

The tuna application is about the transfer of tuna fish shipments between different parties in the supply chain. This entire application is written in Node.js, and gRPC is used to interact with the chaincode:

  • Aim: Using the Fabric Node SDK, establish a connection with the Hyperledger blockchain. The peer will be configured to communicate to its application-specific chaincode container. By the end of this exercise, we will get familiar with how to use the Node.js SDK to communicate with the network. We will also gain an understanding of how an application chaincode network and ledger interact with one another.
  • Basic installationIn case you haven't downloaded...