arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.08717cs.NI
收藏

驾驭云:通过数据平面危害云系统

Reins to the Cloud: Compromising Cloud Systems via the Data Plane

Kashyap Thimmaraju, Bhargava Shastry, Tobias Fiebig, Felicitas Hetzelt, Jean-Pierre Seifert, Anja Feldmann, Stefan Schmid

摘要:

虚拟交换机在云操作系统中已经变得流行,以更灵活的方式互连虚拟机。然而,本文证明了虚拟交换机在云设置中引入了新的攻击面,其影响可能是灾难性的。我们的分析表明,这些漏洞是由以下原因造成的:(1)不适当的安全假设(在内核和用户空间中特权虚拟交换机执行),(2)此类网络的逻辑集中化(例如,OpenStack或SDN),(3)数据平面系统和集中式控制器之间的双向通信信道的存在,以及(4)非标准协议解析器。我们的工作强调了在我们的威胁模型中容纳数据平面的必要性。特别是,它迫使我们重新审视今天的假设,即数据平面只能被复杂的攻击者破坏:我们表明,现代计算机网络的数据平面的破坏实际上可以由一个非常简单的攻击者仅用有限的资源和低成本(即,以租用云中的虚拟机为代价)。作为一个案例研究,我们模糊只有2%的生产质量的虚拟交换机的数据包处理器(即OvS)的代码库,识别严重的漏洞,导致未经身份验证的远程代码执行。特别是,我们提出了“缰绳蠕虫”,它允许我们在不到100秒的时间内完全妥协的测试设置。我们还评估了现有缓解措施的性能开销,如ASLR,PIE和OvS上的无条件堆栈金丝雀。我们发现,虽然在内核空间应用这些对策会产生显着的开销,在用户空间的性能开销是可以忽略不计的。

英文摘要:

Virtual switches have become popular among cloud operating systems to interconnect virtual machines in a more flexible manner. However, this paper demonstrates that virtual switches introduce new attack surfaces in cloud setups, whose effects can be disastrous. Our analysis shows that these vulnerabilities are caused by: (1) inappropriate security assumptions (privileged virtual switch execution in kernel and user space), (2) the logical centralization of such networks (e.g., OpenStack or SDN), (3) the presence of bi-directional communication channels between data plane systems and the centralized controller, and (4) non-standard protocol parsers. Our work highlights the need to accommodate the data plane(s) in our threat models. In particular, it forces us to revisit today's assumption that the data plane can only be compromised by a sophisticated attacker: we show that compromising the data plane of modern computer networks can actually be performed by a very simple attacker with limited resources only and at low cost (i.e., at the cost of renting a virtual machine in the Cloud). As a case study, we fuzzed only 2\% of the code-base of a production quality virtual switch's packet processor (namely OvS), identifying serious vulnerabilities leading to unauthenticated remote code execution. In particular, we present the "rein worm" which allows us to fully compromise test-setups in less than 100 seconds. We also evaluate the performance overhead of existing mitigations such as ASLR, PIEs, and unconditional stack canaries on OvS. We find that while applying these countermeasures in kernel-space incurs a significant overhead, in user-space the performance overhead is negligible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