Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

31 October 2024

A Provably Secure and Lightweight Two-Factor Authentication Protocol for Wireless Sensor Network

and
1
School of Engineering, The University of Edinburgh, Edinburgh EH8 9YL, UK
2
Department of Food and Agricultural Technology, Yangtze Delta Region Institute of Tsinghua University, Jiaxing 314006, China
*
Author to whom correspondence should be addressed.

Abstract

Wireless Sensor Networks (WSNs) are rapidly being integrated into various fields, significantly impacting and facilitating many aspects of human life. However, the increasingly prominent security issues associated with WSNs have become a significant challenge. This paper provides an in-depth analysis of the security challenges faced by WSNs in resource constrained and open communication environments. As a key component of the Internet of Things (IoT), a WSN can perceive, collect and transmit physical environmental data in real-time, and is widely used in military, medical, agricultural and other fields. However, the insecurity of communication channels and unauthorized user access pose severe threats to network security and data integrity. To address these challenges, this paper proposes a provably secure two-factor authentication protocol. This protocol utilizes a Chebyshev chaotic map and a two-factor authentication mechanism, which not only enhances security in WSNs but also improves authentication efficiency. The protocol is validated through security proof and performance experiments, demonstrating excellent security, functionality and efficiency. This provides strong support for secure and efficient communication in WSNs across various application scenarios.

1. Introduction

IoT enables real-time data collection from the surrounding environment through information-gathering devices and technologies, facilitating connections between objects and people via networks. As a critical component of the IoT, the WSN has also become a primary focus of research in the fields of wireless communication and computer science [1,2,3,4,5]. WSN is composed of numerous wireless sensor nodes deployed in the monitored area, forming a self-organizing multi-hop wireless network [6]. They can perceive, collect, process and transmit environmental data in real time, thereby digitizing the physical environment and establishing a connection between the physical environment and the network. The high flexibility, strong fault tolerance, small size, low cost and ease of installation of WSN nodes contribute to their widespread application in fields such as military, healthcare, agriculture, smart cities and environmental monitoring [7,8,9]. In future intelligent communication technologies, the WSN is expected to continue evolving as a critical foundational technology and infrastructure.
Wireless sensor nodes monitor and collect various environmental metric data, which are then uploaded to a base station. The base station connects to the internet, where the data are stored, processed and made available for service. Users can request data interaction from wireless sensor nodes to obtain real-time sensed data. WSNs have been widely applied in various scenarios, but the networks still have certain limitations [10]. First, as a crucial component of the network, wireless sensor nodes are responsible for sensing, collecting and transmitting environmental data. However, these nodes are resource-constrained, independent embedded devices with significant limitations in energy, computing power and memory. Once a node’s battery is depleted, the wireless sensor node is considered dead and ceases to function. Second, the insecurity of communication channels is a concern. Wireless sensor nodes use unprotected public channels for data transmission and reception within the network. If attackers infiltrate the network, they can launch attacks through interception, replay, modification, forwarding and other methods. Third, unauthorized users may impersonate legitimate users when accessing the network, requesting data interaction from wireless sensor nodes or base stations to obtain sensed data. These limitations make WSNs more susceptible to targeted attacks, compromising the credibility and integrity of messages and ultimately undermining the security of the entire network [11,12,13]. Given the widespread application of WSN in various scenarios, an attack on the network poses significant threats to participant privacy, economic interests and even national security. To protect user information from being compromised and to ensure the validity and integrity of exchanged information in an open network environment, identity authentication is essential. The authentication process occurs over public channels, making it susceptible to eavesdropping and other techniques that allow attackers to obtain communication content [14]. Therefore, the primary objectives of an authentication protocol are to achieve mutual authentication and establish a session key. In addition, another critical aspect to consider in an authentication protocol is its efficiency. This efficiency primarily depends on the cryptographic algorithms used in the protocol. To design more efficient authentication protocols, researchers have discovered that Chebyshev polynomials exhibit semigroup properties, which can be utilized to design cryptographic algorithms. Compared to widely used traditional cryptographic algorithms, those based on Chebyshev polynomials offer higher computational efficiency [15]. Consequently, authentication protocols using Chebyshev polynomials require less computational power from devices, making them more promising for development.

Method and Contribution

This paper focuses on analyzing the security issues present in the WSN, investigates the security vulnerabilities in authentication protocols within WSN and proposes a provably secure and lightweight two-factor authentication protocol. The contributions are organized as follows:
(1) In this paper, a provably secure and lightweight authentication protocol is designed using a Chebyshev chaotic map, two-factor authentication and symmetric encryption technologies. This protocol integrates the complexity of the Chebyshev chaotic map with the dual security provided by two-factor authentication, significantly enhancing WSN security while also improving the efficiency of the authentication process. Furthermore, this protocol provides a solid theoretical foundation and technical support for secure and efficient communication in WSN.
(2) The security of this authentication protocol has been rigorously verified through security proof. An informal security analysis further illustrates the protocol’s security features. Performance experiment results indicate that, compared to other related protocols, the proposed protocol achieves a better balance between security, functionality and overhead. While enhancing security and implementing more functional features, the protocol minimizes overhead.
The following sections are structured as follows: Section 2 reviews the advancements in pertinent research areas. Section 3 elaborates on the fundamental principles. Section 4 details the components. Section 5 presents an in-depth security analysis. Section 6 describes the experiment. Section 7 summarizes the work.

3. Security Model and Symbol Definitions

3.1. System Model

