Internet of vehicles certificateless anonymous cross-domain authentication method based on block chain
Through the blockchain-based certificate-less anonymous cross-domain authentication method for the Internet of Vehicles, using blockchain and smart contracts, the reliability and security issues of cross-domain authentication and privacy protection in the Internet of Vehicles are solved, and efficient cross-domain authentication is achieved. and privacy protection to avoid leakage of vehicle domain name information.
Patent Information
- Application Number
- CN202410598127.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-09-24
AI Technical Summary
Cross-domain authentication and privacy protection in the Internet of Vehicles have insufficient reliability, security and privacy. Existing solutions are difficult to adapt to the distributed network model of multiple management domains, and the authentication efficiency is low and prone to single points of failure.
Adopting a blockchain-based certificate-less anonymous cross-domain authentication method for the Internet of Vehicles, through three types of entities: trusted institutions, domain managers, and vehicles, and using elliptic curve cryptography and one-way hash functions to achieve efficient cross-domain authentication and verification of vehicles. Privacy protection, avoid vehicle domain name information leakage, use smart contracts to improve cross-domain authentication efficiency.
It improves the certification efficiency, solves the difficulties in deploying and maintaining digital certificate infrastructure and key custody issues, realizes cross-domain sharing and privacy protection of vehicle certification information, and avoids the random forgery of vehicle pseudonym information.
Smart Images

Figure CN118694560A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of blockchain and vehicle network, and specifically relates to a certificateless anonymous cross-domain authentication method for vehicle network based on blockchain. Background Art
[0002] As a key component of the Intelligent Transportation System (ITS), IoV technology enables intelligent vehicles to obtain and process information from the surrounding environment, other vehicles, and other networks, thereby achieving vehicle safety protection, intelligent driving assistance, remote vehicle management, and traffic flow optimization. However, in the application process, there are still deficiencies in the reliability, security, and privacy of IoV communication. In order to meet the security requirements of IoV communication, each IoV entity needs to be anonymously authenticated to establish trust.
[0003] The certificate-free anonymous authentication scheme does not need to maintain a certificate list, can realize anonymous user authentication, and effectively solve the user key escrow problem. It is an effective way to ensure the reliability and privacy of Internet of Vehicles communication. However, most existing schemes adopt a centralized architecture of a single authority, which has low authentication efficiency and is prone to single point failure problems. It is also unable to adapt to the distributed network model of multiple management domains.
[0004] The decentralization, immutability and distributed storage characteristics of blockchain technology are perfectly suited to the security needs of data sharing and privacy protection in the Internet of Vehicles. Combining blockchain technology with Internet of Vehicles technology can effectively realize data sharing among multiple management domains in the Internet of Vehicles, and provide technical support for cross-domain authentication and privacy protection of vehicles. Summary of the invention
[0005] In view of the above-mentioned problems of cross-domain authentication and privacy protection in the Internet of Vehicles, the present invention combines blockchain technology and proposes a certificateless and anonymous cross-domain authentication method for the Internet of Vehicles based on blockchain, which can achieve efficient cross-domain authentication of vehicles while avoiding the leakage of vehicle domain name information.
[0006] The present invention provides a blockchain-based certificateless anonymous cross-domain authentication method for Internet of Vehicles, which is characterized by:
[0007] (1) The blockchain-based certificateless anonymous cross-domain authentication method for Internet of Vehicles includes three entities, namely a trusted authority TA, a domain administrator CA, and a vehicle;
[0008] (2) The blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method includes the following six steps:
[0009] S1: System initialization;
[0010] The trusted institution TA generates relevant parameters of the elliptic curve cryptography system, its own key pair, and one-way hash function, and uploads the generated public parameters to the blockchain;
[0011] S2: Domain administrator CA registration;
[0012] The domain administrator CA applies for registration with the trusted institution TA; the trusted institution TA verifies the identity information of the domain administrator CA; after the verification, TA generates a domain name number and a secret share for the domain administrator CA; after the registration is completed, all CAs use the secret share to generate an aggregate private key;
[0013] S3: Vehicle registration;
[0014] The vehicle applies for registration with the domain administrator CA of the management domain where it is located. The domain administrator CA verifies the legitimacy of the vehicle identity and generates a pseudonym, partial private key and public key for the vehicle; the domain administrator CA stores the vehicle registration information and uploads the registration transaction to the blockchain;
[0015] S4: Intra-domain authentication;
[0016] The vehicle performs mutual authentication and key negotiation with the domain administrator CA of the management domain, and uses the negotiated session key to communicate; the domain administrator CA generates an authentication transaction and uploads it to the blockchain;
[0017] S5: cross-domain authentication;
[0018] After the vehicle completes registration and authentication in its own management domain, when it enters another management domain, it performs cross-domain authentication and negotiates session keys with the domain administrator of that management domain; the domain administrator uses smart contracts to generate a verifiable temporary pseudonym and partial private key for the vehicle within that management domain;
[0019] S6: Malicious vehicle tracking;
[0020] After receiving the report of malicious behavior of the vehicle, the domain administrator CA will track the real identity of the malicious vehicle according to the pseudonym information of the malicious vehicle; if the malicious vehicle is a vehicle in this domain, the domain administrator CA will retrieve the real identity of the vehicle corresponding to the pseudonym information of the vehicle from the local database, and hold it accountable according to the real identity of the vehicle; if the malicious vehicle is a vehicle outside this domain, the domain administrator CA will restore the pseudonym of the malicious vehicle in the original management domain, and submit the pseudonym to the domain administrator of its original management domain, and the domain administrator of the original management domain will hold the vehicle accountable;
[0021] Furthermore, the three types of entities are specifically described as follows:
[0022] (1) Trusted Authority TA: The trusted authority TA is responsible for initializing the system, publishing public parameters, and registering all domain administrators CA in the Internet of Vehicles. In addition, the trusted authority TA will also distribute secret shares to assist domain administrators CA in generating and sharing aggregated private keys.
[0023] (2) Domain Manager CA: The domain manager CA is responsible for the registration and authentication of all vehicles within its own domain, managing the cross-domain authentication of vehicles outside the domain, and tracking the true identity of malicious vehicles;
[0024] (3) Vehicles: Vehicles have certain computing capabilities and can communicate with other entities in the network to transmit and obtain traffic information, such as traffic jams, accident warnings, and road information. These vehicles are equipped with TPD to store sensitive information, such as keys, to ensure that this data is not subject to unauthorized access, which helps prevent malicious parties from reading or tampering with the vehicle's key information;
[0025] Furthermore, the specific steps of initializing the system are:
[0026] S11: The trusted institution TA selects an elliptic curve E in the finite field GF(q) p (a, b) and a point O at infinity; the trusted institution TA is based on the elliptic curve E p (a,b) Generate a prime q-order cyclic group G, the generator of group G is denoted by P;
[0027] S12: The trusted institution TA selects one-way hash functions H1-H3:
[0028] S13: The trusted institution TA selects a random number And calculate its own public key T pk =T sk P, T sk is TA's private key; the trusted institution TA sends the public parameter {E p (a,b),GF(q),G,q,P,T pk ,H1~H3} are uploaded to the blockchain.
[0029] Furthermore, the registration process of the domain administrator CA is based on the domain administrator CA i For example, the details are as follows:
[0030] S21: CA i Select random number Calculate R i =r i P, and Kana Then send a registration request to TA
[0031] S22: TA receives CA i Registration Request After that, check The timestamp T in ts Is it fresh? If not, TA will ignore CA i This registration request; otherwise, TA calculates CA i True identity And check If it is legal, it is CA i Generate domain name tag i and secret share Share i ;
[0032] S23: All CAs i After registration is completed, TA is CA i calculate And will trade Upload to blockchain;
[0033] S24: CA i Calculated based on the information in the blockchain And aggregate to get ∑ i F i ;CA i Calculate the aggregate private key Aggregate public key C pk =C sk ·P.
[0034] TA achieves secret sharing of aggregated private keys between CAs by distributing secret shares, ensuring that sensitive information is only accessed by authorized personnel, and protecting vehicle authentication data from unauthorized access and leakage while achieving cross-domain sharing of vehicle authentication data. Upload to the blockchain to realize the secret share i When distributing to CA, the confidentiality of the secret share is guaranteed, and only the corresponding CA can restore its own secret share.
[0035] Furthermore, the vehicle registration process is based on the vehicle V i For example, the details are as follows:
[0036] S31: Vehicle V i Select random number And calculate S i =s i P. and Vehicle Vi The domain administrator CA of the management domain i Send registration request
[0037] S32: Domain Administrator CA i Receive vehicle V i Registration Request After that, check T ts Freshness; if not fresh, CA i V i This registration request; otherwise, calculate And check If legal, then CA i Choose a random number w i , and calculate W i =w i P. Vehicle pseudonym Vehicle Partial Private Key and the vehicle public key CA i The tuple Send to V i ;
[0038] S33: Domain Administrator CA i storage and will register the transaction Published to the blockchain, written into the blockchain after consensus mechanism;
[0039] S34: Vehicle V i After receiving the tuple, calculate To verify Is it true? After verification, the vehicle V i Calculate its private key and use As its own public key, the vehicle uses the generated public-private key pair to communicate with the CA i The pseudonym generated for it is authenticated with other entities in the management domain; according to communication needs, the vehicle can submit a request to the domain administrator CA i Submit a pseudonym update request to the domain administrator CA i A new pseudonym and a partial private key are generated for the vehicle, and the vehicle generates a public-private key pair corresponding to the new pseudonym based on the partial private key generated for the vehicle by the domain administrator, thereby realizing autonomous dynamic update of the vehicle pseudonym.
[0040] The domain administrator uses a certificate-free signature authentication method to generate partial private keys for the vehicle. While ensuring the legitimacy of the private key, it avoids the difficulties in maintaining the certificate list and key custody issues, and reduces the cost and complexity required to establish and maintain the authentication system.
[0041] Furthermore, the intra-domain authentication and key negotiation is performed by the domain administrator CA. i and vehicle V i For example, the details are as follows:
[0042] S41: Vehicle V i Choose a random number u, calculate and signature Then Send to the domain administrator CA i ;
[0043] S42: Domain Administrator CA i Check T1 for freshness and verify Is it established? Verification passed, CA i Select a random number v and calculate V = vP + C pk , CA i Towards vehicle V i send When the domain administrator CA i When receiving two or more authentication requests at the same time, the CA i Batch authentication can be used to improve authentication efficiency;
[0044] S43: Vehicle V i Check the freshness of T2. If it is not fresh, the authentication is rejected; otherwise, calculate And verify Is it true? Verification passed, vehicle V i calculate And send {ACK,T3} to CA i ;
[0045] S44: Domain Administrator CA i Check the freshness of T3. If it is not fresh, terminate the authentication process; otherwise, verify Is it established? After verification, CA i Will As the session key, calculate And authenticate the transaction {TX i ,SK′ i ,T cur}Upload to blockchain;
[0046] Furthermore, C.A. i The process of verifying multiple authentication requests simultaneously through batch authentication is as follows:
[0047] When the domain administrator CA i When receiving domain authentication requests from n vehicles at the same time, CA i Verify the following equation to achieve simultaneous authentication of multiple vehicle identities; if the equation holds, the identities of n vehicles are successfully authenticated at the same time; otherwise, CA i The domain authentication requests of n vehicles will be verified one by one to find out the vehicle that provides the wrong authentication message;
[0048] Furthermore, the cross-domain authentication is performed by the domain administrator CA j and vehicle V i For example, the details are as follows:
[0049] S51: Vehicle V i Select a random number u and calculate U=uP, and will Send to the domain administrator CA j ;
[0050] S52: Domain Administrator CA j According to the vehicle domain name tag i Find its domain administrator CA i The public key And send it to the smart contract
[0051] S53: Smart contract receives CA j Execute the verification function after sending the message If the verification fails, the cross-domain authentication request is rejected; otherwise, {SK′ is returned. i ,T cur} to CA j ;
[0052] S54: CA j calculate As a CA j With V i Session key of CA j Allow the vehicle to access the other domains and use the secret value of this domain to generate a temporary pseudonym that can be verified in this domain. and a partial private key CA j storage CA j Encrypt the vehicle V using the session key SK i Temporary pseudonym and a partial private key And send the ciphertext to vehicle V i ;
[0053] S55: Vehicle V i Using Session Keys Decrypt the ciphertext to get its temporary pseudonym and a partial private key The vehicle generates its own public-private key pair for cross-domain authentication based on the partial private key sent by the domain administrator, and uses the temporary pseudonym and the generated public-private key pair to perform cross-domain authentication with other entities in the management domain;
[0054] Furthermore, the malicious vehicle tracking is based on the vehicle V m For example, the details are as follows:
[0055] When an entity in the network detects a vehicle V m malicious behavior, the entity will V m pseudonym Sent to the CA of this domain j , C.A. j Retrieve its own accountability list to obtain the corresponding tuple And calculate
[0056] like The malicious vehicle is not a local vehicle. j Will Send to CA i ;CA i Retrieve its own accountability list to obtain the corresponding tuple And calculate and CA i According to the real identity of the vehicle Hold the vehicle responsible;
[0057] like The malicious vehicle is a vehicle in this domain, CA j calculate and CA j According to the real identity of the vehicle Hold the vehicle accountable.
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] (1) The present invention designs a certificateless signature scheme that supports batch authentication, which greatly improves the authentication efficiency and eliminates the need to maintain a certificate list. It also effectively solves the difficulties in deploying and maintaining a digital certificate infrastructure (PKI) and the key escrow problem in identity encryption-based authentication schemes. At the same time, the vehicle pseudonym information is required to participate in the signature verification during the identity authentication process, which effectively avoids the vehicle from arbitrarily forging a pseudonym.
[0060] (2) The present invention designs a distributed network architecture based on blockchain, adopting a multi-CA network model. The CA of each domain is responsible for the registration and management of vehicles in that area. Multiple CAs jointly build a blockchain and realize cross-domain sharing of vehicle authentication information through authentication transactions recorded in the blockchain.
[0061] (3) The present invention utilizes smart contracts to improve the efficiency of cross-domain authentication. At the same time, the CA generates a temporary pseudonym and a partial private key for the vehicle through the authentication information returned by the smart contract, thereby realizing the privacy protection of the domain name information during the authentication process. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a network architecture diagram of an embodiment of the present invention;
[0063] Figure 2 is an overall flow chart of an embodiment of the present invention;
[0064] Figure 3 This is a flow chart of vehicle domain authentication according to an embodiment of the present invention;
[0065] Figure 4 This is a flow chart of vehicle cross-domain authentication according to an embodiment of the present invention;
[0066] Figure 5 This is a flowchart of the smart contract execution of an embodiment of the present invention. DETAILED DESCRIPTION
[0067] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0068] like Figure 1 As shown, the blockchain-based certificateless anonymous cross-domain authentication method for the Internet of Vehicles described in the present invention is based on a network framework constructed by a trusted agency TA, a domain manager CA and a vehicle. The trusted agency TA publishes system parameters in the blockchain, and all domain managers CA in the network jointly maintain the blockchain ledger to achieve cross-domain sharing of authentication information, and combine with smart contracts to achieve rapid cross-domain authentication of vehicles.
[0069] Figure 2 This is an overall flow chart of a blockchain-based vehicle networking certificateless anonymous cross-domain authentication method provided by an embodiment of the present invention. Figure 2As shown, the present invention provides a certificate-free anonymous cross-domain authentication method for Internet of Vehicles based on blockchain, which mainly includes the following steps:
[0070] S1: System initialization
[0071] The trusted institution TA initializes the system, generates public parameters and uploads them to the blockchain;
[0072] Furthermore, S1 includes S11 to S13, which are as follows:
[0073] S11: The trusted institution TA selects an elliptic curve E in the finite field GF(q) p (a, b) and a point O at infinity; the trusted institution TA is based on the elliptic curve E p (a,b) Generate a prime q-order cyclic group G, the generator of group G is denoted by P;
[0074] S12: The trusted institution TA selects one-way hash functions H1-H3:
[0075] S13: The trusted institution TA selects a random number And calculate its own public key T pk =T sk P, T sk is TA's private key; the trusted institution TA sends the public parameter {E p (a,b),GF(q),G,q,P,T pk ,H1~H3} are uploaded to the blockchain.
[0076] S2: Domain Administrator Registration
[0077] All domain administrators CA in the Internet of Vehicles generate registration request messages based on their real identities and apply for registration with the trusted agency TA. TA verifies the authenticity of its identity. After the verification, TA generates a domain name number and secret share for each domain administrator CA. After the registration is completed, all CAs use the secret share to generate an aggregated private key to achieve cross-domain authentication of the vehicle.
[0078] Furthermore, S2 includes S21 to S24, with the domain administrator CA i For example, the details are as follows:
[0079] S21: CA i Select random number Calculate R i =r i P, and Kana Then send a registration request to TA
[0080] S22: TA receives CA i Registration Request After that, check The timestamp T in ts Is it fresh (TT ts ≤ΔT, ΔT is the maximum acceptable time difference); if it is not fresh, it means that the authentication request may have expired or it has been replayed, and TA will ignore this registration request; otherwise, TA calculates CA i True identity And check The legitimacy of the certificate. If it is legal, it is CA. i Generate domain name tag i and secret share Share i ;
[0081] S23: All CAs i After registration is completed, TA is CA i calculate And will trade Upload to blockchain;
[0082] S24: CA i Calculated based on the information in the blockchain And aggregate to get ∑ i F i ;CA i Calculate the aggregate private key Aggregate public key C pk =C sk ·P.
[0083] S3: Vehicle Registration
[0084] Vehicles in different management domains apply for registration with the domain administrator CA of the management domain where they are located. The domain administrator CA verifies the legitimacy of the vehicle identity and generates a pseudonym, partial private key and public key for the vehicle. The domain administrator CA stores vehicle registration information and uploads registration transactions to the blockchain.
[0085] Further, S3 includes S31 to S34, with the vehicle V i For example, the details are as follows:
[0086] S31: Vehicle V i Select random number And calculate S i =s i P, Vehicle V iThe domain administrator CA of the management domain i Send registration request
[0087] S32: Domain Administrator CA i Receive vehicle V i Registration Request After that, check T ts Freshness; if not fresh, CA i V i This registration request; otherwise, calculate And check If legal, then CA i Choose a random number w i And calculate W i =w i P, vehicle pseudonym Vehicle Partial Private Key and the vehicle public key CA i The tuple Send to V i ;
[0088] S33: Domain Administrator CA i storage and will register the transaction Published to the blockchain, written into the blockchain after consensus mechanism;
[0089] S34: Vehicle V i After receiving the tuple, calculate To verify Is it true? After verification, the vehicle V i Calculate its private key and use As its own public key, the vehicle uses the generated public-private key pair to communicate with the CA i The pseudonym generated for it is authenticated with other entities in the management domain; according to communication needs, the vehicle can submit a request to the domain administrator CA i Submit a pseudonym update request to the domain administrator CA i A new pseudonym and a partial private key are generated for the vehicle, and the vehicle generates a public-private key pair corresponding to the new pseudonym based on the partial private key generated for the vehicle by the domain administrator, thereby realizing autonomous dynamic update of the vehicle pseudonym.
[0090] S4: Intra-domain authentication
[0091] After the vehicle joins the network of the management domain, it needs to authenticate with the domain administrator CA of the management domain. In addition, to ensure that the vehicle can continue to use the services provided by the Internet of Vehicles, the two communicating parties will also negotiate keys during the authentication process and use the generated session key for subsequent communications. The intra-domain authentication process is as follows: Figure 3 shown.
[0092] Further, S4 includes S41 to S44, with the vehicle V i and the domain administrator CA i For example, the details are as follows:
[0093] S41: Vehicle V i Choose a random number u, calculate and signature Then Send to CA i ,like Figure 3 As shown in steps ①~②;
[0094] S42: Domain Administrator CA i Check the freshness of T1. If it is not fresh, reject the authentication; otherwise, verify Is it established? Verification passed, domain administrator CA i Select a random number v and calculate V = vP + C pk , Domain Administrator CA i Towards vehicle V i send like Figure 3 As shown in steps ③ to ⑤; when the domain administrator CA i When receiving two or more authentication requests at the same time, the CA i Batch authentication can be used to improve authentication efficiency;
[0095] S43: Vehicle V i Check the freshness of T2 and calculate And verify Is it true? Verification passed, vehicle V i calculate And send {ACK,T3} to CA i ,like Figure 3 As shown in steps ⑥~⑧;
[0096] S44: Domain Administrator CA i Check the freshness of T3. If it is not fresh, reject the authentication; otherwise, verify Is it established? After verification, CAi Will As the session key, calculate And authenticate the transaction {TX i ,SK′ i ,T cur}Upload to the blockchain, such as Figure 3 As shown in steps ⑨~⑩;
[0097] Correctness analysis of signature verification in step S42:
[0098] In step S42, CA i The process of verifying multiple authentication requests simultaneously through batch authentication is as follows:
[0099] When the domain administrator CA i When receiving domain authentication requests from n vehicles at the same time, CA i Verify the following equation to achieve simultaneous authentication of multiple vehicle identities; if the equation holds, the identities of n vehicles are successfully authenticated at the same time; otherwise, CA i The domain authentication requests of n vehicles will be verified one by one to find out the vehicle that provides the wrong authentication message;
[0100] S5: Cross-domain authentication
[0101] After the vehicle completes registration and authentication in its own management domain, when it enters another management domain, it performs cross-domain authentication with the domain administrator of the management domain and negotiates the session key; the domain administrator generates a temporary pseudonym and a partial private key that can be verified in the management domain for the vehicle. The cross-domain authentication process is as follows: Figure 4 shown.
[0102] Further, S5 includes S51 to S55, with the vehicle V i and the domain administrator CA j For example, the details are as follows:
[0103] S51: Vehicle V i Select a random number u and calculate U=uP, and will Send to the domain administrator CA j ,like Figure 4 As shown in steps ①~②;
[0104] S52: Domain Administrator CA j According to the vehicle domain name tag i Find the corresponding CA i The public key And send it to the smart contract like Figure 4 As shown in step ③;
[0105] S53: Smart contract receives CA j Execute the verification function after sending the message If the verification fails, the cross-domain authentication request is rejected; otherwise, {SK′ is returned. i ,T cur} to CA j , the execution process of the smart contract is as follows Figure 5 As shown;
[0106] S54: CA j calculate As session key; CA j Allow the vehicle to access the other domains and use the secret value of this domain to generate a temporary pseudonym that can be verified in this domain. and a partial private key CA j storage CA j Encrypt the vehicle V using the session key SK i Temporary pseudonym and a partial private key And send the ciphertext to vehicle V i ,like Figure 4 As shown in steps ④~⑦;
[0107] S55: Vehicle V i Using Session Keys Decrypt the ciphertext to get its temporary pseudonym and a partial private key And use the newly generated temporary pseudonym and part of the private key to authenticate with other entities in the form of intra-domain authentication, such as Figure 4 As shown in steps ⑧~⑨;
[0108] S6: Malicious Vehicle Tracking
[0109] After receiving a report of malicious behavior of a vehicle, the domain administrator CA will track the real identity of the malicious vehicle based on the pseudonym information of the malicious vehicle; if the malicious vehicle is a vehicle in this domain, the domain administrator CA will retrieve the real identity of the vehicle corresponding to the vehicle pseudonym information from the local database, and hold it accountable based on the real identity of the vehicle; if the malicious vehicle is a vehicle not in this domain, the domain administrator CA will restore the pseudonym of the malicious vehicle in the original management domain and submit the pseudonym to the domain administrator of its original management domain, who will hold the vehicle accountable.
[0110] Furthermore, the malicious vehicle tracking is based on the vehicle Vm For example, the details are as follows:
[0111] When an entity in the network detects a vehicle V m malicious behavior, the entity will V m pseudonym Sent to the CA of this domain j , C.A. j Retrieve its own accountability list to obtain the corresponding tuple And calculate
[0112] like The malicious vehicle is not a local vehicle. j Will Send to CA i ;CA i Retrieve its own accountability list to obtain the corresponding tuple And calculate and CA i According to the real identity of the vehicle Hold the vehicle responsible;
[0113] like The malicious vehicle is a vehicle in this domain, CA j calculate and CA j According to the real identity of the vehicle Hold the vehicle accountable. Security analysis of a blockchain-based certificateless anonymous cross-domain authentication method for Internet of Vehicles described in the present invention
[0114] The following is a detailed informal security analysis of the blockchain-based certificateless anonymous cross-domain authentication method for Internet of Vehicles described in the present invention, and an evaluation of the security attributes and ability of the method to resist network attacks.
[0115] (1) Forward security
[0116] Forward security means that even if the current session key is leaked or cracked, the adversary cannot calculate the previous session key, which ensures the confidentiality of the previous communication content. In the domain authentication phase of the method described in the present invention, the session keys of the communicating parties are calculated as Since the random numbers u and v of the session key are newly generated each time they are negotiated, the adversary cannot obtain the current session key. The previous session key is calculated. Therefore, the method described in the present invention has forward security.
[0117] (2) Support cross-domain authentication
[0118] Given the high mobility of vehicles, they may need to cross different administrative domains and work together. In order to ensure that vehicles can obtain the required services and resources along their routes, they need to win the trust of entities in different administrative domains. When a vehicle needs to perform cross-domain authentication, the vehicle submits an application to the local domain manager and signs it using a certificateless signature scheme. After the application is quickly verified by the smart contract, the smart contract returns the authentication parameters to the domain manager. The domain manager generates a session key based on the returned authentication parameters and generates a temporary pseudonym and partial private key for the vehicle that can be used for identity authentication in the administrative domain. The vehicle generates its own public-private key pair for cross-domain authentication based on the partial private key sent by the domain manager, and uses the above temporary pseudonym and the generated public-private key pair to perform cross-domain authentication with other entities in the administrative domain. This effectively realizes the cross-domain authentication of the vehicle and the privacy protection of domain name information during the authentication process.
[0119] (3) Two-way identity authentication
[0120] During the authentication phase, the CA verifies To determine the authentication message The legality of the signature The calculation requires the private key of the vehicle, and in the present invention, the private key of the vehicle is only held by the corresponding vehicle, which means that only the vehicle holding the corresponding private key can effectively calculate the authentication message. Therefore, the CA can effectively verify the identity of the vehicle. The feedback of the vehicle receiving the authentication request message from the CA You can also use To verify the identity of the CA. In summary, the method described in the present invention can achieve two-way identity authentication.
[0121] (4) Anonymity
[0122] During the registration phase, the vehicle calculates To protect the true identity of the vehicle. For the adversary, the random number s i and private key is unknown. Therefore, the adversary cannot obtain the true identity of the vehicle During the identity authentication phase, the vehicle uses the pseudonym generated by the CA for authentication. When the CA generates a pseudonym for the vehicle, it uses a random number w i By randomizing the pseudonym, the adversary cannot use the information in the public channel to determine the source of the intercepted message. Therefore, the method described in the present invention has anonymity.
[0123] (5) Conditional Privacy Protection
[0124] The authentication method for the Internet of Vehicles needs to provide the ability to trace the true identity of malicious vehicles while ensuring the anonymity of the vehicle. When a malicious vehicle is detected, CA can be calculated by the parameters of this tuple. and The real identity of the vehicle is restored and held accountable. In addition, when a malicious vehicle carries out malicious behavior across domains, the local domain administrator can cooperate with the registration management domain of the vehicle to jointly trace the real identity of the vehicle. Therefore, the method described in the present invention realizes conditional privacy protection.
[0125] (6) Unlinkability
[0126] Depending on the communication needs, vehicles can use different pseudonyms to communicate with other entities in the network. Corresponding to different private keys and the public key Since the random number s of the above parameters is generated each time i and w i All of them are random and independent, and the adversary cannot link different pseudonyms of the same vehicle together. Therefore, the method described in the present invention has the property of being unlinkable.
[0127] (7) Resisting replay attacks
[0128] In a replay attack, an adversary records a previous authentication message in a public channel and attempts to resend the recorded authentication message at a later time to deceive other entities in the network. In the method of the present invention, when a vehicle communicates with other entities, it first checks the freshness of the timestamp in the message. If the timestamp is not fresh, the receiver regards the message as a replay attack and refuses to communicate further with the sender. Therefore, the method of the present invention can effectively resist replay attacks.
[0129] (8) Defending against privileged insider attacks
[0130] In privileged internal attacks, the adversary often has certain special permissions, and they can access, steal and tamper with sensitive data in the system. and However, since the adversary cannot obtain the CA's private key and the vehicle's true identity Therefore, the adversary cannot and Recover part of the vehicle's private key In addition, during the intra-domain authentication phase, the session key of the communicating parties is calculated as Since the adversary cannot obtain the aggregate key C of the system sk , the adversary cannot calculate the session key negotiated during the authentication phase. Therefore, the method described in the present invention can effectively resist privileged internal attacks.
[0131] (9) Protect against man-in-the-middle attacks
[0132] During the registration phase, the vehicle needs to be verified Is it true? Since the adversary does not hold the aggregate key C in the system sk and CA i Private key Therefore, the adversary cannot forge a partial private key that can be verified by the vehicle and give it to the vehicle. Similarly, in the authentication phase, the communicating parties can determine whether they are subject to a man-in-the-middle attack through signature verification. Therefore, the adversary cannot hijack the communication in the network, and the method described in the present invention can effectively resist man-in-the-middle attacks.
[0133] The method for anonymous cross-domain authentication of Internet of Vehicles based on blockchain using the embodiment of the present invention described above in combination with the accompanying drawings adopts a network model with multiple management domains, and sets domain managers to jointly maintain blockchain ledgers to achieve cross-domain sharing of authentication information, and combines smart contracts to achieve fast cross-domain authentication, thereby preventing vehicle users from leaking information about their management domains during cross-domain authentication. However, the present invention is not limited to the described implementation methods, and these changes, modifications, substitutions and deformations to the implementation methods without departing from the principles and spirit of the present invention still fall within the scope of protection of the present invention.
Claims
1. A certificateless anonymous cross-domain authentication method for Internet of Vehicles based on blockchain, characterized by: (1) The blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method includes three types of entities: a trusted institution , Domain Admin and vehicles; (2) The blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method includes the following six steps: S1: System initialization; Trusted Institutions Generate relevant parameters of the elliptic curve cryptography system, its own key pair, and one-way hash function, and upload the generated public parameters to the blockchain; S2: Domain Administrator register; Domain Administrator Trusted Institution Application for registration; the credible institution Verify domain administrator Identity information; after verification For domain administrators Generate a domain name and secret share; after registration is completed, all Generate an aggregate private key using the secret shares; S3: Vehicle registration; The vehicle sends a request to the domain administrator of the management domain where it is located. Apply for registration, the domain administrator Verify the legitimacy of the vehicle identity and generate a pseudonym, partial private key and public key for the vehicle; the domain manager Store vehicle registration information and upload registration transactions to the blockchain; S4: Intra-domain authentication; Vehicle and domain manager of this management domain Perform mutual authentication and key negotiation, and use the negotiated session key for communication; domain administrator Generate authentication transactions and upload to the blockchain; S5: cross-domain authentication; After the vehicle completes registration and authentication in its own management domain, when it enters another management domain, it performs cross-domain authentication and negotiates session keys with the domain administrator of that management domain; the domain administrator uses smart contracts to generate a verifiable temporary pseudonym and partial private key for the vehicle within that management domain; S6: Malicious vehicle tracking; Domain Administrator After receiving a report of a malicious behavior of a vehicle, the real identity of the malicious vehicle is tracked based on the pseudonym information of the malicious vehicle; If the malicious vehicle is a vehicle in this domain, the domain administrator The real identity of the vehicle corresponding to the vehicle pseudonym information will be retrieved from the local database, and the vehicle will be held accountable based on its real identity; if the malicious vehicle is not a vehicle in this domain, the domain administrator The pseudonym of the malicious vehicle in the original management domain will be restored and submitted to the domain administrator of the original management domain, who will then hold the vehicle accountable.
2. According to claim 1, a blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method is characterized by: The three types of entities are specifically described as follows: (1) Trusted institution TA: the trusted institution Responsible for initializing the system, publishing public parameters and managing all domain managers in the Internet of Vehicles Register; in addition, trusted institutions Secret shares are also distributed to assist domain administrators Generate and share aggregate private keys; (2) Domain Administrator : The domain administrator Responsible for the registration and authentication of all vehicles within its own management domain, cross-domain authentication of vehicles outside the management domain, and tracking the true identity of malicious vehicles; (3) Vehicles: The vehicles have certain computing capabilities and can communicate with other entities in the network to transmit and obtain traffic information, such as traffic jams, accident warnings, and road information.
3. According to claim 1, a certificateless anonymous cross-domain authentication method for Internet of Vehicles based on blockchain is characterized in that: The trusted institution in step S1 The specific method for system initialization is: S11: The trusted institution In finite fields Select an elliptic curve and a point at infinity ; The trusted authority TA uses an elliptic curve Generate a prime number Cyclic group of order ,group The generator of ; S12: The trusted institution Choose a one-way hash function ; S13: The trusted institution Select random number And calculate its own public key , for The private key of the trusted institution The public parameters Upload to blockchain.
4. According to claim 1, a blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method is characterized by: In step S2, the domain administrator The registration process is to be performed by the domain administrator For example, the details are as follows: S21: Select random number ,calculate , and Kana , then to Send registration request ; S22: Received Registration Request After that, check Timestamp in Is it fresh? If not, Ignored This registration request; otherwise, calculate True identity ) and check If legal, then Generate domain name and secret share ; S23: All After registration is complete, for calculate , , and the transaction Upload to blockchain; S24: Calculated based on the information in the blockchain , And aggregate to get ; Calculate the aggregate private key , aggregate public key = . .
5. According to claim 1, a certificateless anonymous cross-domain authentication method for Internet of Vehicles based on blockchain is characterized in that: The vehicle registration process in step S3 is based on the vehicle V i For example, the details are as follows: S31: Vehicle V i Select random number s i , And calculate S i =s i P, Vehicle V i The domain administrator CA of the management domain i Send registration request S32: Domain Administrator CA i Receive vehicle V i Registration Request After that, check T ts Freshness; if not fresh, CA i V i This registration request; otherwise, calculate And check If legal, then CA i Choose a random number w i , and calculate W i =w i P. Vehicle pseudonym Vehicle Partial Private Key and the vehicle public key CA i The tuple Send to V i ; S33: Domain Administrator CA i storage and will register the transaction Publish to the blockchain and write into the blockchain after consensus mechanism; S34: Vehicle V i After receiving the tuple, calculate To verify Is it true? After verification, the vehicle V i Calculate its private key and use As its own public key, the vehicle uses the generated public-private key pair to communicate with the CA i Performing intra-domain authentication for the pseudonym generated for it and other entities within the management domain; According to communication needs, the vehicle can send a request to the domain administrator CA i Submit a pseudonym update request to the domain administrator CA i A new pseudonym and a partial private key are generated for the vehicle, and the vehicle generates a public-private key pair corresponding to the new pseudonym based on the partial private key generated for the vehicle by the domain administrator, thereby realizing autonomous dynamic update of the vehicle pseudonym.
6. According to claim 1, a certificateless anonymous cross-domain authentication method for Internet of Vehicles based on blockchain is characterized in that: In step S4, the domain authentication and key negotiation are performed by the domain administrator. and vehicles For example, the details are as follows: S41: Vehicles Select random number ,calculate and signature ; then Send to domain administrator ; S42: Domain Administrator examine If it is not fresh, the authentication is rejected; otherwise, the authentication Is it established? Verification passed, domain administrator Select random number ,calculate , , ;Domain Administrator To the vehicle send ; When the domain administrator When two or more authentication requests are received at the same time, Batch authentication can be used to improve authentication efficiency; S43: Vehicles examine If it is not fresh, the authentication is rejected; otherwise, the calculation , and verify Is it established? Verification passed, vehicle calculate and will Send to ; S44: Domain Administrator examine If it is not fresh, the authentication process is terminated; otherwise, the verification Is it established? After verification Will As the session key, calculate , and will authenticate the transaction Upload to blockchain.
7. According to claim 6, a blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method is characterized by: In step S42 The process of verifying multiple authentication requests simultaneously through batch authentication is as follows: When a domain administrator At the same time received When a vehicle's domain authentication request is received, Verify the following equation to achieve simultaneous authentication of multiple vehicle identities; if the equation holds, then The identities of all vehicles are authenticated successfully at the same time; otherwise, One by one Verify the domain authentication request of each vehicle to find out the vehicle that provides the wrong authentication message; 。 8. According to claim 1, a certificateless anonymous cross-domain authentication method for Internet of Vehicles based on blockchain is characterized in that: In step S5, cross-domain authentication is performed by the domain administrator. and vehicles For example, the details are as follows: S51: Vehicle Select random number ,calculate , , and Send to domain administrator ; S52: Domain Administrator According to the vehicle domain number Find its domain administrator The public key , and send it to the smart contract ; S53: Smart contract receives After sending the message, execute the verification function Verify( ), if the verification fails, the cross-domain authentication request is rejected; otherwise, return Give ; S54: calculate As and The session key; Allow the vehicle to access the other domains and use the secret value of this domain to generate a temporary pseudonym that can be verified in this domain. and a partial private key , ; storage ; Using Session Keys Encrypted Vehicles Temporary pseudonym and a partial private key And send the ciphertext to the vehicle ; S55: Vehicle Using Session Keys Decrypt the ciphertext to get its temporary pseudonym and a partial private key The vehicle generates its own public-private key pair for cross-domain authentication based on the partial private key sent by the domain administrator, and uses the temporary pseudonym and the generated public-private key pair to perform cross-domain authentication with other entities within the management domain.
9. According to claim 1, a blockchain-based Internet of Vehicles certificateless anonymous cross-domain authentication method is characterized by: In step S6, the malicious vehicle is tracked by the vehicle For example, the details are as follows: When an entity in the network detects a vehicle malicious behavior, the entity will pseudonym Sent to this domain , Retrieve its own accountability list to obtain the corresponding tuple And calculate ; like , the malicious vehicle is not a local vehicle, Will Send to ; Retrieve its own accountability list to obtain the corresponding tuple , and calculate , and ; According to the real identity of the vehicle Hold the vehicle responsible; like , the malicious vehicle is a vehicle in this domain, calculate and ; According to the real identity of the vehicle Hold the vehicle accountable.
Citation Information
Cited By
Distributed Internet of Vehicles collaborative cross-domain authentication method and device and storage medium
CN121665229A
Internet of vehicles cross-domain identity authentication method based on PUF (Physical Unclonable Function) and certificateless
CN121771718A
