Next Article in Journal
Development of a Solar-Powered IoT-Based Instrument for Automatic Measurement of Water Clarity
Next Article in Special Issue
Obfuscation of Malicious Behaviors for Thwarting Masquerade Detection Systems Based on Locality Features
Previous Article in Journal
Beamforming Optimization in Internet of Things Applications Using Robust Swarm Algorithm in Conjunction with Connectable and Collaborative Sensors
Previous Article in Special Issue
Efficient Algorithm for Mining Non-Redundant High-Utility Association Rules
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient Key Management Technique for the Internet of Things

by
Tamanna Tabassum
1,
SK Alamgir Hossain
1,
Md. Anisur Rahman
1,
Mohammed F. Alhamid
2,3 and
M. Anwar Hossain
3,*
1
Computer Science and Engineering Discipline, Khulna University, Khulna 9208, Bangladesh
2
Research Chair of Smart Technologies, King Saud University, Riyadh 11543, Saudi Arabia
3
College of Computer and Information Sciences, King Saud University, Riyadh 11543, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(7), 2049; https://doi.org/10.3390/s20072049
Submission received: 12 February 2020 / Revised: 27 March 2020 / Accepted: 30 March 2020 / Published: 6 April 2020
(This article belongs to the Special Issue Security and Privacy Techniques in IoT Environment)

Abstract

:
The Internet of Things (IoT) has changed our lives drastically. Customers, regulatory bodies, and industrial partners are driving us to use IoT. Although IoT provides new opportunities, security remains a key concern while providing various services. It is especially challenging how the data generated from IoT devices can be protected from potential security attacks and how to safeguard the exchange of these data while transiting through different nodes and gateways. In this research, we aim to ensure a safe IoT environment by proposing an efficient key management technique that uses a combination of symmetric and asymmetric cryptosystem to obtain the speed of the former as well as the security benefits of the latter. Our proposal considers a set of Smart Objects (SO) capable of key registration, generation and distribution for IoT data transmission. We used the open-source Message Queuing Telemetry Transport (MQTT) protocol to facilitate communications between the source and the destination nodes. The suitability of the proposed approach is measured experimentally and the results are comparable to existing works with respect to key conversion time, algorithm execution time, number of reuse connections, and bandwidth utilization.

1. Introduction

Today the Internet of Things (IoT) incorporates almost every aspect of an individual’s life. IoT enables different sensors or smart objects to collaborate and provide different services (Figure 1) in the context of many applications such as smart cities, smart agriculture, home automation, healthcare, military, safety, etc. An IoT model facilitates smart objects to communicate extensively across the Internet [1]. In this model, security risks and threats are a big concern. The research community and standardization bodies are currently working to define new methodologies, standards and algorithms for secure key generation, distribution and management with high reliability, robustness and accessibility [2,3,4,5].
In a traditional data communication system, data can be protected by using a single cryptographic key. However, when data travels through different nodes from a source to a destination, the traditional single key approach is not appropriate. If the key is compromised or hacked, the total communication system can be broken down. Moreover, the risk factor will be huge as in a real IoT environment a high volume of data transfer occurs. Therefore, real-time authentication and protection are necessary which is time-consuming as well as complex [6,7].
There are notable works in order to provide authentication and protection of IoT data transfer with a focus on key management. Examples include mutual key management technique (KMP) [8], group key management technique (GKMP) [9], Elliptic Curve Cryptography (ECC)/Elliptic Curve Diffie Hellman (ECDH) based key management [10] etc. Some of these techniques utilize asymmetric cryptosystems while others utilize symmetric key cryptosystems. Asymmetric-key cryptosystems typically provide more security compared to symmetric-key cryptosystems but it still suffers from high computation overhead. In our proposed approach, we use a combination of symmetric and asymmetric cryptosystem that utilizes the speed of the former as well as the benefits of the latter.
Usually, in an IoT environment, various sensors are connected with a node (i.e., home appliances in case of a smart home) while that node may be connected with other nodes. If we consider some of the nodes as Smart Object (SO) and the entire sensor data are processed through these nodes, a new communication model can be deduced. We define a smart object as an entity that has more computational capabilities and can perform various tasks, such as authentication, storage management etc. We found that using the power of symmetric-key cryptosystems with SO can help us solve the existing problems in key management in the IoT environment.
In this paper, our contribution is twofold. First, we propose a Smart Object (SO)-based reliable key management technique that defines the key registration, generation, and distribution processes for secure communication between IoT nodes. Second, we define and develop a customized IoT Emulator/Simulator that can demonstrate the practical usages of the proposed technique by integrating physical SO with simulation data. A preliminary version of this work is available in [11], which has been extended with detailed methodology, experiments and results.
The remainder of this paper is structured as follows. In Section 2, we present related work that focuses on some IoT security research and key management techniques. Section 3 proposes our key management technique and elaborates on the system design and algorithm. Section 4 focuses on the implementation issues of the system. Section 5 covers the evaluation and result of the experiments that we conducted in our laboratory environment using our proposed method. Finally, the paper concludes in Section 6 with suggestions for future research.

2. Related Works

We explored existing literature that focused on secure key management issues and techniques in IoT. This section briefly discusses these techniques and the basic concepts and architecture behind them.

2.1. Mutual Key Management Technique

The most straightforward approach among various key management techniques is the Mutual Key Management Technique [8,12,13]. This approach is also called a symmetric key management approach. In this approach, a key will be generated for each session. This method is not fast as whenever any message needs to be sent, it generates a session key. This approach performs well when the number of messages is low, and each message size is big. However, performance degrades when the number of messages is huge, like an IoT system where a massive number of short length messages are generated.

2.2. Group Key Management Technique

In this technique [9,14,15] similar nodes will be grouped and assigned the same key to reduce the number of keys. This method has the benefit of point-to-multipoint (multicast) interaction, where a single source transfers specific information to many recipients, and it will work well. In fact, most of the nodes are separate, so physically or theoretically grouping them is difficult. The group should be managed by a centralized authority, but the centralized approach does not work correctly in an IoT distributed environment [14]. Figure 2 demonstrates a use case for light bulb control in a smart building. The environmental monitoring network captures light intensity, temperature, and population data from all of the building’s rooms and offers aggregated data to a central agent. Depending on the collected data, the central agent may allow synchronous operations (e.g., on, off, or dim-level commands) between a community of light bulbs on a floor or space to create visual synchronicity of light effects on the consumer environment. In this use case, a secure multicast group is created and assigned the same group key for all the nodes under this multicast group. However, practically creating and maintaining such a multicast group is time-consuming as well complex, especially in the IoT environment.

2.3. XOR Based Key Management

