去破坏:通过静态分析和转换缓解压缩侧通道
Debreach: Mitigating Compression Side Channels via Static Analysis and Transformation
摘要:
压缩是一种新出现的可利用的侧通道泄漏源,它会威胁数据安全,特别是在Web应用程序中,由于性能原因,压缩是必不可少的。当前用于减轻压缩侧信道的方法的缺点在于,它们要么急剧地降低压缩比,要么需要开发者付出太多的努力才能被广泛采用。为了弥补这一差距,我们开发了Debrake,这是一种基于静态分析和程序转换的方法,可以减轻压缩侧通道。解除违约包括两个步骤。首先,它使用污点分析来正确识别程序中的敏感数据流,并在将数据馈送到压缩器之前使用代码插装来注释数据。第二,它增强了压缩器利用不压缩标准压缩协议的自由,从而消除了敏感数据与压缩器输出大小之间的依赖性。由于Debrake会自动检测应用程序,并且不会更改压缩协议,因此它具有非中断性和与现有系统兼容的优点。我们已经在一组用PHP编写的Web服务器应用程序上评估了Debrake。我们的实验表明,在确保无泄漏的同时,Debrake可以实现比最先进的方法更高的压缩性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。