首页> 外文会议>1st workshop on secure execution of untrusted code >Hardware-enforced Fine-grained Isolation of Untrusted Code
【24h】

Hardware-enforced Fine-grained Isolation of Untrusted Code

机译:硬件强制的不受信任代码的细粒度隔离

获取原文
获取原文并翻译 | 示例

摘要

We present a novel combination of hardware (architecture) and software (compiler) techniques to support the safe execution of untrusted code. While other efforts focus on isolating processes, our approach isolates code and data at a function (as in, C function) level, to enable fine-grained protection within a process as needed for downloaded plugins, libraries, and modifications of open-source projects. Our solution also enforces timing restrictions to detect denial of service from untrusted code, and supports protection of dynamically allocated memory. Because bookkeeping data can become substantial (permission tables that at their finest granularity describe which memory words may be accessed by which functions), our solution employs a stack-structured bookkeeping mechanism that tracks the flow of execution and automatically dispenses with bookkeeping data when no longer needed. This approach also enables an architectural optimization to handle permissions for dynamically allocated memory, allowing heap blocks to be appropriately shared across the trust boundary. Tested across a suite of benchmarks, our solution had a worst case 12% overhead and 3.5% average overhead at the finest level of code granularity (every single function in its own unit of isolation). The overhead is easily reduced by using trace-driven analysis to combine functions into coarser-grained groups that share permissions.
机译:我们提出了硬件(架构)和软件(编译器)技术的新颖组合,以支持安全执行不受信任的代码。虽然其他工作集中在隔离进程上,但我们的方法在功能(如C函数)级别隔离代码和数据,以根据下载插件,库和开源项目的修改所需的过程实现细粒度的保护。 。我们的解决方案还实施了时序限制,以检测来自不受信任代码的拒绝服务,并支持保护动态分配的内存。由于簿记数据可能会变得很庞大(权限表以其最精细的粒度描述了哪些内存字可以通过哪些功能访问),因此我们的解决方案采用了堆栈结构的簿记机制,该机制跟踪执行流程并在不再使用时自动取消簿记数据需要。这种方法还使体系结构优化可以处理动态分配的内存的权限,从而允许在信任边界之间适当地共享堆块。经过一系列基准测试,我们的解决方案在最高级的代码粒度(每个功能都以其自己的隔离单元)下具有12%的开销和3.5%的平均开销,是最坏的情况。通过使用跟踪驱动的分析将功能组合到共享权限的粗粒度组中,可以轻松减少开销。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号