D. Pietro et al. [16] presented a classical key construction technique based on exclusive OR (XOR). This approach is straightforward but for high resource consumption, this method is not suggested for IoT resource-constrained environments. For electronic health safety, M. Abdmeziem et al. [17] implemented a similar technique. A different process is responsible for the implementation of cryptographic primitives and certification regulation according to their methodology. However, in evaluation, they found that the performance and scalability for using a third-party certificate provider are affected. E. Cuautle et al. [18] implemented XOR-Based Key Management on light embedded systems. This paper nicely presented the cryptographic application of the Hopfield and the Hindmarsh–Rose neurons. They focused on finding suitable coefficient values of the neurons to generate robust random binary sequences that can be used in image encryption.

2.4. ECC/ECDH Based Key Management

Recently, researchers in [10,19,20,21] proposed a stable shared encryption protocol focused on ECDH and ECC for secure communication of embedded devices. This scheme provides mutual authentication and essential requirements for security. The system relies on the method of encryption when the application tries to send data to terminal nodes and not the other way around. The author in paper [19] (Figure 3) uses Key Management Protocol (KMP) focused on ECDH with implicit IoT device certificates. Although the approach has security benefits, the speed is not good as this method uses a complex certificate-based approach.

2.5. CA-Less Key Management

Researchers in [7,22] suggested an effective method for system encryption without the certificate authority (CA). By reducing the number of message transfers compared to CA-based approach [23], the suggested protocol increases efficiency. In paper [7], the authors presented a new authentication protocol that enables authentication between devices in the absence of a central control server based on a keyed hash. The commonly used Hash-Tree authentication has been analyzed and applied from various angles without the need of a CA. According to their work, the experimental results suggest that the suggested protocol of authentication increases the level of security and decreases system resource consumption but the researcher pointed out that the method is still in its preliminary stage and detailed investigation is needed for realistic use in various environments.
Table 1 shows the comparison of the existing works. Based on our study, we observe that most of the earlier works did not address how to efficiently handle and distribute dynamically generated cryptographic keys in an IoT environment. This paper attempts to fill this gap.

3. Proposed Method

This section presents the proposed secure key management techniques and describes its different aspects. First, Section 3.1 describes the proposed key management process. Then Section 3.2 describes the key generation and distribution process in detail followed by the key update process in Section 3.3. Finally, Section 3.4 describes the secure authentication process.

3.1. Proposed Key Management Process

In order to securely transfer IoT data between nodes, a huge number of keys need to be generated and distributed (see Section 3.2). Therefore an efficient key management is required. In our proposed technique, we consider a set of SOs with the ability to store, record, and process IoT data as shown in Figure 4. The figure shows the data flow from multiple source nodes (sensor nodes/IoT objects) to a set of destination nodes through SOs. The source nodes need to register SO before sending data securely. Here SO assigns appropriate keys to encrypt data. In the following sections key sharing process, different key-table structures for keys, direct and intermediate message transfer processes are described elaborately.

3.1.1. Key Sharing Process

Figure 5 illustrates the process of key sharing. In this approach, every message has two main parts: one is the part of the information, and the other is the part of the command. Imagine a case where an origin node A wishes to transmit m to an end node B (and there is a range of N 0 , N 1 , …, N r intermediate nodes).The intermediate nodes only read the message’s control section (necessary for message routing), and the end node reads only the information portion. We introduced a safe key management technique where each communicating nodes are logically connected to other nodes to establish secure communication. We want to use this to take advantage of the strategy of symmetric-key encryption. Consider K 0 as a cryptographic key exchanged between the origin node A and the next receiving node N 0 . According to our methodology, the control portion of the message is coded in the source node A and decrypted with the current mutual key K 0 in the recipient node N 0 . Until the message hits the end node B, the same process will continue ( K 1 is exchanged between N 0 and N 1 , K 2 between N 1 and N 2 and so on.). The message’s information portion is protected by the source node A, which is decrypted only by the end node B.

3.1.2. Key-Table Structure

Two nodes (say M and N) can connect either through a direct link or through some indirect connections if they can send messages to each other. If they can transmit messages via a direct link, in other words, if they have the same key K, they are called adjacent. The relation between these two neighboring nodes is denoted as { M , N } K , indicating that M is directly connected to N, exchanging the key K for any secure exchange of messages. Three tables of communication channels are used in each link, M (as shown in Figure 6).
  • Connection table ( C T M ): This table contains a single entry for each pair of linked nodes. The C T M N row is node N and key K. It should be remembered here that C T M , N and C T N , M carry the same key as the two-directional links. With respect to C T M , C T M , N and C T N , M are called the outgoing and incoming connection respectively.
  • Global key table ( G T M ): This table allocates one entry for each key K. Each entry has two parts: the key K, and this key’s value v. The name of this table is global because the table contains the information that is used by the external nodes. G T M is needed because if an origin node tries to send a message to a destination that has not previously been recorded, communication will be defined by means of the global key table.
  • Local key table ( L T M ): This table contains one single entry created by another node for each local key K. The name of this table is local because only the current node uses this table information, and no information goes outside of this table from the current node. All the incoming connections are stored in this table. As the source node has no incoming connection, it does not require any local table. It has only two tables: the connection table and the global table. Similarly, the destination node has no outgoing connection, so it does not require any global key table.

3.1.3. Direct Message Transfer

Now, consider a message m moving from an origin node A to a destination node B via a direct link. We will have different key table structures as shown in Figure 7.
  • When C T A B exists in C T A then C T B A exists in C T B as well, this means that the relation is two-way. If any bidirectional connection exists, this is represented by { A , B } K . If there is { A , B } K , the key setup is ready to send the message.
  • If C T A B exists but C T B A does not exist, A may use the correct global key to send a message to B. When B receives K from A, it looks up for the reverse connection in its connection table. If no connection exists, it needs to add values to its local and connection table.
  • If C T A B does not exist, then A needs to generate a new key K and finally needs to store K , v in its global table G T A . After adding the entry to its global key A, it also adds B , K to its connection table C T A . Lastly A calculates the value k = f ( v ) and send the pair K , k to node B. If B collects K , k , it then saves it for C T B , A in its local table. Through submitting a constructive return message from B to A, the key setup will be closed. Eventually, the key configuration is completed, so A may send a message to B by using K to encrypt the control part of the message when B decrypts the message.
  • If B is the destination node, then it also decrypts the data part of the message by using its private key. In this way, the data part is protected using the public-key encryption system, and the control part is protected by using the symmetric key encryption system.

3.1.4. Message Transfer Via Intermediate Nodes

We already discussed direct communication between two nodes. Now we want to present the process when the message is sent through an intermediate node (see Figure 8).
  • In this scenario node A sends a message m through an intermediate node N to end node B. So for bidirectional connections between A and N, A and N have C T A N and C T N A respectively. Similarly, for bidirectional connections between N and B, N and B provide C T N B and C T B N .
  • A uses the { A , N } K link to send a message to N, and N uses the { N , B } K link to send a message to B.
  • Now, if A wants to send a message to B, it will first pair with A and N with the same mechanism we talked about in the case of a direct link. When the message is received by N, it combines with B to send the message in the same manner to B. Eventually, the { A , N , B } K secure communication network is enabled.
The methodology can be applied to any node series where there exist three or more nodes ( A , N 0 , N 1 , , N r , B). Ultimately, we can claim that the message sent from node A to node B can be safely communicated via an arbitrary list of intermediate nodes N 0 , N 1 , , N r .

3.2. Key Generation and Distribution Process

This section discusses the key generation and distribution processes (see Algorithm 1). According to this algorithm, if any pair { A , B } K does not exist, then it checks whether the connection between A and B exists or not. If a connection exists in C T A , then sender A does not need to generate K as it can reuse the key K that is stored in its global table. However, if the connection does not exist, it means that it is a new connection and needs to generate a new mutual key K. The sender generates the key K and updates its global table and finally creates a hash key k by applying a key conversion function. The algorithm now checks the reverse connection from B to A. If the connection exists, it means C T B A and L T B need to update with the new key. K and k will be stored in C T B and L T B directly if the connection does not exist. In this way, a secure key pairing will be created, and a secure message will be sent from the sender node A to receiver node B by calling the Algorithm 2.
Algorithm 1: S I o T (A, B, m)
Sensors 20 02049 i001

3.2.1. Space Complexity

Consider the network which has n nodes and in a set time, on average a node is connected with r numbers of neighbour nodes, where the upper bound of r is n 1 (i.e., one node is connected with all other nodes). According to our algorithm each node needs to maintain three tables called connection table (CT), global table (GT) and local table (LT). Consider that each cell size of CT, GT and LT are c 1 , c 2 and c 3 respectively. So the total space required for each node is 2 r c 1 + 2 r c 2 + 2 r c 3 = 2 r ( c 1 + c 2 + c 3 ) . So in total, n nodes need to store a total 2 n r × 3 c , and as c 1 , c 2 , c 3 are constants, we consider c as the maximum value of c 1 , c 2 and c 3 . So in big-Oh (O) notation our algorithm space complexity is O ( n r ) . When the network is fully connected, r will be n 1 so the complexity will be O ( n 2 ) but practically r is much smaller than n so the complexity will be O ( n r ) .
Algorithm 2: s e n d M e s s a g e (A, B, m, K)
Input: Sender node A, receiver node B, message m and mutual key K
Output: True if the message sending operation completed successfully, otherwise return false
/* perform encryption operation                          */
m e extract control part from m and encrypt the control part using K; Finally merge the encrypted control part with the message m
/* Node A transmits the encrypted message to node B, where B receives it and decrypts the control part                                 */
/* ( If B receives the message successfully then return a positive acknoledgment
*/
r e t t r a n s m i t ( A , m e , B )
return r e t

3.2.2. Time Complexity

To calculate the time complexity of our algorithm, consider that in a certain case, a total M number of messages are transferred from one node to another. In our space complexity, we see that we have at most r number of entries in our CT, GT, and LT tables. In each call of the algorithm, look up whether any secure pairing exists between A and B that is in the worst case any node needs to check at most r entries in A and r entries of B. So at most, 2 r execution will be required. The upper bound of r is n 1 (we explained it in Section 3.2.1). When no pairing exists, the algorithm will execute necessary action related to the creation of key and global/local table updates. Consider out of M message transfer; the algorithm needs to create a secure connection M 1 times. So O ( r M 1 ) execution time is required to check C T A B . The algorithm also checks the reverse connection C T B A so it will cost another O ( r M 1 ) execution time, so if the one-way hash function needs O ( m ) (where m is the message size of the hash key). The total time complexity will be,
T i m e c o m p l e x i t y = O ( 2 r M ) + 2 O ( r M 1 ) + O ( M m ) .
If we can consider the message size is small, we can neglect O ( M m ) time. So we can write the Equation (1) as, O ( r ( M + M 1 ) ) . Now we need to calculate the complexity of s e n d M e s s a g e ( A , B , m , K ) . In this algorithm, we encrypt the control part, send the message from A to B through the communication medium, and finally, the receiver decrypts the control part. When the final receiver node receives the message, it decrypts the data part using its private key. If we use the AES (Advanced Encryption Standard) symmetric encryption algorithm, the encryption and decryption time depend on the message size. If the message size is m, the complexity will be O ( m ) . Here we can skip the time complexity of the RSA (Rivest–Shamir–Adleman) algorithm as the only start, and the final receiver encrypts and decrypts the messages using RSA, and most of the time, the symmetric encryption and decryption will be used. So in total, the s e n d M e s s a g e ( ) that will take O ( M m ) CPU cycle. If we add the first part complexity with this complexity, we will receive the total time complexity of our algorithm. So the total complexity is, O ( M m ) + O ( r ( M + M 1 ) ) . As the message size m is fixed and in real case M 1 is very small compared to M so the complexity can be minimized to, O ( M m ) + O ( r ( M + M 1 ) ) O ( r M ) . The complexity will be O ( n M ) if the network is fully connected (where the number of messages = M and the number of nodes = n).

3.3. Key Update Process

In many cases, with the new value, nodes need to change the local key. A node can trigger an update message when the local key has to be changed so that all connected nodes can modify their tables. The main mechanisms for updating are as follows:
  • Node A wants to change all its keys or a specific key. In the first stage, A checks for C T A for all key entries, then submit message change commands to all link nodes with A that share the same key.
  • Now say B gets a A change message. Using the hash key k and the value v that it previously stored in L T A and G T B tables, verifies this change message to ensure security. So B authenticates v with k. If no match is found, the key change request will be discarded by B. If found, then B updates its key entry in all associated tables.

3.4. Secure Authentication

In our algorithm for each connection, a mutual key K and a random value v is stored in the sender global table and a one-way hash key k is stored in the receiver node. The hash key will be used for authentication purposes. Consider a situation when the mutual key K exists between a sender and receiver node in their connection and global tables but the physical pairing is lost. In this situation, the receiver authenticates the sender by using the hash key. When this type of situation arises, the sender sends the random value of v from its global table to the receiver. Using the hash function receiver matches v with k, and if the hash matches successfully, the authentication is successful, and the secure pair again establishes for further communication. If an intruder wants to break this security, he needs to generate the one-way hash function. However, practically it is very complex to regenerate the hash key as the hacker will have no way to identify which type of hashing algorithm is used by the system. A comparison of different hashing algorithms is shown later in Section 5.3.

3.5. Robustness in Case of Malicious Attacks