As depicted in Figure 1, the WSN authentication model is carefully constructed with three core components: sensor node (SN), gateway node (GWN) and user. This architecture is designed to ensure secure data transmission and access control, thereby enhancing the reliability and security of the entire network system.
Figure 1. System Model.
Gateway node: As the central hub in WSN, the gateway is responsible not only for creating and maintaining public system information but also for performing multiple critical tasks. It first needs to establish and manage a comprehensive registration mechanism to ensure that all sensor nodes and users are accurately identified and recorded. Additionally, the gateway undertakes the crucial task of verifying identity information by implementing efficient authentication protocols to ensure that only authorized entities can access the network and its data. This process is essential for preventing unauthorized access and safeguarding data privacy and integrity.
User: In the WSN, the user must formally register with the gateway to obtain the necessary authentication information. This process typically involves submitting user identity information to ensure their legitimate status within the network. Once registered and authenticated, the user can interact with gateways and sensor nodes via communication channels to query and control data.
Sensor node: As the fundamental unit of WSN, the sensor node is distributed across the monitored area, responsible for collecting various environmental parameters and converting them into digital signals for transmission. In terms of authentication, sensor nodes must also participate in the authentication process to ensure their authenticity and legitimacy. This typically requires sensor nodes to be registered and store corresponding authentication information prior to deployment. Additionally, the sensor node must be capable of responding to authentication requests from gateways or users to prove their legitimacy and allow further data transmission and processing.

3.2. Attack Model

Due to the widespread application of WSNs, attackers can attack WSNs through various attack methods. Therefore, this article refers to the Dolev Yao (DY) model [35] as the basic capability model for attackers. Based on the characteristics of WSN, it is assumed that attackers should possess the following basic capabilities:
(1)
Attackers can intercept, replay, modify or delete messages transmitted through public channels.
(2)
Attackers can obtain data and parameters stored in smart cards.
(3)
Attackers can obtain previous session keys.

3.3. Security Objective

The authentication protocol under the WSN needs the identities of entities to be authenticated, to avoid unauthorized accessing, and to generate shared session keys to ensure the security of subsequent communication. This paper mainly introduces the security objectives of the protocol.
(1)
Mutual authentication: The protocol should authenticate each other to ensure secure communication.
(2)
Prevention of Denial of Service (DoS) attacks: An attack that shuts down a system or network, preventing authorized users from accessing it. This is typically achieved by overwhelming the system or network with a flood of invalid access requests, causing it to become overloaded and unable to provide normal service.
(3)
Preventing user anonymity: The protocol should ensure the security of user identities and prevent the tracking of user activities.
(4)
Resisting impersonation attacks: Attackers can pose as authorized users, forging login credentials and manipulating sensitive data sourced from sensor nodes. Therefore, the scheme must be designed to be impervious to these types of attacks.
(5)
Resisting replay attacks: In this case, if an attacker obtains previous messages, they may attempt to impersonate an authorized user. To resist replay attacks, the authentication protocol should use different messages for each session.

3.4. Notation

Table 2 provides the notation used in the paper.
Table 2. Notation and Description.

3.5. Security Model

The security model for WSN is described using the security models presented in [35,36,37].
Participants: For clarity and to avoid redundancy, let us denote the sensor node instance as Π S N j s , the user instance as Π U i u and the gateway node instance as Π G W N g .
Adversary: We assume an adversary A has complete control over all communications within the WSN. This includes the ability to intercept, read, modify, construct and inject messages into the network.
Freshness: If the session key SK of instance Π U i s or Π S N j s has not been exposed to adversary A , they are considered fresh.
E x e c u t e Π s , Π u , Π g : This query triggers a session between two instances and captures all transmitted messages, modeling an eavesdropping attack.
C o r r u p t S C ( Π s ) : The query enables A to extract data stored on the smart card.
T e s t Π : This query tests the ability of A to discern between the actual session key and a randomly generated key for a given instance. Initially, a random bit b ϵ { 0,1 } is secretly chosen and used to determine the response to a T e s t query: If b = 1 and the session key is established and fresh, it returns the session key. If b = 0 , it returns a random number. Otherwise, it returns ⊥.
Semantic security of session key: The essence lies in the inability of A to discern the actual session key from a randomly generated key. A can issue a T e s t query to an instance of U i or S N j . The outcome of the T e s t query adheres to the predetermined bit b, ensuring consistency. After the attack experiment, A submits a guess b’, and if b’ = b, A succeeds in the challenge.
Let S u c c denote the success of A in the challenge game and let P represent the proposed protocol. The advantage of A in the semantic security is defined as A d v P a k e = 2 P r S u c c 1 . Here, if A d v P a k e A is negligible, then P is a secure authentication protocol.

3.6. Chebyshev Chaotic Map

Definition 1.
(Chebyshev Chaotic Map): Let n be an integer and x 1 , 1 , with the Chebyshev polynomial defined as (1) and (2) [15].
T n x = c o s n a r c c o s x
T n x = 2 x T n 1 x T n 2 x m o d p
Definition 2.
(Chaotic Map-Based Diffie–Hellman Problem (CMDHP)): Given x, T s x and T r x , it is almost impossible to find T r s x .

4. Proposed Scheme

4.1. System Setup

GWN selects a system master key k and a secret value y, and computes P G = T y ( x ) . Then, GWN selects a large prime number p and a random number x [ , + ] . The values k and y are kept secret by the GWN, while x and p are made public. Figure 2 shows the authentication process.
Figure 2. Authentication process.

4.2. Node Registration

GWN assigns an identity S I D j to node S N j and computes K S N = h S I D j k . The pair { S I D j , K S N } is stored in the sensor node.

4.3. User Registration

