Smart grid lightweight identity authentication and key agreement method based on elliptic curve

By adopting lightweight identity authentication and key agreement methods using elliptic curve cryptography and symmetric key encryption in smart grids, the problem of counterfeiting and physical capture attacks on unsafe channels in smart grids is solved, and efficient and secure Communication certification improves the security and efficiency of smart grids.

CN118713882APending Publication Date: 2024-09-27HUNAN UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410811010.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The two-way communication between smart meters and neighborhood network gateways in smart grids is vulnerable to attacks such as impersonation, key leakage, and physical capture over insecure channels. Existing security solutions have problems of insecurity and efficiency damage.

Method used

Adopt a lightweight identity authentication and key agreement method based on elliptic curve, generate a public and private key pair through the certificate authority center, and use the elliptic curve cryptography system and symmetric key encryption to establish a reliable communication link on an insecure channel for identity authentication and Key agreement uses elliptic curve digital signature algorithm and one-way hash function to ensure the security of data transmission.

Benefits of technology

It improves the authentication efficiency between smart meters and gateways in smart grids, effectively resists key leakage, counterfeiting and physical capture attacks, ensures the security of data transmission, and avoids resource-intensive pairing operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004906163540000021
    Figure HDA0004906163540000021
  • Figure HDA0004906163540000012
    Figure HDA0004906163540000012
  • Figure HDA0004906163540000011
    Figure HDA0004906163540000011
Patent Text Reader

Abstract

The invention discloses a smart grid lightweight identity authentication and key agreement method based on an elliptic curve, which comprises the following steps: (1) an initialization stage: a certificate authority (CA) generates and discloses all system parameters, and each smart meter SMs, a neighborhood area network (NAN) gateway and the CA generate own public and private key pairs; (2) a registration stage: all the SMs initiate registration requests to the CA, and the legal SMs receive the digital certificate returned by the CA; and (3) an authentication stage: performing mutual authentication and key negotiation on the registered SM and NAN gateways. The smart grid lightweight identity authentication and key agreement protocol based on the elliptic curve is designed, higher safety performance can be provided, authentication can be completed only through two times of information exchange, efficient communication between a low-performance smart electric meter and a neighborhood area network gateway is guaranteed, and the security of the smart grid is improved. The method is more suitable for an intelligent power grid environment requiring high efficiency and safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a smart grid lightweight identity authentication and key negotiation method based on elliptic curve. Background Art

[0002] Smart grid refers to an electric power system that uses advanced information and communication technologies and intelligent control methods to monitor, manage and control the power system. Its goal is to improve the reliability, security and efficiency of the power grid and promote the large-scale integration of renewable energy as well as the flexibility and adaptability of the power system. The development of smart grid is of great significance for achieving sustainable energy development, improving energy efficiency, reducing carbon emissions and enhancing energy security. Communication between smart meters (SMs) and neighborhood area network (NAN) gateways is a basic requirement for managing energy consumption at user sites. However, the two-way communication between SMs and NANs over an insecure public channel is vulnerable to impersonation, SM traceability and SM physical capture attacks. Recently, some security schemes have been proposed to deal with these threats. However, the insecurity of some of these schemes against key compromise impersonation (KCI) and related attacks or the damage to efficiency make a secure and effective authentication scheme for smart grids urgently needed. Summary of the invention

[0003] In order to solve the above technical problems, the present invention provides a highly efficient and secure smart grid lightweight identity authentication and key negotiation method based on elliptic curves.

[0004] The technical solution of the present invention to solve the above technical problems is: a smart grid lightweight identity authentication and key negotiation method based on elliptic curve, comprising the following steps:

[0005] (1) Initialization phase: The certificate authority CA generates and publishes all system parameters, and each smart meter SMs, neighborhood area network NAN gateway and CA generates its own public and private key pair;

[0006] (2) Registration phase: All SMs initiate registration requests to the CA, and legitimate SMs receive digital certificates returned by the CA;

[0007] (3) Authentication phase: Mutual authentication and key negotiation are performed between the registered SM and the NAN gateway. A secure authentication algorithm is used to establish a reliable communication link between the SM and the NAN gateway over an insecure open channel. The NAN gateway acts as a middleware and forwards messages to the utility center using a secure channel to ensure the security of data transmission.