Malicious attacks can be carried out by external parties and as well as by registered sources. In an external attack, our protocol demonstrates robustness due to the fact that it will not be easy to generate a global key from another global key. If in any way, one global key is affected by external intruders, only a part of the network will be affected instead of the entire system.
We used local keys as an additional layer of security to reduce the risk. The external intruder may eavesdrop the local key name, but he must know the encryption algorithm if he wants to know the key value. We did not consider the physical attack that could capture the global/local keys from the SO node. The node has complete access to local and global keys when any source is registered in the SOs. So it would be hard to protect if registered sources could attack the network. Figure 9 demonstrates how an external attacker node may want to send a message by using the existing connection. According to our algorithm, before using any existing connection, the sender node must authenticate by sending the value, v, from its global table. The receiver matches v with its hash key, k. If the k is generated from that v, it will match successfully; otherwise, it will not match, and the receiver easily recognizes that the sender is not a legitimate sender, so can deny the access.
Figure 10 demonstrates an external attack in the smart home scenario that we are discussing. According to this figure, an external attacker with node id 8 wants to connect with the home router and wants to send a message to the Internet Service Provider (ISP) gateway; that is, the attacker wants to use any existing connection used by the leaf nodes and the router. However, it will be rejected from node 1 as it failed to send the appropriate value v that is successfully matched with the hash k, which is stored in the local table of node 1. When node 1 detects this situation, it automatically rejects further communication from this attacker node. In Figure 10, the red line indicates the connection rejection from the receiver node.

4. Implementation

To demonstrate our system we required an environment that can integrate physical IoT Smart Objects with simulated data, which cannot be satisfied with existing simulators [24,25]. For this reason we developed a hybrid approach that can simulate/emulate the proposed key management technique. The following section presents the implementation process of the simulator environment. Additionally, we will provide implementation details of a real prototype, platform, and deployment issues, and present some sample interfaces. The simulator is designed specifically to create an IoT-based scenario where we can test the performance of our system and can compare it with the existing works. This type of simulation is widely used in almost all areas of networking research. For the distance calculation, we used Euclidean distances between nodes. Finally, the simulator was implemented in C # . We selected this language because it has a rich set of Graphics Application Programming Interfaces (APIs). The following sections provide some more details about the simulator and the prototype that have been developed.

4.1. The Design of IoT Simulator

The simulation plays an important role in demonstrating IoT-based solutions. In our case, we designed and developed a customized IoT Simulator/Emulator that can show the practical usages of the proposed key management technique by integrating physical SO with simulation data. We like to highlight that to work in an IoT environment, researchers have developed several simulators such as Cooja [26], Netsim [27], CupCarbon [28], NS3 [24], Node-RED [29] and others with different capabilities to address the peculiarities of various scenarios. However, there are of course some limitations to these simulators, such as credibility, which remains a challenging issue. In our case, we developed this simulator/emulator as part of a larger project and used it to have a complete control over the core of the simulation process.
The classes designed for our simulator are shown in Figure 11. In this diagram, the S I o T is the class that implements our algorithm. In this class, S I o T A l g o r i t h m ( ) takes two IoTNodes A and B and the IoTMessage. According to our algorithm, this function first checks whether any pair exists between A and B by calling the function i s A B k P a i r i n g E x i s t ( ) . If no pair exists, then it initiates a function call for creating pairs. It should be noted here that the pair is only possible if there is a connection that exists between A and B. In our simulator, the function i s A B C o n n e c t i o n E x i s t ( ) is used to check the physical connection between two nodes. After creating the node pair, A and B share the key according to our algorithm. In this operation, the algorithm needs to create another function k e y C o n v e r s i o n F u n c t i o n ( ) , which takes string v as input and returns a one-way hash string key k. In our simulator, we used the S H A 256 bit hash function to generate the key. A hash key is created whenever a new connection is established. So the performance of our algorithm depends on the hash function creation. In the next section, we will discuss the effect of different hash functions on our algorithm. In our simulator, the message is represented by the class I o T M e s s a g e , which contains the Id of the message, the data, and the control/routing information. The important part of the simulator is the I o T N o d e class, which contains the id, node name, node type, its location in the 2-dimensional space, the connection table C T , the global table G T , and the local table L T . According to our algorithm, each node will use the public key cryptosystem to decrypt a message. For simplicity, we considered one public and one private key for each node. Finally, each node has a queue to store all the messages that need to be moved from one node to another node. In the simulator, each connection table contains a collection of C T I t e m . Each C T I t e m has three data: the source node, the receiver node, and the key K , V a l u e that is used between them. Finally, the simulator uses the Dijkstra shortest path algorithm to identify the shortest distance between source and destination. For the public key cryptosystem, we used the Microsoft .Net implementation of the R S A algorithm. Figure 12 shows our simulator interface in a simple scenario where two leaf nodes are connected with a router and the router is connected to the cloud server through a gateway. We will discuss simulator activities further in the next section.

4.2. Prototype System

To justify the practical implementation, we developed a prototype system where three SO nodes were used to send or receive messages among them. Each SO node (Figure 13) contains the several electrical components as shown in Table 2. Here, Arduino Uno micro-controller r3 is used to store the program and the data that are received from another SO node. The micro-controller is also used to execute the program. It has a short memory (Flash 32 KB, SRAM 2 KB, and EEPROM 1 KB), and out of its 32 KB flash memory, 0.5 KB is used for the boot loader and the remaining 31.5 KB is used for our program memory. Arduino Uno has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. We can extend the memory easily by adding an external SD Card to the Arduino. In order to obtain an increase processing speed of Arduino (Uno default speed is 16 MHz), one can use Arduino Mega or Raspberry Pi B+.
The connection diagram of our SO node is illustrated in Figure 14. The electrical pin connection of the SO is listed in Table 3. In our prototype, we used a ESP8266, which is a low-cost Wi-Fi board and can easily be wired to a microcontroller, and connect any project build on IoT. The ESP8266 is actually a microcontroller unit (MCU) by itself, but has very limited functions. Therefore, it is recommended to connect it to a microcontroller such as Arduino using AT commands, either via Software Serial or Hardware Serial. In our prototype, the ESP8266 is connected with Arduino pin 10 and 11 through the LogicLevelConverter.
In our approach, we used Message Queuing Telemetry Transport (MQTT) [30] that is a pub/sub protocol and specially developed for a resource-constrained environment like IoT. So whenever a data source wants to send a message, it publishes the message with a pool of pre-selected topics. The sensors or smart devices that want to receive the message, need to subscribe to a published topic. In this simple model, the full message communication can be handled easily in the complex IoT environment. A sample topic is demonstrated in Figure 15. It is important for pub/sub model that sources may subscribe to a topic at runtime and at any-time can un-subscribe as well. Finally, for MQTT broker and client we used Mosquitto [31] and C++ MQTT library for Arduino P u b S u b C l i e n t . h respectively.
Figure 16 demonstrates the complete setup of our prototype system. As we discussed before that in our setup, three Smart Objects are connected using the Mosquitto MQTT broker. Each S O node acts as both publisher and subscriber. Here we used two MQTT topics called SEND and RECEIVE topics. Whenever any node needs to send data to another node, they need to subscribe as a publisher on the SEND topic, similarly to receive data need to subscribe as a subscriber or receiver on a RECEIVE topic. This communication, when any S O node wants to send data to another S O , the message is sent through the broker.

