Zebrafix: Mitigating Memory-Centric Side-Channel Leakage via Interleaving
Anna P\"atschke, Jan Wichelmann, Thomas Eisenbarth

TL;DR
Zebrafix is a compiler-based tool that uses interleaving to mitigate memory-centric side-channel leaks in cryptographic code, offering better performance than previous methods despite increased complexity.
Contribution
This work introduces a novel interleaving-based approach for ciphertext side-channel mitigation and demonstrates its effectiveness in preventing silent stores within a unified memory-centric side-channel framework.
Findings
Interleaving outperforms other ciphertext side-channel mitigations in efficiency.
Zebrafix effectively prevents silent stores and memory-centric side-channel leaks.
Interleaving incurs high practical complexity but offers significant security benefits.
Abstract
Constant-time code has become the de-facto standard for secure cryptographic implementations. However, some memory-based leakage classes such as ciphertext side-channels and silent stores remain unaddressed. Prior work proposed three different methods for ciphertext side-channel mitigation, for which one, the practicality of interleaving data with counter values, remains to be explored. To close this gap, we define design choices and requirements to leverage interleaving for a generic ciphertext side-channel mitigation. Based on these results, we implement Zebrafix, a compiler-based tool to ensure freshness of memory stores. We evaluate Zebrafix and find that interleaving can perform much better than other ciphertext side-channel mitigations, at the cost of a high practical complexity. We further observe that ciphertext side-channels and silent stores belong to a broader attack…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