[0008] In the above-mentioned smart grid lightweight identity authentication and key agreement method based on elliptic curve, in the step (1), the initialization phase refers to the CA selecting the elliptic curve E P(a, b), public point P∈E P (a, b) and two one-way hash functions H1(·), H2(·) and publicly announce all system parameters. Each smart meter SMs, neighborhood area network NAN gateway and certificate authority CA generates its own public-private key pair, where the private key Public key Q = d·P;

[0009] In the above-mentioned smart grid lightweight identity authentication and key agreement method based on elliptic curve, the specific process of user registration in step (2) is as follows:

[0010] 2-1) E sm →CA: {Q sm , ID sm , (N1) sig , N1}, CA receives the sm After receiving the verification message, check E sm ID sm Has it been registered? If it has been registered, the registration application will be rejected and an error message will be returned to E. sm If it is not registered, a random number N2 is selected and then E sm Calculate the digital certificate and store it in the CA. A complete digital certificate signature consists of (k sm ,s sm ) consists of two parts, of which k sm =(d sm ·P)·x mod nx is the x-axis value of the coordinates of point P, mod is the remainder operation, The hash value e sm =Hash(Q sm x, ID sm , T sm ), T sm For E sm The validity period of the digital certificate signature, d CA It is the private key of CA;

[0011] 2-2) CA → E sm : {Q CA , ID sm , (k sm ,s sm ), T sm}, CA sends its public key Q CA , E sm Digital certificate (r sm ,s sm ) and E sm The validity period of the digital certificate signature is T sm Send to E sm .

[0012] In the above-mentioned smart grid lightweight identity authentication and key agreement method based on elliptic curve, the specific process of authentication in step (3) is as follows:

[0013] 3-1) E sm →E nan :{EN sm ,Auth sm , N sm , T s}, E sm Select random number and the current timestamp T s , E sm Use its own private key sm and E nan The public key Q nan Calculation: N sm =n3P, and Then, E sm Using symmetric key pair ID sm , digital certificate (k sm ,s sm ) and the validity period T of the digital certificate signature sm Perform symmetric encryption Finally calculate the authentication token Auth sm =H2(R sm ||N sm |T s ||ID sm ), and EN sm , N sm , timestamp T s and Auth sm The information is sent to E through an insecure channel nan Gateway;

[0014] 3-2) E nan →E sm :{T n , N nan ,Auth nan}, E nan Receive E sm The authentication request information sent, E nan Verify T first s Freshness, if T s and E nan The delay between the current timestamps is within the tolerable delay, E nan Use your own private key nan calculate Symmetric Key And through K sm Decrypt EN smGet E sm ID sm , digital certificate (k sm ,s sm ) and the validity period T of the digital certificate signature sm , E nan Check the digital certificate (k sm ,s sm ) and validity period T sm , if the check passes, then E nan Further verification If the verification is successful, E nan Choose a random number n4 and the current timestamp T n And calculate N nan =n4P,R nan =n4Q sm +d nan N sm and session key SK = H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ). nan Calculate Auth nan =H2(R sm ||T nan ||N nan ||T n ||ID nan ), and finally E nan T n , N nan ,Auth nan Sent to E via an insecure channel sm ;

[0015] 3-3) E sm Received a reply, verified T n and E sm Is the delay between the current timestamps within the tolerable delay? If the verification passes, E sm Calculate R nan =n3Q nan +d sm N nan , compared with Eq. If the equations are equal, E sm Further calculation results in the session key SK = H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ), so far, Esm With E nan Complete identity authentication and key negotiation.

[0016] In the above-mentioned smart grid lightweight identity authentication and key agreement method based on elliptic curve, in step 3-2), E nan Receive E sm After receiving the message, you need to check E sm Identity information, check E sm Sent T s Whether it is within the validity period, and whether the signature information of the digital certificate is valid according to the elliptic curve digital signature algorithm ECDSA. Only when it passes the verification can the subsequent steps be carried out;

[0017] The process of the elliptic curve digital signature algorithm ECDSA is:

[0018] 1.1: Alice chooses a random number m a Save as private key and calculate the public key Q a =m a P is public;

[0019] 1.2: Alice chooses a random number k when signing the message and calculates r = (kP) x mod n and s = k -1 (Hash(message)+m a r) mod n, the signature of the message is (r, s);

[0020] 1.3: When Bob receives Alice's message and verifies the signature, he calculates s -1 ((Hash(message)P+rQ a Is ).x_mod n equal to r? If so, the signature is correct.