User U i inputs the identity I D i and password P W i , selects random numbers a 1 and a 2 , and computes P I D i = h I D i a 1 and U P W i = h P W i a 2 . The user then sends { P I D i , U P W i } to the GWN.
Upon receiving { P I D i , U P W i } , GWN computes U X i = h P I D i k and U B i = U X i h U P W i P I D i . GWN stores { P I D i , H o n e y n u m = 0 } in its database and sends { U B i } and the smart card S C i (Smart card is a chip card with built-in integrated circuits. It can not only store data, but also process it, with high information security and confidentiality. In WSNs, smart cards are mainly used as authentication tokens to achieve legitimate access and control of users by storing their unique identification information and required keys) to U i .
The user computes U X i = U B i h U P W i P I D i , selects a random number a 3 , and calculates UPW i = h P W i a 3 and U B i = U X i h U P W i P I D i . The user then computes U A i = h P I D i U P W i m o d   n 0 , where n 0 is an integer in the range [ 2 8 , 2 10 ] . Finally, the user writes { a 1 , a 3 , U B i , U A i } to S C i .

4.4. User Login and Authentication

(1) User inputs I D i and P W i . S C i computes P I D i * = h I D i a 1 , U P W i * = h ( P W i a 3 ) and A i * = h ( P I D i * U P W i * )   m o d   n 0 . A i * ? = A i is compared. If they are equal, the process continues; otherwise, it terminates. U i computes U X i = U B i h ( U P W i * P I D i * ) , and selects random numbers a 4 and m i . The user then computes M 1 = T m i ( x ) , M 2 = T m i ( P G ) , A I D i = h ( I D i α 4 ) , M 3 = E h M 1 U X i ( A I D i S I D j ) , and M 4 = h ( U X i M 2 A I D i S I D j ) . Finally, U i sends { P I D i , M 1 , M 3 , M 4 } to GWN.
(2) Upon receiving { P I D i , M 1 , M 3 , M 4 } , GWN computes U X i = h P I D i k , and then decrypts M 3 using h M 1 U X i to obtain A I D i and S I D j . GWN then computes M 2 = T y M 1 and M 4 * = h U X i M 2 A I D i S I D j , and compares M 4 * with M 4 . If the comparison does not work, it is over. Honeynum is incremented by one. If Honeynum exceeds the threshold, the user is frozen and required to re-register. If the comparison holds, a random number n g is chosen by GWN, which then computes K S N = h S I D j k , G S i = h U X i M 1 , M 5 = n g h K S N M 1 , M 6 = G S i h n g K S N M 1 and M 7 = h ( n g | | S I D j M 1 G S i ) . GWN sends the { M 1 , M 5 , M 6 , M 7 } to S N j .
(3) Upon receiving the message, S N j calculates n g = M 5 h K S N M 1 , G S i * = M 5 h n g K S N M 1 and M 7 * = h n g S I D j M 1 G S i * . If M 7 * matches M 7 , the process continues; otherwise, it is terminated. SN j selects n j and computes M 8 = T n j ( x ) , S N S j = h K S N M 8 , U S K j = T n j ( M 1 ) and S K j = h M 1 M 8 U S K j S I D j n g G S i * S N S j . The values M 9 = h ( S I D j S K j M 8 M 1 n g ) and M 10 = h S I D j M 8 M 9 K S N n g are then computed and sent to GWN as { M 8 , M 9 , M 10 } .
(4) GWN computes M 10 * = h S I D j M 8 M 9 K S N n g and compares it with M 10 . If they do not work, it is over; otherwise, it continues. GWN then calculates S N S j = h K S N M 8 , U X i n e w = h A I D i k , M 11 = U X i n e w h M 1 U X i , M 12 = n g h h M 1 U X i U X i n e w , M 13 = U X i n e w S N S j , and M 14 = h M 8 n g S I D j P I D i M 9 S N S j . The database is updated by replacing PID i with A I D i , and the error counter is reset. The GWN then sends { M 8 , M 9 , M 11 , M 12 , M 13 , M 14 } to U i .
(5) The user U i computes U X i n e w = M 11 h M 1 U X i , n g = M 12 h ( h M 1 U X i U X i n e w ) , S N S j = M 13 U X i n e w and M 14 * = h ( M 8 n g S I D j P I D i M 9 S N S j ) . If M 14 matches M 14 * , the following calculations are performed: U K i = T m i ( M 8 ) , S i = h U X i M 1 , S K i = h ( M 1 M 8 U K i S I D j n g S i S N S j ) , and M 9 * = h S I D j S K i M 8 M 1 n g . If M 9 * matches M 9 , U i proceeds to compute U B i n e w = U X i n e w h U P W i A I D i ) and U A i n e w = h A I D i U P W i m o d n 0 . The values U B i n e w , U A i n e w , a 4 replace U B i , U A i , a 1 in the smart card.

4.5. Change Password

The user inputs   ID i and P W i . S C i computes P I D i * = h I D i * a 1 , U P W i * = h ( P W i * a 3 ) , and U A i * = h P I D i * U P W i *   m o d   n 0 . If A i * matches A i , the process continues; otherwise, it terminates. The user then inputs a new password P W i n e w , selects a new random number a 3 n e w and computes U P W i n e w = h P W i n e w , a 3 n e w , U B i n e w = U X i h ( U P W i n e w P I D i * ) and U A i n e w = h P I D i * U P W i n e w   m o d   n 0 . The new values U A i n e w , U B i n e w , a 3 n e w replace the old values U A i ,   U B i ,   a 3 in S C i .

5. Security Analysis

5.1. Informal Security Analysis

