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


We will begin the lab by first turning up the Node.js and Ganache-CLI framework. Installation of  ganache-cli has to be performed carefully as it creates the entire Ethereum environment in our local system. Take the following steps:

  1. Install Node.js using the commands shown on the website at https://nodejs.org/uk/download/package-manager/#arch-linux.
  1. Run the following command in the Terminal:
npm install -g ganache-cli

Now, we  start the test network by using the command shown in the following screenshot in the Terminal:

  1. We now have to enable the developer mode to see the browser content in detail. We also have to enable the LOAD UNPACKED extension, as shown in the following screenshot:

Testing

CAs can issue Reaction Policies (RPs), which take effect if an unauthorized certificate for a domain is issued. In the process of testing, we need to register Domain Certificate Policies (DCPs) and create RPs. The testing can be done with the following steps on our local  system:

  1.  We first need to add...