首页> 外文会议>1st 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 (IB-MAC) 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 FPG A. 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.
机译:本文提出了一种基于硬件实现的基于指令的内存访问控制(IB-MAC)的控制流实施技术。它专门用于保护低成本嵌入式系统,使其免受恶意操纵其控制流的影响,并防止意外的堆栈溢出。这是通过使用简单的硬件修改将堆栈分为数据和控制流堆栈(或返回堆栈)来实现的。此外,对控制流堆栈的访问仅限于返回和调用指令,这阻止了控制流操纵。先前的解决方案解决了通用计算设备上的控制流注入问题,并且很少适用于缺少例如内存管理单元(MMU)或执行环的更简单的低成本嵌入式设备。我们的方法与旧版应用程序二进制兼容,只需要对工具链进行最少的更改即可。此外,它不会增加内存使用量,允许堆栈内存的最佳使用,并防止在运行时意外堆栈损坏。我们已经使用模拟器和FPG A上的修改核心在AVR微控制器上实现并测试了IBMAC。在可重配置硬件上的实现在门数量方面显示出很小的结果开销,因此开销很低预期生产成本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号