5. Experimental Results

We conducted quantitative analysis to justify the performance of our model and to demonstrate the suitability of our proposed method. The analysis is carried out by analyzing different factors like key creation time, robustness on attacks, etc. Section 5.1 presents the performance of our method in a smart home context. Then, Section 5.4, Section 5.5 and Section 5.6 presents the analysis of key creation/distribution time and prevention of different attacks. Finally, Section 5.7 presents the performance comparison with some existing works.

5.1. Smart Home Scenario

Consider a smart home where different sensors like temperature, humidity, and light sensors are connected to the home Wi-Fi router. The router is further connected to the cloud server through the Internet service provider gateway. We want to simulate this smart home scenario using our simulator. Figure 17 represents this setup. According to this setup, three sensor nodes are connected with the router. The router is connected to the gateway, the gateway is connected to the edge server, and finally, two cloud servers called MQTT broker and database servers are connected to the edge server.

5.2. Performance

In the smart home scenario, a total of eight nodes are used, where three of them are sensor nodes. Although in IoT (in a machine to machine communication), any node can initiate a message and can send messages to other nodes. In this scenario, we randomly picked a node in every one-second interval and started sending a message from the current node to its neighbor nodes. We experimented over 120 seconds, and the simulation result is shown in Figure 18. From this figure, we see that out of a total of 230 calls; our algorithm created 49 node pairs, whereas we reuse the existing pair 181 times. In a real-world scenario, the node may break some links due to its resource limit. To simulate this behavior, we randomly break downlinks in every one-second interval. From this study, we found that our algorithm reuses the existing connection. As in the IoT environment, most of the message sizes are small, but the number of messages is huge. So by reusing connection, the performance significantly increases.

5.3. Effect on Different Key Conversion Function

In our algorithm, every sender node generates a key, K, when it receives a demand for a global key from the next receiver node. The sender node sends the key to the receiver node as well as makes a secret string which is represented in our algorithm as key conversion function ( k = f ( v ) , where v is a value that is stored in the global key table of sender node). The purpose of this one way hash function is when an attacker requests the key, the receiver can use authentication using v and k. As for every key generation time, the system needs to execute this function, so overall performance depends on the execution time of this function. We tested our algorithm based on different key conversion functions, and the result is demonstrated in Figure 19. According to this figure, we see that SHA512 is more secure, but in our simulator, we used the SHA256 hash function to generate the hash key k because it takes less time than SHA512.

5.4. Key Generation and Distribution Time

For key generation and distribution, we used Algorithm 1. We set up our model to evaluate the processing time of this algorithm. When we started our experiment, all the three nodes created their private and public key pairs and shared their public keys to other nodes so that any node can use the appropriate public key for message transfer. In our Arduino code, each node generates some message and randomly sends it to another node via the MQTT broker. In this message transfer, if any secure pairing is not created before then, the node starts the registration procedure according to our S I O T algorithm. To be uniquely identified, each node is assigned a unique id. To get the average processing time, we ran the process ten times. Figure 20 indicates the impact of our experiment. We found from this experiment that the algorithm would cost about 17 ms. We found from the calculation that sometimes the delay is more because the overall time depends on the SO’s current load as well as the frequency of the network.

5.5. Service Response Analysis

By using Equation (2), we calculated the transmission time from the origin node to the subscriber. The key generation and access time is A unit that we defined in the case of a direct link is 17 ms and 32 ms in the case of S O , the length of the message is m bytes. α and β are sending time from S O to the MQTT client and the HTTP server delay with transmission time, respectively.
Π = A + m β + α .
The system, therefore, needs a total of approximately Π = 30 + 250 + 246 m s when a source generates a message. For a single source, the response time is high, but most of the time, multiple sensors can interact. The developed Smart Object (SO) supports transfer requests from multiple nodes. For example, when a node sends a message to the SO, it creates a queue of requests on a first-come-first-serve basis. In such cases, the response time can be calculated by using the Little’s Formula (Equation (3)).
E T = E n θ = ϕ θ ( 1 ϕ ) .
However,
ϕ = θ μ .
So finally from (3) and (4),
E T = 1 μ θ ,
where E n is the average number of requests, θ is the rate of node arrival, μ is the rate of request processing, ϕ is the time that requests are handled by the SO and μ is the average rate of operation. We measured the average service time in our experiment to be about 2.5 s. The average service rate is therefore μ = 1 2.5 = 0.4 per second. If a request is activated to the SO for every 60 s, then θ = 1 60 = 0.0167 per second. From Equation (5), thus, roughly the maximum waiting time including the service time, = 1 0.4 0.0167 = 2.61 s.

5.6. Prevention of Attacks

There are many types of attacks that an IoT system can encounter [32,33]. The proposed system can withstand several of such kinds of attacks, as described in the following:
  • Man-in-the middle attack (MITM): In MITM, an adversary impersonates a valid device. It then transmits reply messages to authenticated servers. In our case, this will happen if any malicious node is added to our network and receives messages from the source. If this happens, the malicious node can not decrypt the messages because the malicious node needs to know the private receiver key, which is not possible without the full control of the receiver node. If the receiver node is hacked, only the messages that are received by the receiver will be compromised, and there will be no effect on other messages that are received by other receivers.
  • Passive attacks: This type of attack highlights unauthorized listening to the routing packets or silently refusing execution of the requested function. It might be an attempt by the attacker to extrapolate data about the positions of each node with respect to the others. Such an attack is usually impossible to detect, since the attacker only attempts to discover valuable information by listening to the routed traffic instead of disrupting the operation of a routing mechanism. In our key management approach, it is not possible to listen to the routing information as for every message transfer the source node encrypts the control information (containing the routing information) by using the shared key between the source and destination. One of the forms of passive attack is eavesdropping, in which case the eavesdropped message are easily detected by the receiver and are discarded as our communication channel is fully protected using the mutual key.
  • Target-oriented attack: The traffic analysis based on the identity of a peer we are interested in is usually passive. After performing traffic analysis, an adversary can set a target peer and conduct an intensive attack against the peer. As an example, sending too much unwanted traffic to a specific peer to overwhelm communication and make the peer inactive in the network. A specific jamming signal can be set up for that specific peer to make the peer inactive in the network for the case of communication. We call such an attack target-oriented. Such attacks are often active. In our approach, this kind of attack is not possible as the destination node discards all incoming message from a source node if the mutual key is not matched. The process of how our algorithm discards any unauthorized sender is described in details in Section 3.5.
  • Masquerade attack: In this attack, a malicious peer may pretend to be a valid target of a source by stealing the identity of the real target. Thus, a malicious peer may gain access to the data of the source. The easiest point of an entry for a masquerade peer is provided by a weak authentication between the source and the target. Once the malicious node passes the authentication process, it may be authorized by the source as a target to access its data. Similarly, a malicious node may falsely act as a source for a target. Therefore, a malicious node may be able to tamper with both exchanged data and the data exchange policy between a source and a target. In this attack, an attacker may drop, modify, or even forge the exchanged data to interrupt the data exchange between a source and a target. In our proposed method masquerade attack is not possible as if by any chance a malicious peer act as a valid target, the receiver node will discard the data as in our method for each pair of connection a different key is used. If it happens for the final destination node the destination node easily discards the malicious peer as the destination node easily detects it by decrypting the data part of the message by using its private key.