(1)
Mutual Authentication:
The authentication must ensure that entities involved in communication can mutually verify each other’s identity. In this protocol, the entities involved are U i , GWN and S N j . During the mutual authentication process, GWN verifies the legitimacy of U i by checking whether M 4 * equals M 4 . S N j directly authenticates GWN by checking whether the authentication message M 7 * equals M 7 . U i directly authenticates GWN by checking whether M 14 * equals M 14 and indirectly authenticates S N j by verifying whether M 9 * equals M 9 . This achieves mutual authentication among U i , GWN and S N j , fulfilling the security requirement for mutual authentication.
(2)
User Anonymity:
User anonymity requires that an attacker cannot determine the user’s identity I D i from interaction information or analyze multiple sessions to link them to a specific user. The interaction information generated during the negotiation between the user and S N j includes messages related to the user’s I D i . Without U X i , the attacker cannot derive A I D i from M 3 and thus cannot obtain I D i information from A I D i . Due to the one-way function, the attacker cannot reverse-engineer P I D i * to obtain I D i . On the other hand, while the attacker may listen to the current P I D i * used by the user in one session, without U X i , they cannot derive the A I D i for the next session, thus preventing them from linking two P I D i * values to the same user. Therefore, this protocol ensures user anonymity.
(3)
Forward Security:
This protocol designs the symmetric key generation process between the user and S N j based on the Diffie–Hellman (DH) problem. In this protocol, if the attacker obtains all long-term secrets, they can derive M 1 , M 8 , S I D j , n g , G S i * and S N S j information. Due to the Diffie–Hellman problem, without the temporary secrets, the attacker cannot compute U S K j . Due to the one-way hash function, S K j cannot be derived without knowing U S K j . Therefore, this protocol provides forward security.
(4)
Offline Dictionary Attack:
After obtaining the smart card, the attacker may guess I D * , P W * from the user identity space D I D and the user password space D P W , then compute P I D i * = h I D i a 1 , U P W i * = h ( P W i a 3 ) and A i * = h ( P I D i * U P W i * )   m o d   n 0 . The attacker can then compare A i * with A i to determine whether the guessed I D * and P W * are correct. According to [35], there are approximately D I D * D P W n 0 2 32 pairs that satisfy this equation. The attacker can only verify the guessed ( I D * , P W * ) by interacting online with GWN, but since the Honeynum for user verification cannot exceed the threshold, the probability of correctly guessing the user’s identity and password in a limited number of online attempts is negligible. Therefore, this protocol can resist offline dictionary attacks.
(5)
Insider Attack:
If the attacker obtains the user’s ( P I D i , U P W i ) during registration and also gains access to the user’s smart card, they can only guess the user’s password via UPW i . After guessing P W i * in the password space D P W , the attacker calculates UPW i = h ( P W i * a 1 ) to verify if the guess is correct. Since the smart card replaces a 2 with a 3 after registration, the attacker cannot obtain a 2 from the smart card or guess the user’s password via U P W i . Therefore, this protocol can resist insider attacks.
(6)
Impersonation Attack:
In this attack, the attacker impersonates a legitimate user to access sensor nodes, attempting to compromise the key or other useful information negotiated between other users and the sensor node. The effectiveness of this attack depends on whether the attacker can obtain the secret information authenticated by GWN through negotiation. In this protocol, an attacker impersonates a legitimate user to obtain the messages available and eavesdrops on the channel to compute M 2 and U X i . However, due to the one-way hash function and the CMCDHP problem, the attacker cannot further compute these secret values. Therefore, this protocol can resist impersonation attacks.
(7)
Man-in-the-Middle Attack:
During the authentication phase, the user sends the message { P I D i , M 1 , M 3 , M 4 } to the GWN via an open channel. Although attackers can intercept messages transmitted through the open channel, in this protocol, they cannot pass GWN’s verification because they cannot access GWN’s private key k.
(8)
Replay Attack:
During message transmission, attackers send tampered information. After receiving the message, the authentication entity first verifies the timestamp. If the timestamp verification fails, the request session will be lost directly, as is the case if the attacker has made synchronous modifications to the timestamp. So, the authentication entity continues to verify the authentication information. Due to the inclusion of timestamps in the calculation process of these authentication information, attackers are unable to verify using this calculation. Therefore, this protocol can prevent replay attacks.
(9)
Denial of Service Attack:
During the authentication process, the protocol incorporates a timestamp verification step. Once an illegal large-scale request message is received, the session is usually discarded during the first verification step. Therefore, this protocol can resist this attack.
(10)
Known Key Security:
In this scheme, U i and S N j independently compute the session key S K j = h M 1 M 8 U S K j S I D j n g G S i * S N S j . Even if an attacker successfully compromises a previously negotiated session key, they cannot obtain any secret parameters to compute a new session key. This is because a one-way hash function is used throughout the authentication process to protect the key parameters. Therefore, this protocol ensures known key security.
(11)
Stolen Smart Card Attack:
The smart card of a legitimate user U i may be stolen by an attacker. Even if the attacker extracts the secret information from S C i , they still cannot log in to the network. The attacker would also need to know U i ’s identity I D i and password P W i to generate the login message A i * = h ( P I D i * U P W i * )   m o d   n 0 . Therefore, a stolen smart card attack is not possible in this protocol.

5.2. Security Proof

