Morey Haber, Chief Technology Officer, BeyondTrust, says he is amazed at the buzz around Bitcoin, Blockchain, and cryptocurrency. He says: “The truth is that Blockchain has a limited place in business and needs to be secured just like any other application; with some twists.”
Blockchains are not a database replacement, nor will be future applications that utilise them. They are a multi-node distributed ledger system that secures entries based on volume and verification. Natively, Blockchain can only process a limited number of transactions per second and cannot store complex records or blobs – only ledger-style information that has a finite start date, like shipping information.
As such, historical records, pictures, complex indexes and other large datasets are just not good for Blockchain technology. This is one of the problems security teams need to understand. Think of a Blockchain implementation like an old school peer-to-peer network technology from Napster or Bearshare. Each node contains a database of all records and any new entries need to propagate to all other nodes for validity.
While a peer-to-peer network queries its peers for entries, Blockchain actually contains a duplicate of all entries compared to its peers. This means tampering with one node does not invalidate the entire Blockchain. As a consequence, every entry has to be properly validated to be accepted as a ledger entry and propagated to other nodes.
This is where security is so critical. Entries into the Blockchain ledger need to be validated for fraudulent activity, and more importantly, the hosts containing Blockchain implementations need to be secured against vulnerabilities and privileged attacks that could compromise or tamper with Blockchain insertions.
There is no concept of Blockchain ledger modifications – this is key to protect the integrity of the data. Once an entry is accepted, it is permanent. Therefore, if you can attack the server, application, and ledger processes, you can tamper with the Blockchain. This is how some of the recent cryptocurrency attacks have been occurring.
To cite a recent example, on May 28 2018, The Hacker News reported on a wicked vulnerability within the EOS Blockchain Platform. While the vulnerability is considered critical, and the method of exploitation fairly basic (a maliciously crafted file), the ramifications are truly astounding.
After the vulnerable parser reads the file, it forces an exploit on the node which could then be leveraged against the supernode on the EOS platform. The supernode is responsible for collecting transaction information and packing it into blocks. Once the threat actor owns the supernode, he/she can modify or create malicious blocks that would control the entire EOS network.
This includes everything the EOS Blockchain Platform has been implemented to perform – from cryptocurrency, supply chain management, to identity storage. Let this sink in – the uncrackable Blockchain (as it is advertised) can be owned by the fundamental technology designed to protect it; WASM files (smart contracts) and a simple file upload.
So how do we secure Blockchain implementations? We first start with cybersecurity basic hygiene:
- Asset inventory – Identifying and managing the lifecycle of all software, code, applications, nodes and operating system used in the Blockchain
- Change control – Ensuring changes to the operating system, application, and resources are documented and go through a formal change control process
- Configuration management – The hardening and removal of default settings that are a liability for the operating system, application, or network
- Vulnerability management – Ensuring that the operating system, application, web application, and source code are reviewed for vulnerabilities and risks are prioritised accordingly
- Log management – Centrally managing and parsing log files from all resources in the environment including transaction logs
- Patch management – Using a systematic and predictable methodology for deploying maintenance and security patches to all systems in the environment – from firmware to web applications and everything in between
- Identity and access management – The predicable workflow management of identities, roles, and entitlements for all users that have access to resources of the system
- Privileged access management – The management of all privileged access into the Blockchain environment- from operating system to web applications including password management, least privilege access, session management, keystroke logging, and application to application key and password management
And now the twist:
- New entries into the Blockchain should be secured with dynamic privileges and only be valid for one-time usage. This can be done with privileged password access solutions and keys or passwords using an API. An insecure insertion path into the Blockchain can lead to devastating results
- Reads from the Blockchain should be secured in a similar fashion to ensure the retrieval is not tampered with (like a man in the middle attack) before processing by the application
Since modifications and deletions of Blockchain records are not permitted, all entries must be 100% valid or the entire model (ledger) could be compromised. Think of Blockchain as just another application for data storage. It has limited data storage capabilities, is not very fast, but is designed to be highly distributed and 100% reliable. If your application or host can be tampered with, so can your Blockchain.Click below to share this article