5.7. Performance Comparison with other Existing Works

To test the performance of our system with some existing well-known works, we performed several tests with the help of our simulator. We implemented two existing well known works [9,20], whereas [20] uses implicit certificates for message transfer; on the other hand, [9] uses a group key management based technique. Table 4 demonstrates a comparison of our proposed technique with the present works. To compare the performance of the algorithms, we implemented their approach and ran in our simulator with the same environment and measured the performance by taking some time from thread hooks that we placed inside the code. To identify the differences between each algorithm, we increase the simulation clock speed from one second to one millisecond. We stopped the simulator until 600 messages were transferred. The outcome is shown in Figure 21.
According to this figure, we see that our algorithm uses existing connections, so the algorithm can work faster than the other methods. The hash keys are stored in the local table of each node, so the authentication does not take much time. As in an IoT environment, data comes very frequently, the speed is the primary concern over space.

6. Conclusions

IoT is rapidly expanding over the Internet, where a safe communication system is essential. In this paper, we presented an approach defining Smart Objects (SOs) that handles heterogeneous data sources to provide a robust and unified representation of data and to ensure the level of security and reliability associated with each data object. In fact, a suitable protection algorithm is developed to determine the privacy of both registered and non-registered IoT data sources. The acceptance of the proposed solution is checked first by a real prototype implementation and later integrates it by developing a simulated environment. The prototype environment demonstrates the key generation and exchange of IoT data between two physical SOs, while the simulated environment gets data from the implemented prototype within a smart home scenario consisting of multiple nodes. We conducted quantitative performance evaluation of our system with some recent works. We noticed that the proposed approach is appealing and performs well in terms of key conversion time, algorithm execution time, number of reuse connections, and bandwidth utilization. Although our experiment considers simple network scenarios, we comprehend that a complex networking scenario with varying topologies exists, where thousands of sensors will be connected and transfer data to/from different targets there by will increase complexity. One of the limitations of the proposed work is that it simulates the delay introduced by the network through computation of bandwidth, which could be improved by introducing other factors of network delay. Nevertheless, we envisage that our findings shall become a catalyst for further research in this area. In the future, we would like to explore large scale deployment of the proposed solutions as well as the synchronization aspects in dynamic systems.

Author Contributions

