Communications on Applied Nonlinear Analysis ISSN: 1074-133X Vol 31 No. 7s (2024) 696 https://internationalpubls.com Quantum Resistant Cryptosystem-Based Security Protocol for 5G Network Hitesh T Loriya1, Divyesh R Keraliya2, Rahul D Mehta3 1Electronics and Communication Engineering Department, L E College - Morbi, hitesh_loriya@yahoo.co.in 2Electronics and Communication Engineering Department, GEC - Rajkot, drkeraliya@gmail.com 3Electronics and Communication Engineering Department, GEC - Rajkot, rdmehta@hotmail.com Article History: Received: 03-05-2024 Revised: 05-07-2024 Accepted: 25-07-2024 Abstract Security is crucial for wireless communication networks, especially as quantum computing advances rapidly. It won’t be long before quantum attacks become feasible, potentially crippling large wireless networks within minutes. Current methods for securing connections and transactions—such as keys, certificates, and data—could be compromised by quantum computers. One concern is the use of fake base stations with stronger signal strengths to lure users into connecting with them in wireless communication network. A quantum-powered attacker could easily break traditional encryption algorithms and launch various attacks almost instantly. An example of this is the "bidding down" attack, where an attacker convinces both the user and network entities that security features are not upheld, despite their actual presence. This type of attack exploits the security weaknesses of older mobile networks. This paper explores security advancements and challenges related to contemporary public key cryptography, including RSA algorithms based on factorization and discrete logarithm problems with Diffie- Hellman and Elliptic-Curve Cryptography (ECC). While these methods provide adequate protection today, quantum computers could potentially break these algorithms or weaken cryptographic keys and hashes within minutes. Quantum cryptography, or quantum- resistant cryptography, objectives to develop algorithms and protocols resilient to quantum computing threats. This paper examines security vulnerabilities in wireless communication networks, focusing on key confirmation and authentication mechanisms. We propose a robust authentication and key agreement protocol for 5G networks using quantum-resistant cryptography. Our proposed protocol, verified with a verification tool, enhances the security of the authentication and key agreement procedures in wireless communication networks. Keywords: Security, Quantum attack, Cryptosystem, NTRU 1. Introduction Cryptography involves the study of systems designed to securely transfer information among users, combining principles from engineering and mathematics. Its primary applications include ensuring authentication, confidentiality, key distribution and integrity. Two main types of cryptosystems used for secure information transfer are private key cryptosystems and public key cryptosystems. In the context of 5G networks, the 3GPP defines a security architecture [1] that employs cryptosystems to protect subscriber information exchanged between network entities. Quantum computing, which utilizes quantum bits or qubits, represents a significant departure from traditional computing. Unlike classical computers, which process information sequentially, quantum computers can handle multiple Communications on Applied Nonlinear Analysis ISSN: 1074-133X Vol 31 No. 7s (2024) 697 https://internationalpubls.com pieces of information simultaneously, producing numerous possible solutions at once. There are five prominent public key cryptosystems: Diffie-Hellman, Elliptic Curve Cryptography (ECC), Elgamal Cryptographic System (ECS), RSA, and NTRU. Alese et al. [2] conducted a relative analysis of ECC, RSA, Elgamal, and Menezes-Vanstone Elliptic Curve Encryption algorithms, implemented in Java, evaluating their performance based on key generation, encryption, and decryption times. Giripunje et al. [3] discussed asymmetric key cryptography solutions, emphasizing the importance of secure authentication in mobile communications. This paper highlighted that ECC, requiring smaller key sizes and lower computational power compared to RSA, is more suitable for constrained devices such as mobile phones. Pallipamu et al. [4] performed a security examination of digital signature schemes, including DSA, and Elgamal, and RSA, assessing the mathematical complexity of key generation, signature verification, and overall security strengths of these algorithms. 2. Objectives The security of information is a critical concern in wireless communication networks. Implementing public key algorithms on highly constrained devices, such as mobile phones and PDAs, necessitates the use of fast and efficient cryptosystems. It is essential to analyze various public key cryptosystems to identify the most efficient option. Among these, the NTRU public key cryptosystem stands out as the fastest, offering different levels of security with high performance even on limited resources. NTRU employs lattice-based cryptography for data encryption and decryption. Unlike many other public key cryptosystems, NTRU is resistant to quantum attacks using Shor's algorithm. 3. NTRU Cryptosystem Here is a brief overview of the well-known RSA cryptosystem. The RSA cryptosystem, developed by Ron Rivest, Adi Shamir, and Leonard Adleman, is widely used and incorporated into web browsers from Microsoft and Netscape. The process for generating RSA public and private keys is as follows: Key Generation Algorithm: 1. Select Two Large Prime Numbers p and q. 2. Calculate n=p×q. 3. Compute ϕ(n)=(p−1)×(q−1). 4. Select a public key exponent e such that gcd(ϕ(n),e)=1 and 1 0 there are constants γ1, γ2 > 0, depending on ϵ and N, such that for randomly chosen polynomials f, g ∈ R, the probability is greater than 1 − ε that they satisfy 𝛾1|𝑓|2|𝑔|2 ≤ |𝑓 ∗ 𝑔|∞ ≤ 𝛾2|𝑓|2|𝑔|2. Of course, this proposition would be useless from a practical viewpoint if the ratio 𝛾2 𝛾1⁄ were very large for small 𝜀′s. However; it turns out that even for moderately large values of N and very small values of 𝜖, the constants 𝛾1, 𝛾2 are not at all extreme. (c) A Decryption Criterion. Let 𝑚′ = [𝑚 + 𝐻(𝑚, [𝑟 ∗ ℎ]𝑝)𝑋𝑛−𝑘 + 𝐺([𝑟 ∗ ℎ]𝑝)] 𝑝 Polynomial used (𝑒 ≡ 𝑟 ∗ ℎ + 𝑚′ mod 𝑞. ) for encryption. In order for the decryption process to operate, it is necessary that |𝑓 ∗ 𝑚′ + 𝑝𝑟 ∗ 𝑔|∞ < 𝑞. This will almost always be true if parameters are selected so that |𝑓 ∗ 𝑚′|∞ ≤ 𝑞 4⁄ and |𝑝𝑟 ∗ 𝑔|∞ ≤ 𝑞 4⁄ ; This proposes that take |𝑓|2|𝑚|2 ≈ 𝑞 4𝛾2 and |𝑟|2|𝑔|2 ≈ 𝑞 4𝑝𝛾2⁄⁄ For a 𝛾2 matching to a small value for 𝜖. For example, experimental evidence recommends that for N = 167 and N = 503, suitable values for 𝛾2 are 0.27 and 0.17 respectively. NTRU is a lattice-based public-key cryptosystem recognized for its high performance and strong resistance to quantum computing attacks, making it a leading alternative to RSA and Elliptic Curve Cryptography (ECC). It is built on the “Approximate Close Lattice Vector Problem,” a mathematical challenge that underpins its security. One of NTRU’s defining features is its efficient polynomial multiplication, which is the most complex operation during encryption and decryption. This operation is notably faster compared to the corresponding processes in other asymmetric cryptosystems such as RSA, ElGamal, and ECC. Performance comparisons between the NTRU cryptosystem and RSA focusing on key-size, key-generation, encryption, and decryption—are illustrated in Figures 1, 2, and 3, respectively [6]. Communications on Applied Nonlinear Analysis ISSN: 1074-133X Vol 31 No. 7s (2024) 703 https://internationalpubls.com Figure-1 Key-size V/s Key-generation Figure-2 Key-size V/s Encryption (blocks/sec) Figure-3 Key-size V/s Decryption (blocks/sec) The performance analysis from the figures clearly indicates that NTRU outperforms RSA in key generation, encryption, and decryption. NTRU has been endorsed by two prominent standards organizations: the IEEE and the Financial-Services Industry Standards Committee-X9, specifically through the X9.98 Lattice-Based Polynomial Public-Key Establishment Algorithm. This endorsement highlights NTRU's role in securing communications within the financial sector. The X9.98 standard represents a significant advancement by enhancing the resilience of systems against both quantum and classical attacks, thereby strengthening the overall security of financial services systems. 4. Proposed AKA security protocol The 3GPP committee has established the security architecture for the 5G network [2]. The proposed AKA protocol involves four main entities: UE (User-Equipment), SEAF (Subscription-Encryption and Authentication Function), AUSF (Authentication-Server Function), and UDM/ARPF (Unified Data Management/Authentication-Repository and Processing Function), as illustrated in Figure 4. The NTRU cryptosystem is employed to secure message exchanges between these entities. Communications on Applied Nonlinear Analysis ISSN: 1074-133X Vol 31 No. 7s (2024) 704 https://internationalpubls.com Figure 4 Proposed AKA security protocol. In the protocol, the UE sends its subscriber identity in message-M1 to SEAF, encrypted with the NTRU public key of UDM/ARPF. SEAF then forwards a request containing the subscriber identity to AUSF and sends SNN in message-M2, also encrypted with UDM/ARPF's NTRU public key. AUSF passes the received message to UDM/ARPF as AV_REQ message-M3. UDM/ARPF decrypts the authentication request using its NTRU private key and generates an authentication response, UDM_AV_RES. This response, which contains validation information, is sent to AUSF in message- M4 (AVs), encoded with AUSF's NTRU public key. This allows AUSF to confirm the UE's identity. AUSF stores the validation vectors (AVs) and uses the NTRU public key of SEAF to send RAND and AUTN from the selected AV to SEAF in message-M5. SEAF then decrypts these messages using its NTRU private key and forwards RAND and AUTN to UE in message-M6, encrypted with UE's NTRU public key. UE verifies the MAC in AUTN by decoding it with its NTRU private key, XMAC. If the MACs match, UE calculates and returns the response RES to SEAF in message-M7. UE also computes CK and IK, similar to the calculations in UDM/ARPF. SEAF then sends the received message to AUSF as AUTH_UE_AUTH_REQ in message-M8. Upon receiving RES from UE, AUSF compares it with XRES from the AV. If they match, the authentication is deemed successful, and AUSF computes the session key KAUSF from CK and IK to secure the wireless communication with UE. AUSF also derives KSEAF from KAUSF and sends it to SEAF in message-M9. UE independently calculates KAUSF and KSEAF. This process ensures that (i) UE and AUSF share the same session key KAUSF, and (ii) UE and SEAF share the same session key KSEAF. An optional EAP (Extensible Authentication Protocol) procedure follows message-M8, where SEAF sends an N1 Message (EAP Success) to UE with KgNB in message- M10. The security of the protocol has been verified using ProVerif, a cryptographic verifier based on the Dolev-Yao model. ProVerif, which uses a modified form of pi-calculus, assesses secrecy and authentication properties. The absence of detected attacks indicates that the subscriber identity can be securely transferred across insecure channels between network entities. Even if an attacker controls the channel, the subscriber identity and other messages remain secure. Communications on Applied Nonlinear Analysis ISSN: 1074-133X Vol 31 No. 7s (2024) 705 https://internationalpubls.com 5. Discussion This paper demonstrates that the NTRU cryptosystem is one of the fastest public key cryptosystems, offering various levels of security at high speeds. Unlike RSA and similar algorithms, which are vulnerable to quantum computing techniques capable of factoring integers and computing discrete logarithms in polynomial time, NTRU remains robust. The security of NTRU is based on the challenging problem of lattice reduction, making it resistant to quantum computing attacks. Approved for standardization by IEEE in 2009, NTRU offers strong security even on devices with constrained resources, where computing power bandwidth and storage are limited. It is known for its low CPU and battery consumption, reducing server utilization significantly. NTRU's efficiency surpasses that of other public key cryptosystems in both hardware and software implementations. The proposed AKA protocol, which leverages the NTRU cryptosystem, ensures the confidentiality of subscriber identities and other messages within wireless communication networks. We used the ProVerif tool to validate this approach. While the NTRU-based solution may introduce more delay compared to existing methods, it provides enhanced security. This highlights a trade-off between security and computational overhead, but ultimately, the improved security justifies the added computational cost. Acknowledgement We would like to convey our sincere thanks to Dr. K R Parmar and Dr. A. Kulshreshta for their guidance and support. Conflicts of interest “The authors declare that there is no conflict of interest regarding the publication of this paper.” References [1] 3GPP, “Security Architecture and Procedures for the 5G System”, 3GPP TS 33.501 version 15.2.0. Technical Report, The 3rd Generation Partnership Project. [2] Alese, B. K., Philemon E. D., Falaki, S. O., “Comparative Analysis of Public-Key Encryption Schemes”, International Journal of Engineering and Technology, Volume 2, No. 9, September 2012. [3] Giripunje Lokesh, Nimbhorkar Sonali, “Comprehensive Security System for Mobile Network Using Elliptic Curve Cryptography over GF (p)”, International Journal of Advanced Research in Computer Science and Software Engineering, Volume 3, Issue 5, May 2013. [4] Pallipamu Venkateswara Rao, K Thammi Reddy, P Suresh Varma “A Survey On Digital Signatures”, International Journal of Advanced Research in Computer and Communication Engineering, Volume 3, Issue 6, June 2014 [5] Hoffstein, J., Lieman, D., Pipher, J. and Silverman, J.H., “NTRU: A Ring-Based Public Key Cryptosystem” Available online on www.ntru.org. [6] Hoffstein, J., Lieman, D., Pipher, J. and Silverman, J.H., “NTRU: A Public Key Cryptosystem”. http://grouper.ieee.org/ groups/1363/lattPK/submissions.html#NTRU1 [7] Hien Ba Nguyen, Thesis on “An Overview of the NTRU Cryptographic system”, San Diego State University, 2014. [8] Jover R P, Marojevic V, “Security and protocol exploit analysis of the 5G specifications”, IEEE Access 2019, 7, 24956–24963. [9] Ahmad I, Shahabuddin S, Kumar T, Okwuibe, J, Ylianttila M, “Security for 5G and beyond”, IEEE Commun. Surv. Tutor. 2019, 21, 3682–3722. [10] Hu X., Liu C., Liu S., Li J., Cheng X., “A vulnerability in 5G authentication protocols and its Countermeasure”, IEICE Trans. Inf. Syst. 2020, 103, 1806–1809. [11] Khan H., Martin K.M., “A survey of subscription privacy on the 5G radio interface-the past, present and future”, J. Inf. Secure. Appl. 2020, 53, 102537. [12] Blanchet, B.; Smyth, B.; Cheval, V.; Sylvestre, M. “ProVerif 2.05: Automatic Cryptographic Protocol Verifier, User Manual and Tutorial”. Proverif User Manual, 2023. https://bblanche.gitlabpages.inria.fr/proverif/