By definition, the aggregating methodology ensures that transmitted data remain visible in clear text in the aggregated units or nodes. Data transmission without encryption is vulnerable to security issues such as data confidentiality, integrity, authentication and attacks by adversaries. On the other hand, encryption at each hop requires extra computation for decrypting, aggregating, and then re-encrypting the data, which results in increased complexity, not only in terms of computation but also due to the required sharing of keys. Sharing the same key across various nodes makes the security more vulnerable. An alternative solution to secure the aggregation process is to provide an end-to-end security protocol, wherein intermediary nodes combine the data without decoding the acquired data. As a consequence, the intermediary aggregating nodes do not have to maintain confidential key values, enabling end-to-end security across sensor devices and base stations. This research presents End-to-End Homomorphic Encryption (EEHE)-based safe and secure data gathering in IoT-based Wireless Sensor Networks (WSNs), whereby it protects end-to-end security and enables the use of aggregator functions such as COUNT, SUM and AVERAGE upon encrypted messages. Such an approach could also employ message authentication codes (MAC) to validate data integrity throughout data aggregation and transmission activities, allowing fraudulent content to also be identified as soon as feasible. Additionally, if data are communicated across a WSN, then there is a higher likelihood of a wormhole attack within the data aggregation process. The proposed solution also ensures the early detection of wormhole attacks during data aggregation.
Wireless sensor network consists of a large number of resource constrained sensor nodes. These sensor nodes communicate over wireless medium to perform a variety of information processing functionality. Due to broadcast nature of wireless medium, security is one of the major concerns and overlapping sensing range of sensor nodes results in redundancy in sensing data. Moreover, a large amount of energy is consumed by the base station to process these redundant data. To conserve energy and enhance the lifetime of sensor nodes, redundancy is eliminated at intermediate nodes by performing data aggregation. Wireless sensor networks are generally deployed in untrusted and hostile environments which results in compromised nodes. Thus, security and reliability of the transmitted data get reduced. Compromised nodes can inject false data, drop all the data, selectively forward data to an attacker, copy legal nodes to join routing paths, and disrupt data transmission during the data aggregation operation. In this paper, a novel scheme for data aggregation based on trust and reputation model is presented to ensure security and reliability of aggregated data. It will help to select secure paths from sensor nodes to the base station; thereby the accuracy of aggregated data will be increased significantly. Simulations show that the proposed protocol LDAT has less energy consumption and more accuracy as compared to some existing protocols which are based on functional reputation.