首页> 外文会议>Proceedings of the First ACM workshop on Secure execution of untrusted code >Defending embedded systems against control flow attacks
【24h】

Defending embedded systems against control flow attacks

机译:保护嵌入式系统免受控制流攻击

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

摘要

This paper presents a control flow enforcement technique based on an Instruction Based Memory Access Control (IBMAC) implemented in hardware. It is specifically designed to protect low-cost embedded systems against malicious manipulation of their control flow as well as preventing accidental stack overflows. This is achieved by using a simple hardware modification to divide the stack in a data and a control flow stack (or return stack). Moreover access to the control flow stack is restricted only to return and call instructions, which prevents control flow manipulation. Previous solutions tackled the problem of control flow injection on general purpose computing devices and are rarely applicable to the simpler low-cost embedded devices, that lack for example of a Memory Management Unit (MMU) or execution rings. Our approach is binary compatible with legacy applications and only requires minimal changes to the tool-chain. Additionally, it does not increase memory usage, allows an optimal usage of stack memory and prevents accidental stack corruption at run-time. We have implemented and tested IBMAC on the AVR micro-controller using both a simulator and an implementation of the modified core on a FPGA. The implementation on reconfigurable hardware showed a small resulting overhead in terms of number of gates, and therefore a low overhead of expected production costs.
机译:本文提出了一种基于硬件实现的基于指令的内存访问控制(IBMAC)的控制流实施技术。它专门用于保护低成本嵌入式系统,使其免受恶意操纵其控制流的影响,并防止意外的堆栈溢出。这是通过使用简单的硬件修改将堆栈分为数据和控制流堆栈(或返回堆栈)来实现的。此外,对控制流堆栈的访问仅限于返回和调用指令,这阻止了控制流操纵。先前的解决方案解决了通用计算设备上的控制流注入问题,并且很少适用于缺少例如内存管理单元(MMU)或执行环的更简单的低成本嵌入式设备。我们的方法与旧版应用程序二进制兼容,只需要对工具链进行最少的更改即可。此外,它不会增加内存使用量,允许堆栈内存的最佳使用,并防止在运行时意外堆栈损坏。我们已经使用模拟器和FPGA上的修改内核实现在AVR微控制器上实现并测试了IBMAC。就门数量而言,在可重构硬件上的实现显示出较小的结果开销,因此预期生产成本的开销很小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号