Conceptualization, T.T. and S.A.H.; funding acquisition, T.T. and M.F.A.; investigation, T.T. and M.F.A.; methodology, T.T.; software, S.A.H.; supervision, M.A.R. and M.A.H.; visualization, S.A.H.; writing—original draft, T.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the ICT Division, Government of the People’s Republic of Bangladesh [S-Number 56.00.0000.028.33.65.16-777, 21-06-2016]. The authors are also grateful to the Deanship of Scientific Research, King Saud University for funding through Vice Deanship of Scientific Research Chairs; Smart technologies.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Singh, D.; Tripathi, G.; Jara, A.J. A survey of Internet-of-Things: Future vision, architecture, challenges and services. In Proceedings of the IEEE World Forum on Internet of Things (WF-IoT), Seoul, Korea, 6–8 March 2014; pp. 287–292. [Google Scholar]
  2. Sicari, S.; Rizzardi, A.; Cappiello, C.; Miorandi, D.; Coen-Porisini, A. Toward Data Governance in the Internet of Things. In New Advances in the Internet of Things; Springer: Berlin/Heidelberg, Germany, 2018; pp. 59–74. [Google Scholar]
  3. Barreto, L.; Celesti, A.; Villari, M.; Fazio, M.; Puliafito, A. An authentication model for IoT clouds. In Proceedings of the IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), Paris, France, 25–28 Auguest 2015; pp. 1032–1035. [Google Scholar]
  4. Benabdessalem, R.; Hamdi, M.; Kim, T.H. A survey on security models, techniques, and tools for the internet of things. In Proceedings of the 7th International Conference on Advanced Software Engineering and Its Applications, Haikou, China, 20–23 December 2014; pp. 44–48. [Google Scholar]
  5. García-Guerrero, E.; Inzunza-González, E.; López-Bonilla, O.; Cárdenas-Valdez, J.; Tlelo-Cuautle, E. Randomness improvement of chaotic maps for image encryption in a wireless communication scheme using PIC-microcontroller via Zigbee channels. Chaos, Solitons Fractals 2020, 133, 109646. [Google Scholar] [CrossRef]
  6. Zhang, Z.K.; Cho, M.C.Y.; Wang, C.W.; Hsu, C.W.; Chen, C.K.; Shieh, S. IoT security: Ongoing challenges and research opportunities. In Proceedings of the IEEE 7th International Conference on Service-Oriented Computing and Applications, Matsue, Japan, 17–19 November 2014; pp. 230–234. [Google Scholar]
  7. Jang, S.; Lim, D.; Kang, J.; Joe, I. An Efficient Device Authentication Protocol Without Certification Authority for Internet of Things. Wirel. Pers. Commun. 2016, 91, 1681–1695. [Google Scholar] [CrossRef]
  8. Abdulkader, O.; Bamhdi, A.M.; Thayananthan, V.; Jambi, K.; Al Ghamdi, B.; Patel, A. A Secure Lightweight Mutual Authentication and Message Exchange Protocol for IoT Environments Based on the Existence of Active Server. In Proceedings of the Fourth International Congress on Information and Communication Technology, London, UK, 27–28 February 2019; pp. 375–384. [Google Scholar]
  9. Kandi, M.A.; Lakhlef, H.; Bouabdallah, A.; Challal, Y. A versatile Key Management protocol for secure Group and Device-to-Device Communication in the Internet of Things. J. Netw. Comput. Appl. 2020, 150, 102480. [Google Scholar] [CrossRef]
  10. Hsiao, T.C.; Chen, T.L.; Chen, T.S.; Chung, Y.F. Elliptic Curve Cryptosystems-based Date-constrained Hierarchical Key Management Scheme in Internet of Things. Sensors Mater. 2019, 31, 355–364. [Google Scholar] [CrossRef]
  11. Tabassum, T.; Hossain, S.A.; Rahman, M.A. A Secure Key Management Technique Through Distributed Middleware for the Internet of Things. In Intelligent Computing; Arai, K., Kapoor, S., Bhatia, R., Eds.; Springer: Berlin/Heidelberg, Germany, 2018; pp. 1128–1139. [Google Scholar]
  12. Park, N.; Kang, N. Mutual authentication scheme in secure internet of things technology for comfortable lifestyle. Sensors 2015, 16, 20. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Roman, R.; Alcaraz, C.; Lopez, J.; Sklavos, N. Key management systems for sensor networks in the context of the Internet of Things. Comput. Electr. Eng. 2011, 37, 147–159. [Google Scholar] [CrossRef]
  14. Porambage, P.; Braeken, A.; Schmitt, C.; Gurtov, A.V.; Ylianttila, M.; Stiller, B. Group Key Establishment for Enabling Secure Multicast Communication in Wireless Sensor Networks Deployed for IoT Applications. IEEE Access 2015, 3, 1503–1511. [Google Scholar] [CrossRef]
  15. Hillmann, P.; Knüpfer, M.; Guggemos, T.; Streit, K. CAKE: An Efficient Group Key Management for Dynamic Groups. arXiv 2020, arXiv:2002.10722. Available online: https://arxiv.org/abs/2002.10722 (accessed on 15 November 2019).
  16. Di Pietro, R.; Mancini, L.V.; Jajodia, S. Providing secrecy in key management protocols for large wireless sensors networks. Hoc Networks 2003, 1, 455–468. [Google Scholar] [CrossRef]
  17. Abdmeziem, M.R.; Tandjaoui, D. An end-to-end secure key management protocol for e-health applications. Comput. Electr. Eng. 2015, 44, 184–197. [Google Scholar] [CrossRef]
  18. Tlelo-Cuautle, E.; Díaz-Muñoz, J.D.; González-Zapata, A.M.; Li, R.; León-Salas, W.D.; Fernández, F.V.; Guillén-Fernández, O.; Cruz-Vega, I. Chaotic Image Encryption Using Hopfield and Hindmarsh–Rose Neurons Implemented on FPGA. Sensors 2020, 20, 1326. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Sciancalepore, S.; Capossele, A.; Piro, G.; Boggia, G.; Bianchi, G. Key management protocol with implicit certificates for IoT systems. In Proceedings of the 13th Annual International Conference on Mobile Systems, Applications, and Services, Florence, Italy, 19–22 May 2015; pp. 37–42. [Google Scholar]
  20. Iqbal, U.; Shafi, S. A provable and secure key exchange protocol based on the elliptical curve diffe–hellman for wsn. In Advances in Big Data and Cloud Computing; Springer: Berlin/Heidelberg, Germany, 2019; pp. 363–372. [Google Scholar]
  21. Marin, L.; Pawlowski, M.P.; Jara, A. Optimized ECC implementation for secure communication between heterogeneous IoT devices. Sensors 2015, 15, 21478–21499. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Singh, S.R.; Ajoy, K.K. Key Management Scheme for Internet of Things Using an Elliptic Curve. J. Comput. Theor. Nanosci. 2020, 17, 115–121. [Google Scholar] [CrossRef]
  23. Malani, S.; Srinivas, J.; Das, A.K.; Srinathan, K.; Jo, M. Certificate-Based Anonymous Device Access Control Scheme for IoT Environment. IEEE Internet Things J. 2019, 6, 9762–9773. [Google Scholar] [CrossRef]
  24. Carneiro, G. NS-3: Network simulator 3. In Proceedings of the UTM Lab Meeting April, Porto, Portugal, 20 April 2010; Volume 20, pp. 4–5. [Google Scholar]
  25. Chen, M.; Miao, Y.; Humar, I. Introduction to OPNET Network Simulation. In OPNET IoT Simulation; Springer: Berlin/Heidelberg, Germany, 2019; pp. 77–153. [Google Scholar]
  26. Bagula, B.; Erasmus, Z. Iot Emulation with Cooja. Available online: http://wireless.ictp.it/school_2015/presentations/firstweek/ICTP-Cooja-Presentation-version0.pdf (accessed on 2 March 2020).
  27. Veith, T.L.; Kobza, J.E.; Koelling, C.P. Netsim: Java™-based simulation for the world wide web. Comput. Oper. Res. 1999, 26, 607–621. [Google Scholar] [CrossRef]
  28. Mehdi, K.; Lounis, M.; Bounceur, A.; Kechadi, T. Cupcarbon: A multi-agent and discrete event wireless sensor network design and simulation tool. In Proceedings of the 7th International ICST Conference on Simulation Tools and Techniques, Lisbon, Portugal, 17–19 March 2014; pp. 126–131. [Google Scholar]
  29. Rajalakshmi, A.; Shahnasser, H. Internet of Things using Node-Red and alexa. In Proceedings of the 17th International Symposium on Communications and Information Technologies (ISCIT), Cairns, QLD, Australia, 25–27 September 2017; pp. 1–4. [Google Scholar]
  30. OASIS. MQTT 3.1.1 Specification. Available online: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html. (accessed on 20 October 2019).
  31. Eclipse. Mosquitto. Available online: https://mosquitto.org (accessed on 20 October 2019).
  32. Nawir, M.; Amir, A.; Yaakob, N.; Lynn, O.B. Internet of Things (IoT): Taxonomy of security attacks. In Proceedings of the 3rd International Conference on Electronic Design (ICED), Phuket, Thailand, 11–12 Auguest 2016; pp. 321–326. [Google Scholar]
  33. Deogirikar, J.; Vidhate, A. Security attacks in IoT: A survey. In Proceedings of the International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 10–11 February 2017; pp. 32–37. [Google Scholar]