The detailed proof is as follows:
Theorem 1.
Assume that A is an adversary operating against P within polynomial time t under the given model. Let D p w be a uniformly distributed password dictionary. Assuming no sensor nodes are compromised by the adversary, the definition given in Equation (3) is obtained:
A d v p a k e A q h 2 H a s h + 2 q s e n d D p w + 2 A d v p C M D H P
Among them, q h , q s e n d , |Hash| and | D p w | respectively represent the number of hash queries, the number of send queries, the range space of hash and the size of D p w . A d v p C M D H P represents the advantage of attacker A in solving CMDHP in polynomial time.
Proof. 
Throughout the proof, assume that all games occur as G i , where i = [0, 4]. Let S u c c i denote the event where the adversary A successfully guesses b in game G i . □
Game  G 0 : In this game, the adversary A conducts an actual attack against PPP within the random oracle model. At the beginning of the experiment, b is randomly chosen. By definition, we obtain Equation (4):
A d v p a k e U A = 2 P r S u c c 0 1
Game  G 1 : This game simulates an eavesdropping attack where A initiates an Execute query and performs a test query to determine whether the result is a real session key or a random number at the end of the game. It should be noted that S K i can be computed as: S K i = h ( M 1 M 8 U K i S I D j n g S i S N S j ) , where n g = M 12 h ( h M 1 U X i U X i n e w ) , S N S j = M 13 U X i n e w , U K i = m i M 8 and S i = h U X i M 1 .
Since S K i contains the short-term random keys m i and n j , without these keys, the probability of A winning game G 0 by computing S K i is not altered by the eavesdropped messages { P I D i , M 1 , M 3 , M 4 } , { M 1 , M 5 , M 6 , M 7 } , { M 8 , M 9 , M 10 } and { M 8 , M 9 , M 11 , M 12 , M 13 , M 14 } . Therefore,
P r S u c c 0 = P r S u c c 1
Game  G 2 : This game is derived from G 1 by adding send and hash queries. In this game, A attempts to deceive participants into accepting incorrect messages. In this scenario, A can repeatedly perform hash queries to check for collisions in the hash digests. All communication messages { P I D i , M 1 , M 3 , M 4 } , { M 1 , M 5 , M 6 , M 7 } , { M 8 , M 9 , M 10 } , and { M 8 , M 9 , M 11 , M 12 , M 13 , M 14 } contain identity information, random numbers, timestamps, and keys. Therefore, when A executes a send query, no collisions occur.
P r S u c c 1 P r S u c c 2 = q h 2 / 2 h a s h
Game  G 3 : This game is derived from G 2 by performing the C o r r u p t S C query. In this game, A obtains the credentials stored in S C i , including { a 1 , a 3 , U B i   U A i }. A attempts a dictionary attack to guess the correct I D i and P W i from these credentials. Assuming the system limits the number of incorrect password attempts, the result is as follows:
P r S u c c 1 P r S u c c 2 = q s e n d / | D p w |
Game  G 4 : In this game, the adversary guesses the value of the session key SK. SK is generated through hash values based on chaotic mapping parameters, specifically U S K j = T n j ( M 1 ) and U K i = T m i ( M 8 ) . Due to the difficulty of the CMDHP, the adversary cannot compute the session key S K i = h ( M 1 M 8 U K i S I D j n g S i S N S j ) , with a negligible probability within polynomial time. Then:
P r S u c c 4 P r S u c c 3 A d v p C M D H P
In the above scenarios, all oracles have been simulated. If the adversary A has attempted all possible methods to compromise the security of P without success, the final resource after the querying test is to guess b. Therefore, P r S u c c 4 equals the probability of guessing b; i.e., P r S u c c 4 = 1 2 .
In all cases, we have P r S u c c 0 = P r S u c c 1 , | P r S u c c 2 P r S u c c 1 | q h 2 / 2 H a s h , P r S u c c 3 P r S u c c 2 q s e n d / | D p w | , P r S u c c 4 P r S u c c 3 A d v p C M C D H P and P r S u c c 4 = 1 / 2 .Thus, we obtain:
A d v p a k e A q h 2 H a s h + 2 q s e n d D p w   + 2 A d v p C M D H P

5.3. AVISPA Verification

AVISPA is an automated validation tool for security protocols with comprehensive performance, which can be used to establish protocol models and analyze protocol security. AVISPA uses High-Level Protocol Specification Language (HLPSL) to describe the protocol, and then translates it into IF (Intermediate Format) language through a translator. Afterwards, different testing techniques can be called on the backend to analyze the protocol.
This article uses AVISPA to formally analyze the proposed protocol. Firstly, HLPSL should be used to describe the basic roles and construct character sessions and environments. The detection results in Figure 3 show that this protocol can effectively resist various known attacks.
Figure 3. AVISPA result.

5.4. Scyther Verification

Scyther is a powerful formal verification tool that allows for the customization of security models, features a user-friendly interface and provides clear visual outputs for attacker scenarios [38]. It is widely used for large-scale protocol analysis, vulnerability detection and security verification. Compared to traditional BAN logic analysis, Scyther offers more robust verification capabilities, enabling the validation of security properties. Additionally, Scyther can provide targeted formal descriptions of specific properties, such as authentication, confidentiality and replay resistance. For security properties of interest to the user, target properties can be declared using the claim feature, allowing for the formal description of entity authentication and variable confidentiality.
In this paper, the Scyther tool is used to analyze the security of the WSN authentication protocol. In the simulation, the roles U, GWN and SN are used to represent the user, gateway and sensor node, respectively. The security properties Alive, Weakagree, Niagree and Nisynch are declared to detect potential replay attacks, man-in-the-middle attacks and others. The simulation results show that the proposed authentication protocol achieves the following security properties, including mutual authentication and message confidentiality and resists common protocol attacks such as replay and man-in-the-middle attacks. The simulation results, as shown in Figure 4, indicate that all states are verified, demonstrating that the protocol successfully meets all the security properties declared in Scyther without detecting any attack.
Figure 4. Simulation result.

6. Performance Evaluation

6.1. Analysis of Computation Overhead

