功能侧通道的数据驱动型FPGA
Data-Driven Debugging for Functional Side Channels
摘要:
通过旁路渠道的信息泄漏是一个普遍存在的问题,即使在安全关键型应用程序中也是如此。当攻击者知道服务器的秘密值在一定时间内保持固定时,功能侧信道就会出现。然后,攻击者可以观察服务器在不同公共输入序列上的执行,每个公共输入都与相同的秘密输入配对。因此,对于每个秘密,攻击者观察到从公共输入到执行时间的函数,例如,她可以比较不同秘密的这些函数。首先,我们介绍了一个概念的功能侧信道的非干扰。我们专注于噪声观测的情况下,在那里我们用例子证明,有一个实际的功能侧通道的程序,将被视为信息泄漏免费或被低估使用标准定义。其次,我们开发了一个框架和技术,用于调试功能侧通道的程序。我们扩展进化模糊技术,以产生利用公共输入的响应时间的功能依赖性的输入。我们适应现有的结果和算法在功能数据分析模型的功能和发现侧通道的存在。我们使用标准决策树学习的功能扩展来查明导致侧信道的代码片段(如果存在)。我们经验性地评估我们的工具FUCHSIA的一系列微基准测试和现实的Java程序的性能。在一组基准测试中,我们表明FUCHSIA在检测侧通道类方面优于最先进的技术。在实际的程序中,我们展示了FUCHSIA在分析Java程序中的函数侧通道时的可扩展性,有数千种方法。此外,我们还展示了FUCHSIA在查找侧通道方面的有用性,包括OpenJDK中的零日漏洞和Jetty中的另一个漏洞,该漏洞已被开发人员修复。
英文摘要:
Information leaks through side channels are a pervasive problem, even in security-critical applications. Functional side channels arise when an attacker knows that a secret value of a server stays fixed for a certain time. Then, the attacker can observe the server executions on a sequence of different public inputs, each paired with the same secret input. Thus for each secret, the attacker observes a function from public inputs to execution time, for instance, and she can compare these functions for different secrets. First, we introduce a notion of noninterference for functional side channels. We focus on the case of noisy observations, where we demonstrate with examples that there is a practical functional side channel in programs that would be deemed information-leak-free or be underestimated using the standard definition. Second, we develop a framework and techniques for debugging programs for functional side channels. We extend evolutionary fuzzing techniques to generate inputs that exploit functional dependencies of response times on public inputs. We adapt existing results and algorithms in functional data analysis to model the functions and discover the existence of side channels. We use a functional extension of standard decision tree learning to pinpoint the code fragments causing a side channel if there is one. We empirically evaluate the performance of our tool FUCHSIA on a series of micro-benchmarks and realistic Java programs. On the set of benchmarks, we show that FUCHSIA outperforms the state-of-the-art techniques in detecting side channel classes. On the realistic programs, we show the scalability of FUCHSIA in analyzing functional side channels in Java programs with thousands of methods. Also, we show the usefulness of FUCHSIA in finding side channels including a zero-day vulnerability in OpenJDK and another vulnerability in Jetty that was since fixed by the developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。