| Wireless Sensor Network(WSN)is a distributed sensor network composed numerous of low-cost,low-performance,and self-managed nodes.The distributed deployment of wireless sensor networks makes the network more convenient,but it also causes more hidden security hazards that are difficult to be solved.For example,the unprotected deployment of sensors makes security systems for WSN more vulnerable to internal attacks,and the limited computing resources of WSN hinder the construction of a trusted environment.Recently,blockchain technology shows potential in enhancing the security of the Internet of Things(Io T).Therefore,this paper deploys a suitable blockchain network in WSN,builds a trust environment between network nodes,and solves the security problem of WSN in a targeted manner.The specific work is as follows:(1)A blockchain-empowered authentication scheme in wireless sensor network.This paper proposed a new data structure,which is called the Trust Relationship Graph(TR-Graph),to represent the nodes’ identity authentication information.Compared with the traditional identity information,TR-Graph stores the nodes’ relationship and enables trusted nodes to save communication interaction.Based on the TR-Graph,the scheme adopted blockchain to store the authentication information and introduce a new network,which makes the scheme have the potential to be applied in resource scarcity networks.Besides,the scheme stores and maintains the node’s identity authentication information through the IOTA blockchain constructed by all sink nodes,which ensures the security of the scheme.Then,the worm detection was executed to prove the security and application potential of the scheme.(2)A blockchain-empowered ensemble anomaly detection for wireless sensor network via isolation forest.This paper proposed a blockchain-based ensemble anomaly detection,which stores the model of a typical anomaly detection algorithm(isolated forest)in the blockchain for distributed anomaly detection in WSN.By constructing a suitable block structure and consensus mechanism,the global model for detection can iteratively update to enhance detection performance.Moreover,the blockchain guarantees the trust environment of the network,making the detection algorithm resistant to internal attacks. |