To better describe the involved authentication protocols, a brief explanation of some symbols is provided before evaluating the computation overhead of the related works. T H represents a one-way hash function operation. T E D denotes an encryption or decryption operation. T E C C represents the time required to perform an ECC operation. T F denotes the time required for fuzzy extraction. T C represents a Chebyshev chaotic map operation.
As for the XOR operation used in authentication, the time consumed for a single XOR operation is negligible compared to the operations mentioned above and does not affect the final comparison results. Therefore, the time consumed by the XOR operation is disregarded.
The cryptographic operations were simulated on a network using hardware with 8GB of memory, an Intel Core i7 processor and an Ubuntu 16 system. The execution times of the various cryptographic operations were obtained through this experiment. The results show that T H 0.0006 ,   T E D 0.0028 ,   T E C C 0.1872 ,   T F T E C C   a n d   T C 0.0617 . Table 3 presents a comparison of the computation overhead.
Table 3. Computation Overhead.
As shown in Table 3, the computation overhead at each node in [39] is 2 T E C C + 12 T H + 1 T F , 1 T E D + 10 T H and 2 T E C C + 5 T H + 1 T E D , respectively. The total time consumed is 4 T E C C + 27 T H + 2 T E D + 1 T F . In [40], the computation overhead at each node is 2 T E C C + 10 T H + 1 T F , 1 T E C C + 4 T H and 5 T H , respectively. The total time consumed is 3 T E C C + 1 T F + 19 T H . In [41], the computation overhead at each node is 11 T H , 17 T H and 6 T H , respectively. The total time consumed is 34 T H . In [42], the computation overhead at each node is 2 T E C C + 8 T H , 1 T E C C + 4 T H and 4 T H , respectively. The total time consumed is 3 T E C C + 16 T H . In [43], the computation overhead at each node is 1 T E D + 8 T H , 2 T E D + 3 T H and 1 T E D + 4 T H , respectively. The total time consumed is 4 T E D + 15 T H . For the proposed protocol, the computation overhead at each node is 3 T C M + 1 T E D + 14 T H , 1 T C M + 1 T E D + 13 T H and 2 T C M + 7 T H , respectively. The total time consumed during the entire authentication negotiation process is 6 T C M + 2 T E D + 34 T H .
Analysis shows that this protocol is higher than that of [41,43]. However, security analysis reveals that [41] does not satisfy user anonymity and replay attack resistance, and [43] fails to meet impersonation and man-in-the-middle attack resistance. This protocol meets these security requirements. Therefore, in Figure 5, Figure 6, Figure 7 and Figure 8, compared with [39,40,42], this protocol has advantages in computation overhead and is better suited for deployment and application in wireless sensor network.
Figure 5. U comparison [39,40,41,42,43].
Figure 6. GWN comparison [39,40,41,42,43].
Figure 7. SN comparison [39,40,41,42,43].
Figure 8. Num of U comparison [39,40,41,42,43].

6.2. Analysis of Communication Overhead

In the authentication, the communication overhead is determined by the bandwidth of the information transmitted over the channel. We assumed that the hash function is 160 bits, timestamps and temporary values are 32 bits, random numbers are 128 bits, user and sensor node identifiers are 128 bits and 16 bits, respectively, ECC requires 320 bits, symmetric encryption/decryption requires 160 bits and the Chebyshev chaotic map requires 160 bits.
The communication overhead in related works was calculated, resulting in the comparison presented in Table 4. As shown in Table 4, the proposed protocol is 1504 bits, while the related works are 3072 bits, 1428 bits, 2256 bits, 1440 bits and 864 bits, respectively. A comparison reveals that the communication overhead of the proposed protocol is higher than those of references [40,41,42,43]. However, in terms of security, the references have several security flaws, such as vulnerabilities to user anonymity and impersonation attacks, whereas the authentication system designed based on this protocol can resist all common security threats.
Table 4. Communication Overhead.
Therefore, from the perspective of overall performance and efficiency in authentication technology, it is entirely reasonable to sacrifice some communication overhead to achieve higher security in the design of user authentication schemes in Figure 9.
Figure 9. Communication overhead [39,40,41,42,43].

7. Conclusions

This paper systematically investigates the security issues of WSN, with a focus on their resource constraints and insecure communication characteristics. A provably secure and lightweight two-factor authentication protocol is proposed. By employing a Chebyshev chaotic map and a two-factor authentication mechanism, the protocol effectively addresses the balance between security and authentication efficiency in WSNs. Through rigorous security validation and performance evaluation, this paper demonstrates that the proposed protocol ensures data reliability and integrity while significantly reducing computational and communication overhead. It provides reliable security assurance for the application of WSN in various fields such as military, healthcare and agriculture. Future work will focus on further optimizing protocol design and we will introduce blockchain technology to enhance data security, so as to promote the continuous progress and development of WSN technology.

Author Contributions

