Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Cybersecurity with Blockchain

You're reading from   Hands-On Cybersecurity with Blockchain Implement DDoS protection, PKI-based identity, 2FA, and DNS security using Blockchain

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher
ISBN-13 9781788990189
Length 236 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Rajneesh Gupta Rajneesh Gupta
Author Profile Icon Rajneesh Gupta
Rajneesh Gupta
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Cyber Threat Landscape and Security Challenges 2. Security Must Evolve FREE CHAPTER 3. Introducing Blockchain and Ethereum 4. Hyperledger – Blockchain for Businesses 5. Blockchain on the CIA Security Triad 6. Deploying PKI-Based Identity with Blockchain 7. Two-Factor Authentication with Blockchain 8. Blockchain-Based DNS Security Platform 9. Deploying Blockchain-Based DDoS Protection 10. Facts about Blockchain and Cyber Security 11. Assessment 12. Other Books You May Enjoy

Lab


In order to deploy the blockchain-based DDoS protection platform, we must prepare the test environment with Node.js and Truffle with Ethereum blockchain. We will be using an existing blockchain project to defend a network from a DDoS attack. The project link can be found at https://github.com/gladiusio/gladius-contracts.

We need to follow these steps to prepare the infrastructure for the Gladius project:

  1. First, we will install Node.js in our environment at https://nodejs.org/uk/download/package-manager/#arch-linux.
  2. We need to install truffle in test the environment:
npm install -g truffle
  1. Run the following command in the Terminal:
npm install -g ganache-cli
  1. Now, we can start the test network with this command in the Terminal:
ganache-cli

The following screenshot shows the output of running the preceding command:

  1. In this Terminal window, we can see all transactions in the test blockchain network. Now, we have to open a new Terminal window and need to jump into the working directory.

To set up the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime