Amir Hamzah Abd Ghafar
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Amir Hamzah Abd Ghafar has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Muhammad Rezal Kamel Ariffin
Institute for Mathematical Research (INSPEM), Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
11 shared publications - Muhammad Asyraf Asbullah
Universiti Putra Malaysia
6 shared publications - Siti Hasana Sapar
University Putra Malaysia, Selangor, Malaysia
3 shared publications - Boon Chian Tea
Institute for Mathematical Research (INSPEM), Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
2 shared publications - Nur Raidah Salim
Institute for Mathematical Research, Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
2 shared publications - Wan Nur Aqlili Ruzai
School of Distance Education, Universiti Sains Malaysia, Malaysia
2 shared publications
Latest Publications
- Open Access
- 19 May 2026
- Published by MDPI AG in Mathematics
- Vol. 14 (10) , 1749
On the Structural Solvability of MLWE with Rank-Deficient Public Matrices
The security of Module Learning With Errors (MLWE) relies on the assumption that the public matrix is sampled uniformly and forms a full-rank operator. In this work, we examine the structural consequences of relaxing this assumption by considering public matrices that demonstrate slot-wise rank deficiency under the Number Theoretic Transform (NTT). Focusing on the case where each NTT slot matrix has rank 1, we show that this leads to enlarged left nullspace, which allows the elimination of the secret component , reducing the original relation to a linear system consisting only of . Given partial knowledge of , this projected system admits a unique solution once a sufficient number of independent constraints is available. After recovering , the problem of determining reduces to solving a bounded linear system, which can be viewed as a structured instance of the Short Integer Solution (SIS) problem. These results provide a dimension-based characterization of solvability under slot-wise rank-deficient public matrices. Using ML-DSA as a concrete instantiation, we illustrate how such structural deviations affect the behavior of the system and discuss simple safeguards, such as rank verification during key generation, to mitigate these issues.- 19 May 2026
- Published by MDPI AG in Mathematics
- Vol. 14 (10) , 1749
Open AccessOn the Structural Solvability of MLWE with Rank-Deficient Public Matrices
The security of Module Learning With Errors (MLWE) relies on the assumption that the public matrix is sampled uniformly and forms a full-rank operator. In this work, we examine the structural consequences of relaxing this assumption by considering public matrices that demonstrate slot-wise rank deficiency under the Number Theoretic Transform (NTT). Focusing on the case where each NTT slot matrix has rank 1, we show that this leads to enlarged left nullspace, which allows the elimination of the secret component , reducing the original relation to a linear system consisting only of . Given partial knowledge of , this projected system admits a unique solution once a sufficient number of independent constraints is available. After recovering , the problem of determining reduces to solving a bounded linear system, which can be viewed as a structured instance of the Short Integer Solution (SIS) problem. These results provide a dimension-based characterization of solvability under slot-wise rank-deficient public matrices. Using ML-DSA as a concrete instantiation, we illustrate how such structural deviations affect the behavior of the system and discuss simple safeguards, such as rank verification during key generation, to mitigate these issues. - Open Access
- 1 June 2024
- Published by Springer Nature in Journal of King Saud University Computer and Information Sciences
- Vol. 36 (5)
New simultaneous Diophantine attacks on generalized RSA key equations
- 1 June 2024
- Published by Springer Nature in Journal of King Saud University Computer and Information Sciences
- Vol. 36 (5)
Open AccessNew simultaneous Diophantine attacks on generalized RSA key equations
- Open Access
On (Unknowingly) Using Near-Square RSA Primes
The invention in 1978 of the first practical asymmetric cryptosystem known as RSA was a breakthrough within the long history of secret communications. Since its inception, the RSA cryptosystem has become embedded in millions of digital applications with the objectives of ensuring confidentiality, integrity, authenticity, and disallowing repudiation. However, the generation of the RSA modulus, which requires p and q to be random primes, may accidentally entail the choice of a special type of prime called a near-square prime. This structure of N may be used unknowingly en masse in real-world applications since no current cryptographic implementation prevents its generation. In this study, we show that use of this type of prime will potentially lead to total destruction of RSA. We present three cases of near-square primes used as RSA primes, set in the form of (i) ; (ii) ; and (iii) . Although (ii) and (iii) are quite similar, p and q must be within the same size range of n-bits, which results in different conditions for both cases. We formulate attacks using three different algorithms to better understand their feasibility. We also provide an efficient countermeasure that it is recommended is adopted by current cryptographic libraries with RSA implementation.Open AccessOn (Unknowingly) Using Near-Square RSA Primes
The invention in 1978 of the first practical asymmetric cryptosystem known as RSA was a breakthrough within the long history of secret communications. Since its inception, the RSA cryptosystem has become embedded in millions of digital applications with the objectives of ensuring confidentiality, integrity, authenticity, and disallowing repudiation. However, the generation of the RSA modulus, which requires p and q to be random primes, may accidentally entail the choice of a special type of prime called a near-square prime. This structure of N may be used unknowingly en masse in real-world applications since no current cryptographic implementation prevents its generation. In this study, we show that use of this type of prime will potentially lead to total destruction of RSA. We present three cases of near-square primes used as RSA primes, set in the form of (i) ; (ii) ; and (iii) . Although (ii) and (iii) are quite similar, p and q must be within the same size range of n-bits, which results in different conditions for both cases. We formulate attacks using three different algorithms to better understand their feasibility. We also provide an efficient countermeasure that it is recommended is adopted by current cryptographic libraries with RSA implementation. - Open Access
An Efficient Identification Scheme Based on Bivariate Function Hard Problem
Symmetric cryptography allows faster and more secure communication between two entities using the identical pre-established secret key. However, identifying the honest entity with the same secret key before initiating symmetric encryption is vital since the communication may be impersonated. Tea and Ariffin, in 2014, proposed a new identification (ID) scheme based on the Bivariate Function Hard Problem (BFHP) that proved secure against impersonation under passive, active and concurrent attacks via the BFHP-hardness assumption. In this paper, we upgrade the ID scheme and improve some of its settings. Next, we provide the security proof against impersonation under active and concurrent attacks in the random oracle model via the hardness assumption of the One-More BFHP. Finally, we include an additional discussion about the computational efficiency of the upgraded ID scheme based on BFHP and present its comparison with other selected ID schemes.
Open AccessAn Efficient Identification Scheme Based on Bivariate Function Hard Problem
Symmetric cryptography allows faster and more secure communication between two entities using the identical pre-established secret key. However, identifying the honest entity with the same secret key before initiating symmetric encryption is vital since the communication may be impersonated. Tea and Ariffin, in 2014, proposed a new identification (ID) scheme based on the Bivariate Function Hard Problem (BFHP) that proved secure against impersonation under passive, active and concurrent attacks via the BFHP-hardness assumption. In this paper, we upgrade the ID scheme and improve some of its settings. Next, we provide the security proof against impersonation under active and concurrent attacks in the random oracle model via the hardness assumption of the One-More BFHP. Finally, we include an additional discussion about the computational efficiency of the upgraded ID scheme based on BFHP and present its comparison with other selected ID schemes.
- Open Access
Cryptanalysis of RSA-Variant Cryptosystem Generated by Potential Rogue CA Methodology
Rogue certificate authorities (RCA) are third-party entities that intentionally produce key pairs that satisfy publicly known security requirements but contain weaknesses only known to the RCA. This work analyses the Murru–Saettone RSA variant scheme that obtains its key pair from a potential RCA methodology. The Murru–Saettone scheme is based on the cubic Pell equation . The public, e, and private, d key generation process uses the secret parameter in place of the standard Euler–phi function , where . We prove that, upon obtaining an approximation of , we are able to identify the provided key pair that was maliciously provided even if the private key d size is approximate to . In fact, we are able to factor the modulus .Open AccessCryptanalysis of RSA-Variant Cryptosystem Generated by Potential Rogue CA Methodology
Rogue certificate authorities (RCA) are third-party entities that intentionally produce key pairs that satisfy publicly known security requirements but contain weaknesses only known to the RCA. This work analyses the Murru–Saettone RSA variant scheme that obtains its key pair from a potential RCA methodology. The Murru–Saettone scheme is based on the cubic Pell equation . The public, e, and private, d key generation process uses the secret parameter in place of the standard Euler–phi function , where . We prove that, upon obtaining an approximation of , we are able to identify the provided key pair that was maliciously provided even if the private key d size is approximate to . In fact, we are able to factor the modulus . - Open Access
- 20 October 2021
- Published by MDPI AG in Mathematics
- Vol. 9 (21) , 2642
A Security-Mediated Encryption Scheme Based on ElGamal Variant
Boneh et al. introduced mediated RSA (mRSA) in 2001 in an attempt to achieve faster key revocation for medium-sized organizations via the involvement of a security mediator (SEM) as a semi-trusted third party to provide partial ciphertext decryption for the receiver. In this paper, a pairing-free security mediated encryption scheme based on an ElGamal variant is proposed. The scheme features a similar setting as in the mediated RSA but with a different underlying primitive. We show that the proposed security mediated encryption scheme is secure indistinguishably against chosen-ciphertext attack (IND-CCA) in the random oracle via the hardness assumption of the computational Diffie-Hellman (CDH) problem.
- 20 October 2021
- Published by MDPI AG in Mathematics
- Vol. 9 (21) , 2642
Open AccessA Security-Mediated Encryption Scheme Based on ElGamal Variant
Boneh et al. introduced mediated RSA (mRSA) in 2001 in an attempt to achieve faster key revocation for medium-sized organizations via the involvement of a security mediator (SEM) as a semi-trusted third party to provide partial ciphertext decryption for the receiver. In this paper, a pairing-free security mediated encryption scheme based on an ElGamal variant is proposed. The scheme features a similar setting as in the mediated RSA but with a different underlying primitive. We show that the proposed security mediated encryption scheme is secure indistinguishably against chosen-ciphertext attack (IND-CCA) in the random oracle via the hardness assumption of the computational Diffie-Hellman (CDH) problem.
- Open Access
- 8 February 2021
- Published by MDPI AG in Mathematics
- Vol. 9 (4) , 340
New Jochemsz–May Cryptanalytic Bound for RSA System Utilizing Common Modulus N = p2q
This paper describes an attack on the Rivest, Shamir and Adleman (RSA) cryptosystem utilizing the modulus where p and q are two large balanced primes. Let be the integers such that be their multiplicative inverses. Based on the two key equations and where , our attack works when the primes share a known amount of least significant bits (LSBs) and the private exponents share an amount of most significant bits (MSBs). We apply the extended strategy of Jochemsz–May to find the small roots of an integer polynomial and show that N can be factored if Our attack improves the bounds of some previously proposed attacks that makes the RSA variant vulnerable.- 8 February 2021
- Published by MDPI AG in Mathematics
- Vol. 9 (4) , 340
Open AccessNew Jochemsz–May Cryptanalytic Bound for RSA System Utilizing Common Modulus N = p2q
This paper describes an attack on the Rivest, Shamir and Adleman (RSA) cryptosystem utilizing the modulus where p and q are two large balanced primes. Let be the integers such that be their multiplicative inverses. Based on the two key equations and where , our attack works when the primes share a known amount of least significant bits (LSBs) and the private exponents share an amount of most significant bits (MSBs). We apply the extended strategy of Jochemsz–May to find the small roots of an integer polynomial and show that N can be factored if Our attack improves the bounds of some previously proposed attacks that makes the RSA variant vulnerable. - Open Access
- 9 December 2020
- Published by MDPI AG in Mathematics
- Vol. 8 (12) , 2188
Partial Key Attack Given MSBs of CRT-RSA Private Keys
The CRT-RSA cryptosystem is the most widely adopted RSA variant in digital applications. It exploits the properties of the Chinese remainder theorem (CRT) to elegantly reduce the size of the private keys. This significantly increases the efficiency of the RSA decryption algorithm. Nevertheless, an attack on RSA may also be applied to this RSA variant. One of the attacks is called partially known private key attack, that relies on the assumption that the adversary has knowledge of partial bits regarding RSA private keys. In this paper, we mount this type of attack on CRT-RSA. By using partial most significant bits (MSBs) of one of the RSA primes, p or q and its corresponding private exponent, d, we obtain an RSA intermediate. The intermediate is derived from and RSA public key, e. The analytical and novel reason on the success of our attack is that once the adversary has obtained the parameters: approximation of private exponent , approximation of p, and the public exponent e where where such that and has determined the largest prime of , it will enable the adversary to factor the RSA modulus . Although the parameter space to find the prime factor is large, we show that one can adjust its “success appetite” by applying prime-counting function properties. By comparing our method with contemporary partial key attacks on CRT-RSA, upon determining a suitable predetermined “success appetite” value, we found out that our method required fewer bits of the private keys in order to factor N.- 9 December 2020
- Published by MDPI AG in Mathematics
- Vol. 8 (12) , 2188
Open AccessPartial Key Attack Given MSBs of CRT-RSA Private Keys
The CRT-RSA cryptosystem is the most widely adopted RSA variant in digital applications. It exploits the properties of the Chinese remainder theorem (CRT) to elegantly reduce the size of the private keys. This significantly increases the efficiency of the RSA decryption algorithm. Nevertheless, an attack on RSA may also be applied to this RSA variant. One of the attacks is called partially known private key attack, that relies on the assumption that the adversary has knowledge of partial bits regarding RSA private keys. In this paper, we mount this type of attack on CRT-RSA. By using partial most significant bits (MSBs) of one of the RSA primes, p or q and its corresponding private exponent, d, we obtain an RSA intermediate. The intermediate is derived from and RSA public key, e. The analytical and novel reason on the success of our attack is that once the adversary has obtained the parameters: approximation of private exponent , approximation of p, and the public exponent e where where such that and has determined the largest prime of , it will enable the adversary to factor the RSA modulus . Although the parameter space to find the prime factor is large, we show that one can adjust its “success appetite” by applying prime-counting function properties. By comparing our method with contemporary partial key attacks on CRT-RSA, upon determining a suitable predetermined “success appetite” value, we found out that our method required fewer bits of the private keys in order to factor N. - 5 July 2020
- Published by Springer Nature
- Vol. 12174, 382-399
Attacking RSA Using an Arbitrary Parameter
In this paper, we introduce a parameter u that is related to N via an arbitrary relation. By knowing the parameter along with RSA public key pairs, (N, e), we conduct two new attacks on the RSA cryptosystem. The first attack works on the equation \(eX - uY= Z-\phi _b\) where \(\phi _b\) is the best known lower bound of \(\phi (N)\). It combines the continued fraction method and Coppersmith’s method to factor N in polynomial time. The second attack shows that given \((N_i,e_i)\) for \(1\le i\le k\) and a fixed X, we can simultaneously factor the k RSA moduli. It manipulates the result from diophantine approximation to enable the conditions of Coppersmith’s method. These attacks show that there are more possible weak RSA key pairs.- 5 July 2020
- Published by Springer Nature
- Vol. 12174, 382-399
Attacking RSA Using an Arbitrary Parameter
In this paper, we introduce a parameter u that is related to N via an arbitrary relation. By knowing the parameter along with RSA public key pairs, (N, e), we conduct two new attacks on the RSA cryptosystem. The first attack works on the equation \(eX - uY= Z-\phi _b\) where \(\phi _b\) is the best known lower bound of \(\phi (N)\). It combines the continued fraction method and Coppersmith’s method to factor N in polynomial time. The second attack shows that given \((N_i,e_i)\) for \(1\le i\le k\) and a fixed X, we can simultaneously factor the k RSA moduli. It manipulates the result from diophantine approximation to enable the conditions of Coppersmith’s method. These attacks show that there are more possible weak RSA key pairs.- Open Access
A New LSB Attack on Special-Structured RSA Primes
Asymmetric key cryptosystem is a vital element in securing our communication in cyberspace. It encrypts our transmitting data and authenticates the originality and integrity of the data. The Rivest–Shamir–Adleman (RSA) cryptosystem is highly regarded as one of the most deployed public-key cryptosystem today. Previous attacks on the cryptosystem focus on the effort to weaken the hardness of integer factorization problem, embedded in the RSA modulus, . The adversary used several assumptions to enable the attacks. For examples, p and q which satisfy Pollard’s weak primes structures and partial knowledge of least significant bits (LSBs) of p and q can cause N to be factored in polynomial time, thus breaking the security of RSA. In this paper, we heavily utilized both assumptions. First, we assume that p and q satisfy specific structures where and for are positive integers and m is a positive even number. Second, we assume that the bits of and are the known LSBs of p and q respectively. In our analysis, we have successfully factored N in polynomial time using both assumptions. We also counted the number of primes that are affected by our attack. Based on the result, it may poses a great danger to the users of RSA if no countermeasure being developed to resist our attack.Open AccessA New LSB Attack on Special-Structured RSA Primes
Asymmetric key cryptosystem is a vital element in securing our communication in cyberspace. It encrypts our transmitting data and authenticates the originality and integrity of the data. The Rivest–Shamir–Adleman (RSA) cryptosystem is highly regarded as one of the most deployed public-key cryptosystem today. Previous attacks on the cryptosystem focus on the effort to weaken the hardness of integer factorization problem, embedded in the RSA modulus, . The adversary used several assumptions to enable the attacks. For examples, p and q which satisfy Pollard’s weak primes structures and partial knowledge of least significant bits (LSBs) of p and q can cause N to be factored in polynomial time, thus breaking the security of RSA. In this paper, we heavily utilized both assumptions. First, we assume that p and q satisfy specific structures where and for are positive integers and m is a positive even number. Second, we assume that the bits of and are the known LSBs of p and q respectively. In our analysis, we have successfully factored N in polynomial time using both assumptions. We also counted the number of primes that are affected by our attack. Based on the result, it may poses a great danger to the users of RSA if no countermeasure being developed to resist our attack.