Conceptualization, H.F.; methodology, B.C.; software, H.F.; validation, H.F.; formal analysis, H.F.; investigation, H.F.; writing—original draft preparation, B.C.; writing—review and editing, H.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Li, S.; Xu, L.D.; Zhao, S. The internet of things: A survey. Inf. Syst. Front. 2015, 17, 243–259. [Google Scholar] [CrossRef] [Scilit]
  2. Xiao, N.; Wang, Z.; Sun, X.; Miao, J. A novel blockchain-based digital forensics framework for preserving evidence and enabling investigation in industrial Internet of Things. Alex. Eng. J. 2024, 86, 631–643. [Google Scholar] [CrossRef] [Scilit]
  3. Li, T.; Wang, H.; He, D.; Yu, J. Blockchain-based privacy-preserving and rewarding private data sharing for IoT. IEEE Internet Things J. 2022, 9, 15138–15149. [Google Scholar] [CrossRef] [Scilit]
  4. Faris, M.; Mahmud, M.N.; Salleh, M.F.M.; Alnoor, A. Wireless sensor network security: A recent review based on state-of-the-art works. Int. J. Eng. Bus. Manag. 2023, 15, 18479790231157220. [Google Scholar] [CrossRef] [Scilit]
  5. Wang, H.; Xu, C.; Zhang, C.; Xu, J.; Peng, Z.; Pei, J. vChain+: Optimizing verifiable blockchain boolean range queries. In Proceedings of the 2022 IEEE 38th International Conference on Data Engineering (ICDE), Kuala Lumpur, Malaysia, 9–12 May 2022; pp. 1927–1940. [Google Scholar]
  6. Urooj, S.; Lata, S.; Ahmad, S.; Mehfuz, S.; Kalathil, S. Cryptographic data security for reliable wireless sensor network. Alex. Eng. J. 2023, 72, 37–50. [Google Scholar] [CrossRef] [Scilit]
  7. Ghazal, T.M.; Hasan, M.K.; Alzoubi, H.M.; Alshurideh, M.; Ahmad, M.; Akbar, S.S. Internet of things connected wireless sensor networks for smart cities. In The Effect of Information Technology on Business and Marketing Intelligence Systems; Springer International Publishing: Cham, Switzerland, 2023; pp. 1953–1968. [Google Scholar]
  8. Zheng, B.K.; Zhu, L.H.; Shen, M.; Gao, F.; Zhang, C.; Li, Y.-D.; Yang, J. Scalable and privacy-preserving data sharing based on blockchain. J. Comput. Sci. Technol. 2018, 33, 557–567. [Google Scholar] [CrossRef] [Scilit]
  9. Mahlake, N.; Mathonsi, T.E.; Du Plessis, D.; Muchenje, T. A Lightweight Encryption Algorithm to Enhance Wireless Sensor Network Security on the Internet of Things. J. Commun. 2023, 18, 47–57. [Google Scholar] [CrossRef] [Scilit]
  10. Miao, J.; Wang, Z.; Xue, X.; Wang, M.; Lv, J.; Li, M. Lightweight and Secure D2D Group Communication for Wireless IoT. Front. Phys. 2023, 11, 433. [Google Scholar] [CrossRef] [Scilit]
  11. Paulraj, D.; Lavanya, R.; Jayasudha, T.; Niranjana, M.I.; Daniya, T.; Shadrach, F.D. Blockchain-based wireless sensor network security through authentication and cluster head selection. In Proceedings of the 2023 IEEE International Conference on Integrated Circuits and Communication Systems (ICICACS), Raichur, India, 24–25 February 2023; pp. 1–5. [Google Scholar]
  12. Wu, H.; Peng, Z.; Guo, S.; Yang, Y.; Xiao, B. VQL: Efficient and verifiable cloud query services for blockchain systems. IEEE Trans. Parallel Distrib. Syst. 2021, 33, 1393–1406. [Google Scholar] [CrossRef] [Scilit]
  13. Premi, G.; Solainayagi, P.; Srinivasan, C.; Kuppusamy, P.G. Data Privacy and Confidentiality in Healthcare Applications of IoT-Enabled Wireless Sensor Networks. In Proceedings of the 2023 Second International Conference on Smart Technologies for Smart Nation (SmartTechCon), Singapore, 18–19 August 2023. [Google Scholar]
  14. Alsumayt, A.; Alshammari, M.; Alfawaer, Z.M.; Al-Wesabi, F.N.; El-Haggar, N.; Aljameel, S.S.; Albassam, S.; AlGhareeb, S.; Alghamdi, N.M.; Aldossary, N. Efficient security level in wireless sensor networks (WSN) using four-factors authentication over the Internet of Things (IoT). PeerJ Comput. Sci. 2024, 10, e2091. [Google Scholar] [CrossRef] [Scilit]
  15. Miao, J.; Wang, Z.; Miao, X.; Xing, L. A secure and efficient lightweight vehicle group authentication protocol in 5G networks. Wirel. Commun. Mob. Comput. 2021, 2021, 1–12. [Google Scholar] [CrossRef] [Scilit]
  16. Choi, Y.; Lee, D.; Kim, J.; Jung, J.; Nam, J.; Won, D. Security enhanced user authentication protocol for wireless sensor networks using elliptic curves cryptography. Sensors 2014, 14, 10081–10106. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Chang, Q.; Zhang, Y.-P.; Qin, L.-L. A node authentication protocol based on ECC in WSN. In Proceedings of the 2010 International Conference on Computer Design and Applications, Qinhuangdao, China, 25–27 June 2010; Volume 2. [Google Scholar]
  18. Maurya, A.K.; Sastry, V.N. Fuzzy extractor and elliptic curve based efficient user authentication protocol for wireless sensor networks and Internet of Things. Information 2017, 8, 136. [Google Scholar] [CrossRef] [Scilit]
  19. Porambage, P.; Schmitt, C.; Kumar, P.; Gurtov, A.; Ylianttila, M. PAuthKey: A pervasive authentication protocol and key establishment scheme for wireless sensor networks in distributed IoT applications. Int. J. Distrib. Sens. Netw. 2014, 10, 357430. [Google Scholar] [CrossRef] [Scilit]
  20. Galindo, D.; Roman, R.; Lopez, J. A killer application for pairings: Authenticated key establishment in underwater wireless sensor networks. In Proceedings of the Cryptology and Network Security: 7th International Conference, CANS 2008, Hong-Kong, China, 2–4 December 2008. [Google Scholar]
  21. Souza, E.; Wong, H.C.; Cunha, I.; Cunha, Í.; Vieira LF, M.; Oliveira, L.B. End-to-end authentication in under-water sensor networks. In Proceedings of the 2013 IEEE Symposium on Computers and Communications (ISCC), Split, Croatia, 7–10 July 2013. [Google Scholar]
  22. Yuan, C.; Chen, W.; Zhu, Y.; Li, D.; Tan, J. A low computational complexity authentication scheme in underwater wireless sensor network. In Proceedings of the 2015 11th International Conference on Mobile Ad-hoc and Sensor Networks (MSN), Shenzhen, China, 16–18 December 2015. [Google Scholar]
  23. Das, M.L. Two-factor user authentication in wireless sensor networks. IEEE Trans. Wirel. Commun. 2009, 8, 1086–1090. [Google Scholar] [CrossRef] [Scilit]
  24. Porambage, P.; Schmitt, C.; Kumar, P.; Gurtov, A.; Ylianttila, M. Two-phase authentication protocol for wireless sensor networks in distributed IoT applications. In Proceedings of the 2014 IEEE Wireless Communications and Networking Conference (WCNC), Istanbul, Turkey, 6–9 April 2014; pp. 2728–2733. [Google Scholar]
  25. Elhabrush, H.; Ahmeda, S. Authentication Protocol for Wireless Sensor Network in the Internet of Things. In Proceedings of the 2022 IEEE 2nd International Maghreb Meeting of the Conference on Sciences and Techniques of Automatic Control and Computer Engineering (MI-STA), Sabratha, Libya, 23–25 May 2022. [Google Scholar]
  26. Farash, M.S.; Turkanović, M.; Kumari, S.; Hölbl, M. An efficient user authentication and key agreement scheme for heterogeneous wireless sensor network tailored for the Internet of Things environment. Ad Hoc Netw. 2016, 36, 152–176. [Google Scholar] [CrossRef] [Scilit]
  27. Sarbini, I.N.; Khan, A.S.; Mohamad, N.Z.; Yusup, N. A Lightweight Multifactor Authentication Scheme for Wireless Sensor Networks in the Internet of Things. In Proceedings of the 2022 International Conference on Green Energy, Computing and Sustainable Technology (GECOST), Miri, Malaysia, 26–28 October 2022. [Google Scholar]
  28. Amin, R.; Biswas, G.P. A secure light weight scheme for user authentication and key agreement in multi-gateway based wireless sensor networks. Ad Hoc Netw. 2016, 36, 58–80. [Google Scholar] [CrossRef] [Scilit]
  29. Amin, R.; Islam, S.H.; Biswas, G.P.; Obaidat, M.S. A Robust Mutual Authentication Protocol for WSN with Multiple Base-stations. Ad Hoc Netw. 2018, 75–76, 1–18. [Google Scholar] [CrossRef] [Scilit]
  30. Wu, F.; Xu, L.; Kumari, S.; Li, X.; Shen, J.; Choo, K.-K.R.; Wazid, M.; Das, A.K. An efficient authentication and key agreement scheme for multi-gateway wireless sensor networks in IoT deployment. J. Netw. Comput. Appl. 2016, 89, 72–85. [Google Scholar] [CrossRef] [Scilit]
  31. Srinivas, J.; Mukhopadhyay, S.; Mishra, D. Secure and efficient user authentication scheme for multi-gateway wireless sensor networks. Ad Hoc Netw. 2017, 54, 147–169. [Google Scholar] [CrossRef] [Scilit]
  32. Xiong, L.; Peng, T.; Li, F.; Zeng, S.; Wu, H. Privacy-Preserving Authentication Scheme with Revocability for Multi-WSN in Industrial IoT. IEEE Syst. J. 2022, 17, 38–49. [Google Scholar] [CrossRef] [Scilit]
  33. Tran, V.T.; Tran, V.S.; Nguyen, X.B.; Tran, T.T. A liveness detection protocol based on deep visual-linguistic alignment. In Proceedings of the 2022 14th International Conference on Knowledge and Systems Engineering (KSE), Nha Trang, Vietnam, 19–21 October 2022; pp. 1–6. [Google Scholar]
  34. Bera, B.; Das, A.K.; Balzano, W.; Medaglia, C.M. On the design of biometric-based user authentication protocol in smart city environment. Pattern Recognit. Lett. 2020, 138, 439–446. [Google Scholar] [CrossRef] [Scilit]
  35. Qiu, S.; Wang, D.; Xu, G.; Kumari, S. Practical and provably secure three-factor authentication protocol based on extended chaotic-maps for mobile lightweight devices. IEEE Trans. Dependable Secur. Comput. 2020, 19, 1338–1351. [Google Scholar] [CrossRef] [Scilit]
  36. Chatterjee, S.; Roy, S.; Das, A.K.; Chattopadhyay, S.; Kumar, N.; Reddy, A.G.; Park, K.; Park, Y. On the Design of Fine Grained Access Control with User Authentication Scheme for Telecare Medicine Information Systems. IEEE Access 2017, 5, 7012–7030. [Google Scholar] [CrossRef] [Scilit]
  37. Miao, J.; Wang, Z.; Wu, Z.; Ning, X.; Tiwari, P. A blockchain-enabled privacy-preserving authentication management protocol for Internet of Medical Things. Expert Syst. Appl. 2024, 237, 121329. [Google Scholar] [CrossRef] [Scilit]
  38. Amin, R.; Lohani, P.; Ekka, M.; Chourasia, S.; Vollala, S. An enhanced anonymity resilience security protocol for vehicular ad-hoc network with scyther simulation. Comput. Electr. Eng. 2020, 82, 106554. [Google Scholar] [CrossRef] [Scilit]
  39. Mo, J.; Chen, H. A lightweight secure user authentication and key agreement protocol for wireless sensor networks. Secur. Commun. Netw. 2019, 2019, 1–17. [Google Scholar] [CrossRef] [Scilit]
  40. Challa, S.; Das, A.K.; Odelu, V.; Kumar, N.; Kumari, S.; Khan, M.K.; Vasilakos, A.V. An efficient ECC-based provably secure three-factor user authentication and key agreement protocol for wireless healthcare sensor networks. Comput. Electr. Eng. 2018, 69, 534–554. [Google Scholar] [CrossRef] [Scilit]
  41. Wu, F.; Li, X.; Sangaiah, A.K.; Xu, L.; Kumari, S.; Wu, L.; Shen, J. A lightweight and robust two-factor authentication scheme for personalized healthcare systems using wireless medical sensor networks. Future Gener. Comput. Syst. 2018, 82, 727–737. [Google Scholar] [CrossRef] [Scilit]
  42. Li, C.T.; Wu, T.Y.; Chen, C.L.; Lee, C.C.; Chen, C.M. An efficient user authentication and user anonymity scheme with provably security for IoT-based medical care system. Sensors 2017, 17, 1482. [Google Scholar] [CrossRef] [Scilit]
  43. Mir, O.; Munilla, J.; Kumari, S. Efficient anonymous authentication with key agreement protocol for wireless medical sensor networks. Peer-to-Peer Netw. Appl. 2017, 10, 79–91. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.