English

Debreach: Mitigating Compression Side Channels via Static Analysis and Transformation

Cryptography and Security 2019-09-19 v1 Software Engineering

Abstract

Compression is an emerging source of exploitable side-channel leakage that threatens data security, particularly in web applications where compression is indispensable for performance reasons. Current approaches to mitigating compression side channels have drawbacks in that they either degrade compression ratio drastically or require too much effort from developers to be widely adopted. To bridge the gap, we develop Debreach, a static analysis and program transformation based approach to mitigating compression side channels. Debreach consists of two steps. First, it uses taint analysis to soundly identify flows of sensitive data in the program and uses code instrumentation to annotate data before feeding them to the compressor. Second, it enhances the compressor to exploit the freedom to not compress of standard compression protocols, thus removing the dependency between sensitive data and the size of the compressor's output. Since Debreach automatically instruments applications and does not change the compression protocols, it has the advantage of being non-disruptive and compatible with existing systems. We have evaluated Debreach on a set of web server applications written in PHP. Our experiments show that, while ensuring leakage-freedom, Debreach can achieve significantly higher compression performance than state-of-the-art approaches.

Keywords

Cite

@article{arxiv.1909.05977,
  title  = {Debreach: Mitigating Compression Side Channels via Static Analysis and Transformation},
  author = {Brandon Paulsen and Chungha Sung and Peter A. H. Peterson and Chao Wang},
  journal= {arXiv preprint arXiv:1909.05977},
  year   = {2019}
}

Comments

Published as a conference paper at ASE 2019

R2 v1 2026-06-23T11:14:05.757Z