Abstract
Biometric authentication offers a convenient alternative to traditional passwords, but the immutability of biometric data presents a significant security risk if templates are compromised. Ghostshell is a secure biometric authentication framework that allows a server to verify a user's identity (e.g., via iris scans) without ever accessing raw biometric data or the decryption key. By combining Somewhat Homomorphic Encryption (SHE) with a novel "Ironman" protocol for integrity, the system performs matching on encrypted data while preventing a compromised server from stealing the user's biometric template.
The Challenge of Biometric Privacy
Biometric data—like fingerprints or iris scans—is inherently different from passwords. If a password is stolen, it can be changed; if an iris scan is stolen, the user is compromised for life. Currently, most systems store biometrics in central databases where the server often needs to decrypt them for comparison, creating a window of vulnerability. While Homomorphic Encryption (HE) allows for computation on encrypted data, it has historically been too slow for real-world use. Furthermore, a malicious server could exploit a "decryption oracle" attack, tricking a user into decrypting fake results to slowly leak private biometric bits. Ghostshell aims to make HE-based authentication both fast enough for mobile devices and secure against such malicious server behavior.
The Ghostshell Architecture
Ghostshell's architecture is designed to protect biometric templates throughout the authentication lifecycle. The system involves a User, an Authentication Server (AS), and an Encrypted Database.
The process begins with enrollment, where the user's biometric template is encrypted and stored. During authentication, the user provides a fresh sample, and the server performs matching operations directly on the encrypted templates stored in the database.
Methodology and Innovations
Ghostshell introduces several layers of cryptographic innovation to achieve its goals:
- Efficient Matching with SHE: The system uses the BGV scheme to compute the Hamming distance between encrypted templates. By designing a matching function with a low multiplicative depth (depth 2), the authors avoid the computationally expensive "bootstrapping" process required for fully homomorphic encryption.
- SIMD Operations: To overcome HE latency, Ghostshell uses Single-Instruction Multiple-Data (SIMD) techniques. Hundreds of bits are packed into "slots" within a single ciphertext, allowing the server to process entire biometric strings in parallel.
- The Ironman Protocol: This is the core contribution to system integrity. Unlike simpler protocols that might leak information through matching scores, the Ironman protocol ensures privacy by providing the server with a "hint" (using discrete logarithm settings). This allows the server to verify if a score is below a threshold (a match) without ever learning the actual score or raw biometric bits.
- Ciphertext Compression: A pseudo-random number generator (PRG) is used to reduce the size of massive HE ciphertexts by half, making them practical for transmission over mobile networks.
Experimental Results
The researchers evaluated Ghostshell using the CASIA-Iris-Interval database, extracting 2400-bit binary iris templates. The results demonstrate that Ghostshell achieves performance levels remarkably close to practical requirements for mobile authentication:
- Server Matching Time: ~0.47 seconds to compare two 2400-bit iris codes.
- User Computation Time: Only 0.1 seconds, suitable for modern smartphones.
- Encryption Speed: 16.2 milliseconds per iris code.
- Storage Efficiency: A 2400-bit iris template is reduced to a 40.1 KB ciphertext through packing and compression (down from an unoptimized ~100 MB).
Conclusion and Future Work
Ghostshell demonstrates that homomorphic encryption can be a viable solution for secure biometric authentication. By addressing the "decryption oracle" trap and optimizing for computational efficiency, the framework provides a robust defense against malicious servers. Future work will address real-world challenges such as iris alignment and the trade-off between security tag size and system performance across different biometric modalities.
Summary updated