Zebrafix: Mitigating Memory-Centric Side-Channel Leakage via Interleaving

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pätschke, Anna, Wichelmann, Jan, Eisenbarth, Thomas
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913049240141824
author Pätschke, Anna
Wichelmann, Jan
Eisenbarth, Thomas
author_facet Pätschke, Anna
Wichelmann, Jan
Eisenbarth, Thomas
contents 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 category: memory-centric side-channels. Under this unified view, we show that interleaving-based ciphertext side-channel mitigations can be used to prevent silent stores as well.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09139
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Zebrafix: Mitigating Memory-Centric Side-Channel Leakage via Interleaving
Pätschke, Anna
Wichelmann, Jan
Eisenbarth, Thomas
Cryptography and Security
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 category: memory-centric side-channels. Under this unified view, we show that interleaving-based ciphertext side-channel mitigations can be used to prevent silent stores as well.
title Zebrafix: Mitigating Memory-Centric Side-Channel Leakage via Interleaving
topic Cryptography and Security
url https://arxiv.org/abs/2502.09139