Figure 1. Internet of Things (IoT) and the connected sensor world.
Figure 1. Internet of Things (IoT) and the connected sensor world.
Sensors 20 02049 g001
Figure 2. Group key management technique [14].
Figure 2. Group key management technique [14].
Sensors 20 02049 g002
Figure 3. Key management protocol with implicit certificates for IoT systems [19].
Figure 3. Key management protocol with implicit certificates for IoT systems [19].
Sensors 20 02049 g003
Figure 4. Data processing from sender to receiver nodes through Smart Objects (SOs).
Figure 4. Data processing from sender to receiver nodes through Smart Objects (SOs).
Sensors 20 02049 g004
Figure 5. Key sharing process to send a message via some intermediate nodes from a source node to the destination node.
Figure 5. Key sharing process to send a message via some intermediate nodes from a source node to the destination node.
Sensors 20 02049 g005
Figure 6. Tables used for communication channels.
Figure 6. Tables used for communication channels.
Sensors 20 02049 g006
Figure 7. Transfer of direct message from node A to node B.
Figure 7. Transfer of direct message from node A to node B.
Sensors 20 02049 g007
Figure 8. Transfer of messages via an intermediate node N.
Figure 8. Transfer of messages via an intermediate node N.
Sensors 20 02049 g008
Figure 9. External attacker node is denied from a receiver node.
Figure 9. External attacker node is denied from a receiver node.
Sensors 20 02049 g009
Figure 10. External attacker node is trying to use the network and rejection from our algorithm.
Figure 10. External attacker node is trying to use the network and rejection from our algorithm.
Sensors 20 02049 g010
Figure 11. Classes designed for the IoT simulator.
Figure 11. Classes designed for the IoT simulator.
Sensors 20 02049 g011
Figure 12. IoT simulator interface.
Figure 12. IoT simulator interface.
Sensors 20 02049 g012
Figure 13. The implemented SO node.
Figure 13. The implemented SO node.
Sensors 20 02049 g013
Figure 14. The implemented SO node connection diagram.
Figure 14. The implemented SO node connection diagram.
Sensors 20 02049 g014
Figure 15. An example MQTT topic.
Figure 15. An example MQTT topic.
Sensors 20 02049 g015
Figure 16. The prototype setup with the MQTT broker.
Figure 16. The prototype setup with the MQTT broker.
Sensors 20 02049 g016
Figure 17. A typical smart home scenario.
Figure 17. A typical smart home scenario.
Sensors 20 02049 g017
Figure 18. Performance with respect to SIoT pair create versus pair reuse.
Figure 18. Performance with respect to SIoT pair create versus pair reuse.
Sensors 20 02049 g018
Figure 19. Effect of the different key conversion function.
Figure 19. Effect of the different key conversion function.
Sensors 20 02049 g019
Figure 20. Key generation and distribution time.
Figure 20. Key generation and distribution time.
Sensors 20 02049 g020
Figure 21. Performance comparison of the proposed method with two other existing works, KMP [20] and GKMP [9]. (a) Execution time, (b) total bandwidth used, (c) reuse existing connection/new connection created.
Figure 21. Performance comparison of the proposed method with two other existing works, KMP [20] and GKMP [9]. (a) Execution time, (b) total bandwidth used, (c) reuse existing connection/new connection created.
Sensors 20 02049 g021
Table 1. Comparison of the existing works.
Table 1. Comparison of the existing works.
ReferenceKey Type UsingGood for When Number of Messages IsComplexityDrawbacks
[12]Mutual Keylowsimplegenerates a session key for every session which degrade performance when message is high
[8]Mutual Keymediumsimplegenerates a session key for new connection but security is not high
[14]Group Keymediumsimplecreating multicast group is time-consuming
[9]Group Keymediumsimplecreating multicast group in an intelligent way but still time-consuming when message number is high
[16]XOR Basedlowmoderatefor high resource consumption this method is not suggested
[17]XOR Basedlowhighperformance and scalability are affected for using a third party certificate provider
[19]ECC/ECDHlowhighimplicit IoT device certificates make the system slower
[20]ECC/ECDHmediummoderateuses complex certificate based approach
[10]ECC/ECDHmediumhighuses complex certificate based approach
[7]CA-LesslowhighIt is difficult to manage the Certificate Authority (CA) placing it on a server
[22]CA-Lesshighhighthe method is still in its preliminary stage and detailed investigation is needed for realistic use in various environments
Table 2. List of electrical components that is used to implement each of our prototype SO node.
Table 2. List of electrical components that is used to implement each of our prototype SO node.
ComponentPurpose
Arduino UnoRunning our SIoT algorithm
ESP8266-01—Wifi ModuleConnecting other node through WiFi
Serial Enabled 16 × 2 LCDDisplaying the connection and pair status
Logic Level Converter—Bi-DirectionalIs used to coordinate voltage levels between 5 V controllers and 3.3 V components and vice versa
Lithium Polymer Battery—7.4 VPower source
Jumper Wires Pack—M/MElectrical circuits to connect its various components
Jumper Wires Pack—M/FA pack of 20 standard 6in female-male Jumper wires
Table 3. Electrical connection of the SO node.
Table 3. Electrical connection of the SO node.
StepFrom ConnectionTo Connection
1ArduinoUno VinLipoBattery7v4 VCC
2ArduinoUno GNDBus GND
3ArduinoUno 5vBus POS
4serLCD GNDBus GND
5serLCD RXArduinoUno 2
6serLCD VCCBus POS
7ESP8266 RXDLogicLevelConverter LV1
8ESP8266 TXDLogicLevelConverter LV2
9ESP8266 VCCLogicLevelConverter LV
10ESP8266 GNDBus GND
11LogicLevelConverter LVESP8266 CH_PD
12LogicLevelConverter LVArduinoUno 3.3 V
13LogicLevelConverter GNDBus GND
14LogicLevelConverter HV2ArduinoUno 10
15LogicLevelConverter HV1ArduinoUno 11
16LogicLevelConverter HVBus POS
17LipoBattery7v4 GNDBus GND
Table 4. Comparison of our proposed technique with other existing works.
Table 4. Comparison of our proposed technique with other existing works.
FactorProposed TechniqueKMP [19,20]GKMP [9]
Key assignA symmetric key for each node pairTwo certificates for each node pairGroup key for each group
AuthHash keyTwo certificatesDigital signature
Re-keyNeed to update the GT and LTNo action requiredNeed to assign new to all members that are in a group
SpaceModerately highLowLow
SpeedHighSlowSlow
DrawbackModerately high space required for storing data in GT and LTUsing same implicit key, so if the key is compromised, the communication may break downPractically it is almost impossible to make grouping of nodes
Attack resistanceMan-in-the-middle attack, EavesdroppingReply-attackMan-in-the-middle attack

Share and Cite

MDPI and ACS Style

Tabassum, T.; Hossain, S.A.; Rahman, M.A.; Alhamid, M.F.; Hossain, M.A. An Efficient Key Management Technique for the Internet of Things. Sensors 2020, 20, 2049. https://doi.org/10.3390/s20072049

AMA Style

Tabassum T, Hossain SA, Rahman MA, Alhamid MF, Hossain MA. An Efficient Key Management Technique for the Internet of Things. Sensors. 2020; 20(7):2049. https://doi.org/10.3390/s20072049

Chicago/Turabian Style

Tabassum, Tamanna, SK Alamgir Hossain, Md. Anisur Rahman, Mohammed F. Alhamid, and M. Anwar Hossain. 2020. "An Efficient Key Management Technique for the Internet of Things" Sensors 20, no. 7: 2049. https://doi.org/10.3390/s20072049

APA Style

Tabassum, T., Hossain, S. A., Rahman, M. A., Alhamid, M. F., & Hossain, M. A. (2020). An Efficient Key Management Technique for the Internet of Things. Sensors, 20(7), 2049. https://doi.org/10.3390/s20072049

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop