[Paper Review] Linear decomposition attack on public key exchange protocols using semidirect products of (semi)groups
This paper presents a polynomial-time deterministic linear decomposition attack on non-commutative key exchange protocols based on semidirect products of semigroups, particularly targeting those using matrix semigroups over finite fields. By exploiting linear algebraic structures in the platform group and its endomorphisms, the attack recovers the shared secret key without solving the underlying algorithmic problems, demonstrating that such protocols are insecure when the platform group admits efficient linear representations.
We show that a linear decomposition attack based on the decomposition method introduced by the author works by finding the exchanged secret keys in all main protocols using semidirect products of (semi)grops proposed by Kahrobaei, Shpilrain, Habeeb, Koupparis and Lam.
Motivation & Objective
- To demonstrate that linear decomposition attacks can break two main non-commutative key exchange protocols based on semidirect products of semigroups.
- To show that the security of these protocols does not rely on solving the underlying algorithmic problems (e.g., conjugacy or factorization), but can be broken via linear algebraic techniques.
- To provide a practical, deterministic, and polynomial-time attack that recovers the shared secret key using only public information and linear algebra.
- To analyze the vulnerability of protocols using matrix semigroups over Galois fields, especially when endomorphisms are represented linearly.
- To show that even modified versions of the protocol—intended to resist linear algebra attacks—remain vulnerable to a refined linear decomposition approach.
Proposed method
- Leverage the fact that the platform group $ G $ is a multiplicative subgroup of a finite-dimensional algebra over a field $ bF $, enabling linear algebraic techniques.
- Use Gauss elimination to compute a basis $ {e}_1, \dots, \f{e}_t $ of the linear span $ W = \mathrm{Sp}_\bbF(\{ H^k (HM)^l \}) $, where $ H, M $ are matrices over a finite field.
- Construct the annihilator space $ U $ of $ HM $, consisting of matrices $ A $ such that $ A \cdot HM = 0 $, and find a basis for $ Z = W + U $.
- Express the public values $ a_m + R $ and $ a_n + S $ as linear combinations in the basis of $ Z $, using coefficients from the field $ \bbF $.
- Reconstruct the shared key $ a_{m+n} = H^{-(m+n)}(HM)^{m+n} $ via matrix operations on the linear combinations, without recovering $ m $ or $ n $.
- Apply deterministic Gauss elimination to solve linear systems at each step, ensuring the attack is efficient and reproducible.
Experimental results
Research questions
- RQ1Can the shared secret key in non-commutative key exchange protocols using semidirect products be recovered without solving the underlying algorithmic problems?
- RQ2To what extent does the linearity of the platform group and its endomorphisms compromise the security of such protocols?
- RQ3Does the introduction of null-space matrices $ R, S $ in the protocol variant from [4] effectively prevent linear algebraic attacks?
- RQ4Can a deterministic, polynomial-time attack be constructed using only public data and linear algebraic decomposition?
- RQ5Is the shared key recoverable even when private exponents $ m, n $ are not computed, by exploiting linear dependencies in the group algebra?
Key findings
- The linear decomposition attack breaks both main protocols from [3] and [4] in polynomial time when the platform group admits a linear representation over a finite field.
- The attack does not require solving the conjugacy or factorization problems; instead, it recovers the shared key directly via linear algebraic decomposition.
- Even the modified protocol in [4], which introduces null-space matrices $ R, S $ to resist linear attacks, remains vulnerable to a refined linear decomposition method.
- The attack is deterministic and relies only on Gauss elimination to solve linear systems, ensuring reproducibility and efficiency.
- The shared key $ a_{m+n} $ is reconstructed from public values $ a_m + R $, $ a_n + S $ using basis representations of $ W $ and $ U $, without inverting any matrices.
- The attack is practical for platforms such as matrix semigroups over $ \bbF_7 $, as demonstrated in the original [3] and revised [4] protocols.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.