Fusion Chain: A Decentralized Lightweight Blockchain for IoT Security and Privacy
Abstract
:1. Introduction
1.1. Blockchain Requirement and IoT Device Specification
1.2. Challenges
- (1)
- Blockchains increase in size as time goes by, and require a large amount of storage; to maintain a full node, the size of the Ethereum blockchain has reached 308 GB, and 271 GB in the case of Bitcoin, to date [10].
- (2)
- The average performance of IoT devices is low. The IoT device’s CPU performance is not suitable for participation in the consensus algorithm of the existing blockchain technology. The PoW consensus process recommends GPU devices, and requires a lot of computation power.
- (3)
- As the use of IoT devices increases, IoT devices store sensitive information, such as personal bioinformatics, photos, and images, and it becomes a serious privacy problem once they are leaked by attacks. In the case of TRENDnet, the company that produces and sells SecurView, due to a security problem with its IoT products, lots of images inside the homes of about 700 households were leaked to hackers [11].
1.3. Research Contribution
- In order to solve the capacity problem, Fusion Chain leverages IPFS (interplanetary file system) as a backend universal storage. IPFS is a distributed file system using a P2P network. In Fusion Chain, the size of the blockchain is reduced by migrating the blocks to IPFS. Instead, it maintains a 32-byte IPFS hash block.
- The PBFT (practical Byzantine fault tolerance) consensus algorithm is converged to overcome the low computing power of the IoT. PBFT is suitable for IoT devices by using network-based consensus rather than computing power by sending a request through the network’s broadcasting process, and then counting the responses.
- PKI (public key infrastructure) solves the problem of revealing private data to all blockchain nodes. PKI consists of a private key stored by itself and a public key disclosed to the other party, so data privacy can be guaranteed by encrypting data with the public key of the user who owns the IoT device, and then decrypting it with the user’s private key only.
2. Related Work
2.1. Lightweight Blockchain
2.2. Consensus Algorithm Based on PBFT
2.3. Privacy in Blockchain
2.4. Other Blockchain Platforms
2.4.1. Bitcoin
2.4.2. Ethereum
2.4.3. Hyperledger Fabric
3. Design
3.1. Overview
- Step 1: An IoT device collects data through sensors and encrypts it using its public key. Then it creates a transaction and propagates the transaction to other participants in the network.
- Step 2: All nodes of the Fusion Chain network use PBFT consensus. If it succeeds, a new block is created, which includes the transaction in Step 1.
- Step 3: Uploads the created block to IPFS.
- Step 4: The uploaded block is stored in the distributed hash table (DHT) of the IPFS network.
- Step 5: When blocks are distributed and stored on the IPFS Network, an IPFS hash is returned to Fusion Chain.
- Step 6: The Fusion Chain node creates a lightweight block that stores the index and IPFS hash of the block in the block, and stores it in the blockchain.
3.2. IoT Node
- (1)
- The data collected from the IoT is encrypted with the user’s public key. A transaction contains this encrypted data, and a block contains this transaction. In Fusion Chain, the block is stored in the blockchain store. In Section 3.4., the detailed process of the blockchain store is described.
- (2)
- When accessing data, the block data is decrypted using a private key owned only by the user. When the data is in the blockchain store, the IoT node uses a hash value of the data to find exact data from the blockchain store.
3.3. Blockchain Network
Algorithm 1. PBFT Algorithm (f = the number of Byzantine nodes) |
|
Algorithm 2. PBFT with block generator algorithm for Fusion Chain (n = the number of Fusion Chain nodes) |
|
3.4. Blockchain Data Store
- Step 1: Blocks are created in the blockchain network as a form of file.
- Step 2: The created block is uploaded to the IPFS.
- Step 3: Block files are distributed to nodes on the IPFS P2P network.
- Step 4: The divided files are stored in the DHT of the IPFS nodes. When saved, it is distributed and saved in the form of key-value.
- Step 5: After uploading to IPFS, the IPFS hash is returned, and the hash value is stored in the blockchain.
3.5. Block Structure
4. Implementation
5. Experimental Results
5.1. Experimental Environment
5.2. Blockchain Size Overhead
5.3. CPU and Memory Overhead
5.4. IPFS Latency of Upload/Cat
5.5. PKI Latency
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Internet of Things (IoT)—Statistics & Facts. Available online: https://www.statista.com/topics/2637/internet-of-things (accessed on 15 June 2020).
- Blockchain IoT Market by Offering (Hardware, Software, and Infrastructure Provider), Application (Smart Contract, Data Security, Data Sharing/Communication, and Asset Tracking & Management), End User, and Geography—Global Forecast to 2024. Available online: https://www.marketsandmarkets.com/Market-Reports/blockchain-iot-market-168941858.html (accessed on 26 March 2019).
- Data Volume of Internet of Things (IoT) Connections Worldwide in 2019 and 2025. Available online: https://www.idc.com/getdoc.jsp?containerId=prUS45213219 (accessed on 18 June 2019).
- IoT Security: Needed Now More than Ever. Available online: https://cisomag.eccouncil.org/iot-security-needed-now-more-than-ever/ (accessed on 18 June 2019).
- The Mirai Botnet Attack and Revenge of the Internet of Things. Available online: http://varonis.com/blog/the-mirai-botnet-attack-and-revenge-of-the-internet-of-things/ (accessed on 19 June 2020).
- Hacker Leaks Passwords for More than 500,000 Servers, Routers, and IoT Devices. Available online: https://www.zdnet.com/article/hacker-leaks-passwords-for-more-than-500000-servers-routers-and-iot-devices/ (accessed on 19 January 2020).
- Qaisar, S.; Abdul, B. DDoS Botnet Prevention using Blockchain in Software Defined Internet of Things. In Proceedings of the 2019 16th International Bhurban Conference on Applied Sciences & Technology (IBCAST), Islamabad, Pakistan, 8–12 January 2019. [Google Scholar]
- Bitcoin Core. Available online: https://bitcoin.org/en/bitcoin-core/ (accessed on 18 July 2017).
- Ray, P.P. A survey on Internet of Things architectures. J. King Saud Univ. Comput. Inform. Sci. 2018, 30, 291–319. [Google Scholar]
- Ethereum Archive Nodes Now Take up 4 Terabytes of Space. Available online: https://decrypt.co/24779/ethereum-archive-nodes-now-take-up-4-terabytes-of-space (accessed on 8 April 2020).
- FTC and TrendNet Settle Claim over Hacked Security Cameras. Available online: https://www.cnet.com/news/ftc-and-trendnet-settle-claim-over-hacked-security-cameras/ (accessed on 4 September 2013).
- IPFS. Available online: https://ipfs.io (accessed on 5 April 2018).
- Miguel, C.; Barbara, L. Practical Byzantine Fault Tolerance. In Proceedings of the Third Symposium on Operating Systems Design and Implementation, New Orleans, LA, USA, 22–25 February 1999. [Google Scholar]
- Ray, H. PKI and Digital Certification Infrastructure. In Proceedings of the Ninth IEEE International Conference on Networks, ICON 2001, Bangkok, Thailand, 10–11 October 2001. [Google Scholar]
- Abdur, R.S.; Corey, S.; Rain, K.; Pissinou, N. Sensor-Chain: A Lightweight Scalable Blockchain Framework for Internet of Things. In Proceedings of the Conference: IEEE international conference on Internet of Things, Atlanta, GA, USA, 15 May 2019. [Google Scholar]
- Foundation IOTA. Available online: https://www.iota.org (accessed on 13 November 2018).
- IOTA Attacked on January 19th 2018/IOTA Technology Is Secure. Available online: https://iota-news.com/iota-attack/ (accessed on 17 June 2019).
- Norvill, R.; Pontiveros, B.B.F.; State, R.; Cullen, A. IPFS for Reduction of Chain Size in Ethereum. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1121–1128. [Google Scholar]
- Nguyen, T.S.L.; Jourjon, G.; Potop-Butucaru, M.; Thai, K.L. Impact of network delays on Hyperledger Fabric. In Proceedings of the IEEE INFOCOM 2019 - IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Paris, France, 29 April–2 May 2019; pp. 222–227. [Google Scholar]
- Cosmos-Whitepaper. Available online: https://cosmos.network/cosmos-whitepaper.pdf (accessed on 20 June 2020).
- Shen, B.; Guo, J.; Yang, Y. MedChain: Efficient Healthcare Data Sharing via Blockchain. Proceedings of the Blockchain Mechanism and Symmetric Encryption in a Wireless Sensor Network. Appl. Sci. 2019, 9, 1207. [Google Scholar]
- Guerrero-Sanchez, A.E.; Rivas-Araiza, E.A.; Gonzalez-Cordoba, J.L.; Toledano-Ayala, M.; Takacs, A. Blockchain Mechanism and Symmetric Encryption in A Wireless Sensor Network. Sensors 2020, 20, 2798. [Google Scholar] [CrossRef] [PubMed]
- Naz, M.; Al-Zahrani, F.A.; Khalid, R.; Javaid, N.; Qamar, A.M.; Afzal, M.K.; Shafiq, M. A Secure Data Sharing Platform Using Blockchain and Interplanetary File System. Sustainability 2019, 11, 7054. [Google Scholar] [CrossRef] [Green Version]
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. bitcoin org. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 24 February 2020).
- Bitcoin Full Node. Available online: https://en.bitcoin.it/wiki/Full_node (accessed on 23 June 2020).
- Bitcoin Lightweight Node. Available online: https://en.bitcoin.it/wiki/Lightweight_node (accessed on 15 January 2018).
- Wood, G. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 2014, 2014, 1–32. [Google Scholar]
- EthHub. Available online: https://docs.ethhub.io/using-ethereum/running-an-ethereum-node/ (accessed on 8 October 2019).
- Ethereum Light-Client-Protocol. Available online: https://eth.wiki/en/concepts/light-client-protocol (accessed on 6 November 2020).
- Cachin, C. Architecture of the hyperledger blockchain fabric. Workshop Distrib. Cryptocurrencies Consens. Ledgers 2016, 310, 4. [Google Scholar]
- Hyperledger Fabric Peers. Available online: https://hyperledger-fabric.readthedocs.io/en/release-2.2/peers/peers.html (accessed on 18 November 2020).
- DHT. Available online: https://docs.ipfs.io/concepts/dht/ (accessed on 16 December 2020).
- Fusion Chain. Available online: https://github.com/sslab-kmu/Fusion-Chain (accessed on 14 September 2020).
- Go Programming Language. Available online: https://golang.org (accessed on 10 November 2009).
- Raspberry Pi4. Available online: https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ (accessed on 24 June 2019).
- Geth. Available online: https://geth.ethereum.org (accessed on 19 August 2015).
- Average File Sizes. Available online: https://blog.online-convert.com/average-file-sizes/ (accessed on 25 February 2015).
Blockchain | Disk Space (Least) | Memory (Least) | System | Operating System |
---|---|---|---|---|
Bitcoin Core [8] | 200 GB | 1 GB | Laptop ARM chipsets 1GHz | Mac OS, Linux, Windows 7/8.x/10 |
Ethereum Full-Node | 464 GB | - | Laptop ARM chipsets | Linux, MacOS |
Hyperledger Fabric | - | 4 GB | - | Mas OS, Ubuntu Linux |
Platform | CPU | GPU | Clock Speed | Memory | Storage (Flash) |
---|---|---|---|---|---|
Intel Galileo Gen2 | Intel® Quark™ SoC X1000 | - | 400 MHz | 256 MB | 8 MB |
Intel Edison | Intel® Quark™ SoC X1000 | - | 100 MHz | 1 GB | 4 GB |
Beagle Bone Black | Sitara AM3358BZCZ100 | PowerVR SGX530 @520 MHz | 1 GHz | 512 MB | 4 GB |
Electric Imp 003 | ARM Cortex M4F | - | 320 MHz | 120 KB | 4 Mb |
Raspberry Pi B+ | Broadcom BCM2835 SoC based ARM11 76JZF | VideoCore IV® Multimedia@ 250 MHz | 700 MHz | 512 MB | SD Card |
ARM NXP LPC1768 | ARM Cortex M3 | - | 96 MHz | 32 KB | 512 KB |
Platform | Scalability | Consensus Algorithm | Node Type | Block Creation | Block Validation | TX Creation/Validation | CPU/GPU Overhead |
---|---|---|---|---|---|---|---|
Bitcoin | O | PoW | Full-Node | O | O | O | High |
Lightweight-Node | X | X | O | Low | |||
Ethereum | O | PoW | Full-Node | O | O | O | High |
Lightweight-Node | X | X | O | Low | |||
Hyperledger Fabric | X | Kafka, Raft, Solo, PBFT (practical Byzantine fault tolerance). | Peer | X | O | O | Low |
Orderer | O | X | X | Low | |||
* Fusion Chain | O | PBFT | - | O | O | O | Low |
Layer | Features |
---|---|
IoT Node | Through the sensor, data is collected from the surrounding environment and the device performs data encryption with a public key to create a transaction. |
Blockchain Network | Blocks are created through transactions. After verifying the block through the PBFT consensus algorithm, it is uploaded to the interplanetary file system (IPFS) network. |
Blockchain Data Store | Blocks created in the blockchain network are distributed and stored in the IPFS network, and the IPFS hash is returned. |
Data Type | Size | Format |
---|---|---|
Log | 1 KB | txt |
Picture | 10 KB | jpg |
Sound | 100 KB | wav |
Video | 1 MB | mp4 |
Data Type | Maximum | Minimum | Median |
---|---|---|---|
Log | 104.97 ms | 85.801 ms | 91.632 ms |
Picture | 115.81 ms | 84.635 ms | 93.43 ms |
Sound | 123.7 ms | 87.733 ms | 97.877 ms |
Video | 155.98 ms | 117.76 ms | 127.91 ms |
Data Type | Maximum | Minimum | Median |
---|---|---|---|
Log | 87.968 ms | 75.715 ms | 80.097 ms |
Picture | 97.287 ms | 75.448 ms | 80.806 ms |
Sound | 94.959 ms | 79.263 ms | 84.905 ms |
Video | 121.76 ms | 88.139 ms | 98.572 ms |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Na, D.; Park, S. Fusion Chain: A Decentralized Lightweight Blockchain for IoT Security and Privacy. Electronics 2021, 10, 391. https://doi.org/10.3390/electronics10040391
Na D, Park S. Fusion Chain: A Decentralized Lightweight Blockchain for IoT Security and Privacy. Electronics. 2021; 10(4):391. https://doi.org/10.3390/electronics10040391
Chicago/Turabian StyleNa, Dongjun, and Sejin Park. 2021. "Fusion Chain: A Decentralized Lightweight Blockchain for IoT Security and Privacy" Electronics 10, no. 4: 391. https://doi.org/10.3390/electronics10040391
APA StyleNa, D., & Park, S. (2021). Fusion Chain: A Decentralized Lightweight Blockchain for IoT Security and Privacy. Electronics, 10(4), 391. https://doi.org/10.3390/electronics10040391