[0021] In the above-mentioned smart grid lightweight identity authentication and key agreement method based on elliptic curve, in step 3-1), the process of the elliptic curve encryption method ECES is:

[0022] 2.1: Alice chooses a random number m a Save as private key and calculate the public key Q a =m a P is public;

[0023] 2.2: Bob uses Q a When encrypting a message, select a random number k and calculate kP and the ciphertext Send them to Alice together;

[0024] 2.3: Alice Calculation Decrypt it to get the message.

[0025] The beneficial effects of the present invention are:

[0026] 1. The present invention proposes a lightweight identity authentication and key negotiation method for smart grid based on elliptic curves. The scheme uses the elliptic curve cryptography (ECC) system with advantages such as short key length, fast digital signature, and small amount of computational data, as well as symmetric key encryption and one-way message authentication operations, avoiding resource-intensive pairing and other operations. Only two messages are exchanged between the SM and the NAN gateway to complete the identity authentication process. Compared with the existing traditional schemes, the present invention has higher authentication efficiency.

[0027] 2. The present invention uses a secure authentication algorithm to establish a reliable communication link between the SM and the NAN gateway on an insecure open channel, effectively resisting attacks such as key leakage, counterfeit KCI, traceability and physical capture, and ensuring the security of the data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is the overall flow chart of the present invention.

[0029] Figure 2 It is a system framework diagram of the present invention.

[0030] Figure 3 It is a registration and authentication schematic diagram of the present invention. DETAILED DESCRIPTION

[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0032] like Figure 2 As shown, Figure 2 The system framework of the present invention includes NAN gateways, corresponding SMs, utility centers, transmission lines, and power generation sources in a typical hierarchical setting. NAN gateways and SMs are connected via ZigBee channels, while NAN and utility centers are connected via optical fiber for fast communication. SMs transmit messages to NAN gateways using unsecured channels, and NAN gateways act as middleware to forward messages to utility centers using secure channels. SMs collect real-time power demand and communicate with NAN gateways to adjust power consumption.

[0033] like Figure 1 As shown, a smart grid lightweight identity authentication and key negotiation method based on elliptic curve includes the following steps:

[0034] (1) Initialization phase: The certificate authority CA generates and publishes all system parameters, and each smart meter SMs, neighborhood area network NAN gateway and CA generates its own public and private key pair;

[0035] The initialization phase refers to the CA selecting the elliptic curve E P (a, b), public point P∈E P (a, b) and two one-way hash functions H1(·), H2(·) and publicly announce all system parameters. Each smart meter SMs, neighborhood area network NAN gateway and certificate authority CA generates its own public-private key pair, where the private key Public key Q = d·P;

[0036] (2) Registration phase: All SMs initiate registration requests to the CA, and legitimate SMs receive digital certificates returned by the CA;

[0037] like Figure 3 As shown in the figure, the specific process of user registration is as follows:

[0038] 2-1) E sm →CA: {Q sm , ID sm , (N1) sig ,N1},CA receives the sm After receiving the verification message, check E sm ID sm Has it been registered? If it has been registered, the registration application will be rejected and an error message will be returned to E. sm If it is not registered, a random number N2 is selected and then E sm Calculate the digital certificate and store it in the CA. A complete digital certificate signature consists of (k sm ,s sm ) consists of two parts, of which k sm =(d sm ·P).x mod nx is the x-axis value of the coordinates of point P, and mod is the remainder operation. The hash value e sm =Hash(Q sm x, ID sm , T sm ), T sm For E sm The validity period of the digital certificate signature, d CA It is the private key of CA;

[0039] 2-2) CA → E sm : {Q CA , ID sm , (k sm ,s sm ), T sm}, CA sends its public key Q CA , E sm Digital certificate (r sm ,ssm ) and E sm The validity period of the digital certificate signature is T sm Send to E sm .

[0040] (3) Authentication phase: The registered SM and NAN gateway perform mutual authentication and key negotiation.

[0041] like Figure 3 As shown in the figure, the specific process of authentication is as follows:

[0042] 3-1) E sm →E nan :{EN sm ,Auth sm , N sm , T s}, E sm Select random number and the current timestamp T s , E sm Use its own private key sm and E nan The public key Q nan Calculation: N sm =n3P, and Then, E sm Using symmetric key pair ID sm , digital certificate (k sm ,s sm ) and the validity period T of the digital certificate signature sm Perform symmetric encryption Finally calculate the authentication token Auth sm =H2(R sm ||N sm ||T s ||ID sm ), and EN sm , N sm , timestamp T s and Auth sm The information is sent to E through an insecure channel nan Gateway.

[0043] 3-2) E nan →E sm :{T n , N nan ,Auth nan}, E nan Receive E sm The authentication request information sent, E nan Verify T first s Freshness, if T s and Enan The delay between the current timestamps is within the tolerable delay, E nan Use your own private key nan calculate Symmetric Key And through K sm Decrypt EN sm Get E sm ID sm , digital certificate (k sm ,s sm ) and the validity period T of the digital certificate signature sm , E nan Check the digital certificate (k sm ,s sm ) and validity period T sm , if the check passes, then E nan Further verification If the verification is successful, E nan Choose a random number n4 and the current timestamp T n And calculate N nan =n4P,R nan =n4Q sm +d nan N sm and session key SK = H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ). nan Calculate Auth nan =H2(R sm ||R nan ||N nan ||T n ||ID nan ), and finally E nan T n , N nan ,Auth nan Sent to E via an insecure channel sm .

[0044] 3-3) E sm Received a reply, verified T n and E sm Is the delay between the current timestamps within the tolerable delay? If the verification passes, E sm Calculate R nan =n3Q nan +d sm N nan , compared with Eq. If the equations are equal, Esm Further calculation results in the session key SK = H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ), so far, E sm With E nan Complete identity authentication and key negotiation.

[0045] 3-4) E nan →E sm :{T n , N nan ,Auth nan}, E nan Receive E sm After receiving the message, you need to check E sm Identity information, check E sm Sent T s Whether it is within the validity period, and whether the signature information of the digital certificate is valid according to the elliptic curve digital signature algorithm ECDSA. Only when it passes the verification can the subsequent steps be carried out;

[0046] The process of the elliptic curve digital signature algorithm ECDSA is:

[0047] 1.1: Alice chooses a random number m a Save as private key and calculate the public key Q a =m a P is public;

[0048] 1.2: Alice chooses a random number k when signing the message, and calculates r = (kP).x mod n and s = k (-1) (Hash(message)+m a r)modn, the signature of the message is (r, s);

[0049] 1.3: When Bob receives Alice's message and verifies the signature, he calculates s -1 ((Hash(message)P+rQ a Is ).x)mod n equal to r? If so, the signature is correct.

[0050] The process of the elliptic curve encryption method ECES is:

[0051] 2.1: Alice chooses a random number m a Save as private key and calculate the public key Q a =m a P is public;

[0052] 2.2: Bob uses Q a When encrypting a message, select a random number k and calculate kP and the ciphertext Send them to Alice together;

[0053] 2.3: Alice Calculation Decrypt it to get the message.

Claims

1. A lightweight identity authentication and key agreement method for smart grid based on elliptic curve, characterized in that: The following steps are involved: (1) Initialization phase: During the initialization phase, the certificate authority (CA) generates and publishes all system parameters. Each smart meter (SM), neighborhood area network (NAN) gateway, and CA generates its own public and private key pair. (2) Registration phase: All SMs initiate registration requests to the CA, and the legitimate SMs receive digital certificates returned by the CA; (3) Authentication phase: Mutual authentication and key negotiation are performed between the registered SM and the NAN gateway. A secure authentication algorithm is used to establish a reliable communication link between the SM and the NAN gateway over an insecure open channel. The NAN gateway acts as a middleware, forwarding messages to the utility center using a secure channel to ensure the security of data transmission.

2. The elliptic curve-based smart grid lightweight identity authentication and key agreement method according to claim 1, characterized in that: In step (1), the initialization phase refers to CA selecting the elliptic curve E P (a, b), public point P∈E P (a, b) and two one-way hash functions H1(·), H2(·) and publicly announce all system parameters. Each smart meter SMs, neighborhood area network NAN gateway and certificate authority CA generates its own public-private key pair, where the private key Public key Q = d·P.

