ThesisPDF Available

Analyzing and Securing Data using Data Science and Blockchain in Smart Networks

Authors:

Abstract and Figures

Wireless Sensor Networks (WSNs) are vulnerable to faults because of their deployment in unpredictable and hazardous environments. This makes WSN prone to failure such as software, hardware, and communication failures. Due to the sensor’s limited resources and diverse deployment fields, fault detection in WSNs has become a daunting task. To solve this problem, Support Vector Machine (SVM), Probabilistic Neural Network (PNN), Stochastic Gradient Descent (SGD), Multilayer Perceptron (MLP), Random Forest (RF), and Convolutional Neural Network (CNN) classifiers are used for classification of gain, offset, spike, data loss, out of bounds, and stuck-at faults at the sensor level. Out of six faults, two of them are induced in the datasets, i.e., spike and data loss faults. Likewise, sensors embedded mobile phones are used for the collection of data for some specific task which can effectively save cost and time in Crowd Sensing Network (CSN). The quality of collected data depends on the participation level from all entities of CSN, i.e., service provider, service consumers and data collectors. In comparison with the centralized traditional incentive and reputation mechanisms, we propose a blockchain based incentive and reputation mechanism for CSNs, which mainly consists of three smart contracts. The incentives are used to stimulate the involvement of data collectors and motivate the participants to join the network. Also, the issue of privacy leakage is tackled by using Advanced Encryption Standard (AES128) technique. In addition to that, a reputation system is implemented to tackle the issues like untrustworthiness, fake reviews, and conflicts among entities. Through registering reviews, the system encourages data utilization by providing correct, consistent and reliable data. Furthermore, the results of first scenario are compared on the basis of their Detection Accuracy (DA), True Positive Rate (TPR), Matthews Correlation Coefficients (MCC), and F1-score. In this thesis, a comparative analysis is performed among the classifiers mentioned previously on real-world datasets and simulations demonstrate that the RF algorithm secures a better rate of fault detection than the rest of the classifiers. Similarly, the second scenario is evaluated through analyzing the gas consumption of all the smart contracts, whereas, the encryption technique is validated through comparing the execution time with base paper technique. Lastly, the reputation system is inspected through analyzing the gas consumption and mining time of input string length.
Content may be subject to copyright.
A preview of the PDF is not available
... To overcome the issues, the authors proposed a blockchain-based trusted system for nodes' routing and recovery. The insecurity and untrustworthiness of data is also identified by the authors in [25][26][27][28][29]. To overcome the issues, blockchain-based systems are presented. ...
Article
Full-text available
In this paper, a blockchain-based data sharing and access control system is proposed, for communication between the Internet of Things (IoT) devices. The proposed system is intended to overcome the issues related to trust and authentication for access control in IoT networks. Moreover, the objectives of the system are to achieve trustfulness, authorization, and authentication for data sharing in IoT networks. Multiple smart contracts such as Access Control Contract (ACC), Register Contract (RC), and Judge Contract (JC) are used to provide efficient access control management. Where ACC manages overall access control of the system, and RC is used to authenticate users in the system, JC implements the behavior judging method for detecting misbehavior of a subject (i.e., user). After the misbehavior detection, a penalty is defined for that subject. Several permission levels are set for IoT devices' users to share services with others. In the end, performance of the proposed system is analyzed by calculating cost consumption rate of smart contracts and their functions. A comparison is made between existing and proposed systems. Results show that the proposed system is efficient in terms of cost. The overall execution cost of the system is 6,900,000 gas units and the transaction cost is 5,200,000 gas units.
... Authors in [25,26] proposed incentive mechanism and repudiation In [27][28][29] authors used blockchain for data trading and store health records of patients on IPFS. Authors in [30][31][32] performed node recovery in wireless sensor networks and provide secure communication in crowd sensor networks through blockchain (Table 2). ...
Chapter
Full-text available
The growing number of Renewable Energy Sources (RES) in the energy system provides new market approaches according to price and decentralized generation of electricity. Local market, in which consumers and prosumers can trade locally by generation of electricity through RES directly within their community. This approach creates a balance between generation and consumption in a decentralized manner. In this paper, a distributed technology of Blockchain is used, which highlights the decentralized nature of local market. It provides a decentralized market platform for trading locally without the need of central intermediary through Periodic Double Auction (PDA) mechanism. With the introduction of Smart Grid (SG) systems, there have been improvements in how utility companies interact with customers with regards of electricity usage. However, there is a tendency for the data of users to be compromised in SG. In this proposed system, users are able to do trading through PDA and get access of their own previous history. The blockchain provides transparency, traceability and is utilized to mitigate the above mentioned problems. Smart contacts, are used to exclude the third party to provide a transparent system between users in the network.
Chapter
The Internet of Things (IoT) industry is growing very fast to transform factories, homes and farms to make them automatic and efficient. In the past, IoT is applied in different resilient scenarios and applications. IoT faces a lot of challenges due to the lack of computational power, battery and storage resources. Fortunately, the rise of blockchain technology facilitates IoT devices in security solutions. Nowadays, blockchain is used to make reliable and efficient communication among IoT devices and emerging computing technologies. In this paper, a blockchain-based secure service provisioning scheme is proposed for Lightweight Clients (LCs). Furthermore, an incentive mechanism based on reputation is proposed. We used consortium blockchain with the Proof of Authority (PoA) consensus mechanism. Furthermore, we used Smart Contracts (SCs) to validate the services provided by the Service Providers (SPs) to the LCs, transfer cryptocurrency to the SPs and maintain the reputation of the SPs. Moreover, the keccak256 hashing algorithm is used for converting the data of arbitrary size to the hash of fixed size. The simulation results show that the LCs receive validated services from the SPs at an affordable cost. The results also depict that the participation rate of SPs is increased because of the incentive mechanism.
Chapter
Nowadays, Wireless Sensor Networks (WSNs) are facing various challenges. Cost efficiency, low energy consumption, reliable data communication between nodes and security are the major challenges in the field of WSNs. On the other hand, blockchain is also a very hot domain in this era. Blockchain has a remedy for some challenges, which are faced by the WSNs, e.g., secure data transactions and trustworthiness, etc. By keeping in mind the security issues, we induce blockchain into the WSNs. In short, we have proposed a trust model to avoid the malicious attacks and keep the transact data using the blockchain property of immutability. Moreover, an enhanced version of Proof of Stack (PoS), i.e., the Proof of Authority (PoA) consensus mechanism is being used to add a new node in the network. Additionally, the smart contract is also written to check the working status of nodes. Simulations are performed in order to record the transaction cost and execution cost.
Chapter
The data sharing is the claim of actual scholars datasets to share and reuse in the future from any domain. The rise of blockchain technology has to increase universally and enhancement in share and reuse of scholars datasets. Despite there are numbers of security management frameworks for share data securely. However, those frameworks is a centralize based to make data share digitally. Its has restriction and owned by third party authority. The access and reuse of research datasets have a variety of issues it misinterpretation. In this aspect, the researcher or publisher has not to share data publicly due to reuse and perceive the risk in a data sharing environment. Preparing and storing data is difficult in contents sharing. To overcome the limitation and restriction, we proposed distributed data sharing management based on blockchain network (peer to peer P2P network). To signify on Ethereum framework, we proposed the case study of data sharing on the Ethereum smart contract platform to achieve the access.
Chapter
Nowaday’s energy demand and energy production are increasing. Renewable energy resources will play an important role in managing future production of electricity due to an increase in the development of societies. The centralized energy trading system faces a challenge in terms of fair energy distribution. Centralized existing energy trading system totally relies on a central system or third party, because the third party has many drawbacks in the form of record tampering or record altering. The fair transaction is the main issue in the energy trading sector. When the bitcoin is introduced in the market, the trust of Blockchain technology is increased. We proposed a Blockchain based energy trading system in peer to peer networks. Blockchain technology provides trust, security, and transparency for energy trading. In Blockchain technology, there is no necessary need of the third party in the energy supply sector. In our proposed paper, we facilitate the prosumer who produces renewable energy and sells surplus energy to the consumer. We achieved transparency, accuracy, efficiency in our proposed paper. Using a double auction process, we obtain low energy price and acheived consumer trust in energy trading.
Chapter
Wireless Sensor Network (WSN) is a network of nodes connected through a wireless channel. The sensor nodes in the network are resource constrained in terms of energy, storage and computational power. Node failure is a common phenomenon, which occurs due to environmental factors, adversary attacks, draining of battery power, etc. After node failure, recovery is challenging that needs a strong mechanism. In this paper, Blockchain-based Node Recovery (BNR) scheme for WSNs is proposed. In BNR scheme, recovery of failed nodes is on the basis of node degree. The working mechanism of the scheme is that firstly, the failed nodes are detected using the state (active or inactive) of Cluster Heads (CHs). In the second phase, the recovery process is initiated for inactive nodes. The main purpose of this step is to recover the failed CH, which ultimately results in restoring the active states of its member nodes. NodeRecovery Smart Contract (SC) is written for the purpose. The cost analysis for NodeRecovery is also performed in the proposed work. Moreover, the security analysis is performed to ensure the security of the proposed scheme. Effectiveness of the proposed model is shown by the simulation results.
Chapter
With an increase in the development of the Internet of Things (IoT), people have started using medical sensors for health monitoring purpose. The huge amount of health data generated by these sensors must be recorded and conveyed in a secure manner in order to take appropriate measures in critical conditions of patients. Additionally, privacy of the personal information of users must be preserved and the health records must be stored in a secure manner. Possession details of IoT devices must be stored electronically for eradication of counterfeited actions. The emerging blockchain is a distributed and transparent technology that provides a trusted and unalterable log of transactions. We have made a healthcare system using blockchain-based smart contracts which support enrollments of patients and doctors in a health center thereby increasing user participation in remote patient monitoring. Our system monitors the patients at distant places and generates alerts in case of emergency. We have used smart contracts for authorization of its devices and provided a legalized and secure way of using medical sensors. Using the blockchain technology, forgery and privacy hack in healthcare settings is reduced, thereby increasing the trust of people in remote monitoring. We have provided a graphical comparison of costs that verifies the successful deployment of contracts.
Chapter
In healthcare, interoperability has been focused recently, in which, Electronic Health Record (EHR) is patient-centric. However, patient-centered interoperability brings new challenges and requirements, like security and privacy, advance technology, immutability, transparency and trust among applications. Data related to healthcare is an asset of a patient that must be controlled and owned by patient. In this paper, we have proposed a blockchain based patient-driven interoperability and discussed how we can leverage blockchain. Blockchain facilitates us in data liquidity, data immutability, data aggregation, patient identity, digital access rules, incentives and clinical data volume. Our system provides patients an immutable log and easy access to their health data across the healthcare organizations. Furthermore, patient authorize healthcare organizations to access their health data. Stakeholders (patients and healthcare organization) of EHRs are also incentivized if any organization wants to access their health data.
Chapter
During the process of charging, electric vehicle’s location is usually revealed when making payment. This brings about the potential risk to privacy of electric vehicle. We observe that the trade information recorded on blockchain may raise privacy concern and therefore, we propose a blockchain oriented approach to resolve the privacy issue without restricting trading activities through \((\epsilon , \delta )\)-differential privacy. The proposed scheme does not only preserve the electric vehicle’s location; however, prevents semantic, linking and data mining based attacks. Simulation results show that as the privacy level increases, the risk revealing decreases as well.
Conference Paper
Full-text available
Wireless Sensor Network (WSN) is a network of nodes connected through a wireless channel. The sensor nodes in the network are resource-constrained in terms of energy, storage and computational power. Node failure is a common phenomenon , which occurs due to environmental factors, adversary attacks, draining of battery power, etc. After node failure, recovery is challenging that needs a strong mechanism. In this paper, Blockchain based Node Recovery (BNR) scheme for WSNs is proposed. In BNR scheme, recovery of failed nodes is on the basis of node degree. The working mechanism of the scheme is that, first the failed nodes are detected using state (active or inactive) of the Cluster Heads (CHs). In the second phase, the recovery process is initiated for inactive nodes. The main purpose at this step is to recover the failed CH, which will ultimately result in restoring the active states of its member nodes. NodeRecovery Smart Contract (SC) is written for the purpose. Furthermore, cost analysis for NodeRecovery is performed. Also, security analysis for the proposed scheme is performed to assure the security. Simulation results show the effectiveness of the proposed model. 1 Background Wireless Sensor Network (WSN) has attracted extensive attention of researchers in recent times. It consists of several sensor nodes, working collectively to monitor the environmental conditions: temperature, humidity, sound and pollution levels. This data is then stored at a central location, which is termed as the sink or the base station. Such nodes have a microcontroller, radio transceiver, wireless communicating devices and an energy source (battery). The nodes have limited energy,
Conference Paper
Full-text available
The growing number of Renewable Energy Sources (RES) in the energy system provides new market approaches according to price and decentralized generation of electricity. Local markets, on which consumers and prosumers can trade locally with each other by produced renewable generation directly within their community. This approach creates a balance between generation and consumption in a decentralized manner. In this paper, a distributed technology of Blockchain is used, which highlights the decentralized nature of local market. Thus, provides a decentralized market platform for trading locally without the need of central intermediary through Periodic Double Auction (PDA) mechanism. With the introduction of Smart Grid (SG) systems, there have been improvements in how utility companies interact with customers with regards of electricity usage. However, since the readings are done through the internet, there is a tendency for the data to be compromised. However, customers do not know why they pay huge amount of bills. In this proposed system, users are able to do trading through PDA and get access of their own previous history.The Blockchain technology provides transparency and is utilized to mitigate the above mentioned problems. Smart contacts, are used to exclude the third party to provide a transparent system between users on the network.
Conference Paper
Full-text available
Crowd Sensing Network (CSN) uses sensor embedded mobile phones for the collection of data for some specific task which can effectively save cost and time. The quality of collected data depends on the participation level from all entities of CSN, i.e., service provider, service consumers and data collectors. In comparison with the centralized traditional incentive mechanisms devised for CSN, we have proposed a decentralized system model where incentives are used to stimulate the involvement among data collectors and motivate the participants to join the network. Moreover, the issue of privacy leakage is tackled by using AES128 technique. Furthermore , the system is evaluated through analyzing the gas consumption of all the smart contracts, whereas, the encryption technique is validated through comparing the execution time with base paper methods.
Conference Paper
Full-text available
The Internet of Things (IoT) industry is growing very fast to transform factories, homes, farms and practically everything else to make them efficient and intelligent. IoT faces lots of challenges due to the lack of computational power, battery and storage. Fortunately, the rise of blockchain technology facilitates IoT in many security solutions. Using blockchain, communication between IoT and emerging computing technologies is made efficient. In this work, we proposed a secure service provisioning scheme with an incentive mechanism based on reputation is proposed. We used consortium blockchain with the Proof of Authority (PoA) consensus mechanism. Furthermore, we used Smart Contracts (SCs) to validate the services provided by the Service Providers (SPs) to the LCs, transfer cryptocurrency to the SPs and maintain the reputation of the SPs. Moreover, the keccak256 hashing algorithm is used for converting the data of arbitrary size to the hash of fixed size. The simulation results show that the LCs receive validated services from the SPs at an affordable cost. The results also depict that the participation rate of SPs is increased because of the incentive mechanism.
Conference Paper
Full-text available
Internet of Things (IoT) is growing exponentially and bringing revolution in today's modern society. IoT based smart devices are source of convenience to human life and producing huge amount of data on daily basis. This data is useful for consumers like industries, marketplaces, and researchers to extract valuable and functional data from raw data generated by these devices. This data is used by industries and developers to provide more efficient devices and services to users. Owner of the IoT device can generate revenue by selling IoT device data to interested consumers. However, on the other hand consumers do not trust the owner of IoT device for data trading and are not confident about the quality of data. Traditional systems for data trading have many limitations, such as they are centralized, lack reputation system, security and involve third party. Therefore in this paper, we have leveraged the IoT with blockchain technology to provide a trustful trading through automatic review system for monetizing IoT data. We have developed blockchain based review system for IoT data monetization using Ethereum smart contracts. All transactions are secure and payments are automated without any human intervention. Data quality is ensured to consumer through reviews and ratings about the data. Additionally, Ethereum blockchain system requires gas for every transaction. We have used 2 parameters: gas consumption, string input length and in terms of time and cost, and examined our model.
Conference Paper
Full-text available
Internet of Things (IoTs) is widely growing domain of the modern era. With the advancement in technologies, the use of IoTs devices also increases. However, security risks regarding service provisioning and data sharing also increases. There are many existing security approaches, although these approaches are not suitable for IoT devices due to their limited storage and limited computation resources. These secure approaches also require a specific hardware. With the invention of blockchain technologies, many security risks are eliminated. With the help of blockchain, data sharing mechanism is also possible. In this paper, we proposed a novel secure service providing mechanism for IoTs by using blockchain. We introduced cloud nodes for maintaining the validity states of edge service providers. The rating and cryptocurrency is given to edge servers. Given rating and incentive is stored in cloud node and updated with respect to time. The smart contract is proposed to check the validity state of the edge server as well as compare and verify the service provided by edge servers. In our proposed system we perform service authentication at cloud layer as well as edge server layer. Moreover, by using Proof of Authority (PoA) consensus mechanism overall performance of our proposed system also enhanced.By experimental analysis it is shown, our proposed model is suitable for resource constrained devices.
Conference Paper
Full-text available
The emergence of smart homes appliances has generated a high volume of data on smart meters belonging to different customers which, however, can not share their data in deregulated smart grids due to privacy concern. Although, these data are important for the service provider in order to provide an efficient service. To encourage customers participation, this paper proposes an access control mechanism by fairly compensating customers for their participation in data sharing via blockchain and the concept of differential privacy. We addressed the computational issues of existing ethereum blockchain by proposing a proof of authority consensus protocol through the Pagerank mechanism in order to derive the reputation scores. Experimental results show the efficiency of the proposed model to minimize privacy risk, maximize aggregator profit. In addition, gas consumption, as well as the cost of the computational resources, is reduced. Index Terms-Blockchain, consensus mechanism, proof of authority, privacy preserving and smart grid. I. INTRODUCTION Presently, because of the rapid growth of the world population and the technological innovations, a lot of energy is needed in a short period of time and during peak hours, and its effect increases the cost of production. Customers can, therefore, optimize their utilization based on the current energy demand and supply. As a result, demand response and dynamic pricing proposal are subject to privacy issues. In a smart grid, customers will share their hourly information load profile with a service provider only to allow a certain level of privacy to be maintained, which is a major barrier for customer participation. In order to efficiently aggregate customer data, while preserving their privacy, Liu et al. [1] propose a privacy-preserving mechanism for data aggregation. The proposed solution minimizes the cost of communication and computational overhead. However, a trusted environment is not considered. To achieve a trusted environment, several studies in [2]-[8] used blockchain as privacy-preserving mechanism for data aggregation; privacy protection and energy storage; secure classification of multiple data; incentive announcement network for smart vehicle; crowdsensing applications; dynamic tariff decision and payment mechanism for vehicle-to-grid. A survey concerning privacy protection using blockchain is discussed in [9]. The survey highlights all the existing