Abstract
Secret-shared shuffle (SSS) is a fundamental building block in Secure Multi-Party Computation (MPC), enabling anonymous data processing by randomly reordering secret-shared vectors. While efficient protocols exist for semi-honest environments, achieving malicious security—protection against active cheating—has proven challenging. This paper identifies critical "selective failure" vulnerabilities in existing maliciously secure SSS protocols and introduces a robust framework to address them. By combining lightweight correlation checks, a novel cascaded shuffle mechanism for leakage reduction, and optimized Puncturable Pseudorandom Functions (PPRF), the proposed protocol achieves full malicious security with performance up to 15x faster than current state-of-the-art implementations.
Introduction: The Challenge of Malicious Security
Secret-shared shuffle allows multiple parties to reorder an encrypted vector such that the final permutation remains unknown to any individual participant. This primitive is essential for mixnets, private data analysis, and differential privacy.
The current efficiency benchmark is the CGP protocol, which utilizes pre-computed "shuffle tuples" in an offline phase to accelerate online operations. However, the authors discovered that recent attempts to harden CGP against malicious adversaries were flawed. Specifically, a cheating party could perform a "selective failure attack" by intentionally introducing errors into the shuffle tuples. If the protocol proceeds without an abort, the attacker learns information about the secret permutation, effectively breaking the privacy guarantees.
Methodology
The authors propose a multi-layered defense strategy to achieve robust malicious security without sacrificing the efficiency of the underlying CGP framework.
1. Lightweight Correlation Checks
To prevent adversaries from using malformed shuffle tuples to leak data, the protocol introduces lightweight checks during the offline phase. These checks ensure that the pre-computed correlations are well-formed before they are used in the online shuffle.
The protocol integrates these checks with SPDZ-style Message Authentication Codes (MACs) to maintain data integrity throughout the computation.
2. Leakage Reduction via Cascaded Shuffles
Because some degree of selective failure leakage is mathematically inherent in a single shuffle, the authors employ a cascaded shuffle approach. Instead of a single permutation, the data passes through $B$ successive shuffles. For an attacker to successfully leak information, they would need to guess correctly across all $B$ stages without triggering an abort.
To optimize this, the authors developed a new combinatorial analysis using generating functions to determine the minimum number of shuffles ($B$) required for a specific security parameter. For instance, $B=7$ is often sufficient for standard batch sizes, significantly reducing overhead compared to naive repetition.
3. Efficient PPRF Construction
The protocol leverages Puncturable Pseudorandom Functions (PPRF) to build "oblivious punctured vectors" (OPV). PPRFs allow a party to share a key that can evaluate a function at all points except one, which is the ideal primitive for constructing secret-shared permutations efficiently.
Performance and Results
The protocol was benchmarked using synthetic vectors ranging from $2^6$ to $2^{20}$ elements in both LAN and WAN environments.
- Significant Speedups: The proposed protocol is 15x faster in the offline phase and 7x faster in the online phase compared to the maliciously secure SSS implementation in the MP-SPDZ library.
- Low Security Overhead: Moving from semi-honest to malicious security only doubled the execution time and added approximately 20% communication overhead.
- Scalability: In a LAN setting, the protocol can shuffle over 1 million elements ($2^{20}$) in just 9.8 seconds.
Conclusion and Future Work
This work demonstrates that malicious security for secret-shared shuffle can be achieved with high efficiency. By identifying the selective failure trap and addressing it through cascaded shuffles and lightweight checks, the authors provide a practical solution for privacy-preserving applications.
Future research may focus on reducing the online overhead of cascaded shuffles further, perhaps through zero-knowledge proofs for the legitimacy of shuffle messages. Additionally, improving the scalability of the communication complexity for a very large number of parties remains an open challenge.
Summary updated