3. The lightweight identity authentication and key agreement method for smart meters based on elliptic curves according to claim 2 is characterized in that: The specific process of user registration in step (2) is as follows: 2-1)E sm →CA: {Q sm , ID sm , (N1) sig , N1}, CA receives the sm After the verification message, check E sm ID sm Has it been registered? If it has been registered, the registration application will be rejected and an error message will be returned to E sm If it is not registered, select a random number N2 and then E sm Calculate the digital certificate and store it in CA. A complete digital certificate signature consists of (k sm , s sm ) consists of two parts, where k sm =(d sm ·P).x mod nx is the x-axis value of the coordinates of point P, and mod is the remainder operation. The hash value e sm =Hash(Q sm x, ID sm , T sm ), T sm For E sm Validity period of digital certificate signature, d CA The private key of the CA; 2-2) CA→E sm : {Q CA , ID sm , (k sm , s sm ), T sm }, CA sends its public key Q CA , E sm Digital certificate (r sm , s sm ) and E sm The validity period of the digital certificate signature is T sm Send to E sm .

4. The lightweight identity authentication and key agreement method for smart meters based on elliptic curves according to claim 3 is characterized in that: The specific process of authentication in step (3) is as follows: 3-1)E sm →E nan :{EN sm Auth sm , N sm , T s }, E sm Select random number and the current timestamp T s , E sm Use its own private key d sm and E nan The public key Q nan Calculation: N sm =n3P, and Then, E sm Using symmetric key pair ID sm , digital certificate (k sm , s sm ) and the validity period T of the digital certificate signature sm Perform symmetric encryption Finally calculate the authentication token Auth sm =H2(R sm ||N sm ||T s ||ID sm ), and EN sm , N sm , timestamp T s and Auth sm The information is sent to E through an insecure channel nan Gateway; 3-2)E nan →E sm :{T n , N nan Auth nan }, E nan Receive E sm The authentication request information sent, E nan Verify T first s Freshness, if T s and E nan The delay between the current timestamps is within the tolerable delay, E nan Use your own private key nan calculate Symmetric key And through K sm Decrypted EN sm Get E sm Identity ID sm , digital certificate (k sm , s sm ) and the validity period T of the digital certificate signature sm , E nan Check digital certificate (k sm , s sm ) and validity period T sm If the check passes, then E nan Further verification If the verification is successful, E nan Select a random number n4 and the current timestamp T n And calculate N nan =n4P,R nan =n4Q sm +d nan N sm and session key SK = H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ). E nan Calculating Auth nan =H2(R sm ||R nan ||N nan ||T n ||ID nan ), and finally E nan T n , N nan Auth nan Sent to E via an insecure channel sm ; 3-3)E sm Received reply, verified T n and E sm Is the delay between the current timestamps within the tolerable delay? If the verification is successful, E sm Calculate R nan =n3Q nan +d sm N nan , compared with Eq. If the equations are equal, E sm Further calculation yields the session key SK=H1(R sm ||R nan ||N sm ||N nan ||T s ||T n ), so far, E sm With E nan Complete identity authentication and key negotiation.

5. The method for lightweight identity authentication and key agreement for smart meters based on elliptic curves according to claim 4, characterized in that: In the step 3-2), E nan Receive E sm After receiving the message, you need to check E sm Identity information, check E sm Sent T s Whether it is within the validity period, and whether the signature information of the digital certificate is valid according to the Elliptic Curve Digital Signature Algorithm (ECDSA). Only if the verification is passed can the subsequent steps be carried out; The process of the elliptic curve digital signature algorithm ECDSA is: 1.1: Alice chooses a random number m a Save as private key and calculate public key Q a =m a P is public; 1.2: Alice chooses a random number k when signing the message and calculates r = (kP).x mod n and s = k (-1) (Hash(message)+m a r)modn, the signature of the message is (r, s); 1.3: When Bob receives Alice's message and verifies the signature, he calculates s -1 ((Hash(message)P+rQ a Is ).x)mod n equal to r? If so, the signature is correct.

6. The method for lightweight identity authentication and key agreement for smart meters based on elliptic curves according to claim 4, characterized in that: In step 3-1), the process of the elliptic curve encryption method ECES is as follows: 2.1: Alice chooses a random number m a Save as private key and calculate public key Q a =m a P is public; 2.2: Bob uses Q a When encrypting a message, select a random number k and calculate kP and the ciphertext Send them to Alice together; 2.3: Alice Calculation Decrypt it to get the message.

Citation Information

Cited By

  • Quantum key distribution method and system

    CN119995845A

  • Autonomous identity authentication method and system on earth-moon space satellite

    CN122160174A