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

边缘的多变量执行

Multi-Variant Execution at the Edge

Javier Cabrera-Arteaga, Pierre Laperdrix, Martin Monperrus, Benoit Baudry

摘要:

边缘-云计算将传统上在云中发生的部分计算卸载到边缘节点,例如,CDN服务器,以便更接近用户并减少延迟。为了进一步提高性能,WebAssembly越来越多地用于这种情况。边缘-云计算提供商,如Fastly或Cloudflare,让他们的客户端以WebAssembly二进制文件的形式部署无状态服务,然后将其转换为机器码并进行沙箱化,以便在边缘安全执行。在这种情况下,我们提出了一种技术,(i)自动多样化部署到边缘的WebAssembly二进制文件,(ii)在运行时随机化执行路径,将服务的执行变成移动目标。给定一个要部署在边缘的服务,我们会自动为实现该服务的函数合成功能等效的变体。然后,所有变体都被包装到一个多变量的WebAssembly二进制文件中。当服务端点执行时,每次调用函数时,都会随机选择它的一个变体。我们在MEWE工具中实现了这种技术,并使用7种加密和QR编码服务对其进行了验证。MEWE生成嵌入数百个函数变量的多变量二进制文件。我们在Fastly提供的全球边缘平台上执行多变量二进制文件。我们表明,在运行时,在整个边缘平台上,多变量表现出显着的多样性ofexecution痕迹。

英文摘要:

Edge-cloud computing offloads parts of the computations that traditionally occurs in the cloud to edge nodes,e.g., CDN servers, in order to get closer to the users and reduce latency. To improve performance even further, WebAssembly is increasingly used in this context. Edge-cloud computing providers, such as Fastly or Cloudflare, let their clients deploy stateless services in the form of WebAssembly binaries, which are then translated to machine code and sandboxed for a safe execution at the edge. In this context, we propose a technique that (i) automatically diversifies WebAssembly binaries that are deployed to the edge and (ii) randomizes execution paths at runtime, turning the execution of the services into a moving target. Given a service tobe deployed at the edge, we automatically synthesize functionally equivalent variants for the functions that implement the service.All the variants are then wrapped into a single multivariant WebAssembly binary. When the service endpoint is executed,every time a function is invoked, one of its variants is randomly selected. We implement this technique in the MEWE tool and we validate it with 7 services for cryptography and QR encoding. MEWE generates multivariant binaries that embed hundreds of function variants. We execute the multivariant binaries on the worldwide edge platform provided by Fastly. We show that,at runtime, the multivariant exhibit a remarkable diversity ofexecution traces, across the whole edge platform.

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

↑