学位论文详细信息
Asynchronous hardware-enforced memory safety
Memory Safety;Memory errors;Hardware;Field-Programmable Gate Array (FPGA);Memory Corruption Attacks;C Programming language;Bounds checking
Tseng, Kuan-Yu ; Iyer ; Ravishankar K. ; Kalbarczyk ; Zbigniew T.
关键词: Memory Safety;    Memory errors;    Hardware;    Field-Programmable Gate Array (FPGA);    Memory Corruption Attacks;    C Programming language;    Bounds checking;   
Others  :  https://www.ideals.illinois.edu/bitstream/handle/2142/45568/Kuan-Yu_Tseng.pdf?sequence=1&isAllowed=y
美国|英语
来源: The Illinois Digital Environment for Access to Learning and Scholarship
PDF
【 摘 要 】

Memory corruption attacks, such as buffer overflow attacks, have been threatening software security for more than three decades. Despite tremendous efforts by developers and researchers to prevent programs written in memory-unsafe language (e.g., C/C++) from memory errors (the root cause of memory corruption attacks), the drawbacks and limitations of prior protectionmechanisms impede their wide deployment. Prior approaches suffer from either (1) incomplete coverage of memory errors, (2) prohibitively high runtime overhead, (3) weak protection for metadata used by the approach, (4) low source compatibility to legacy code, (5) low binary compatibility to compiled binaries, (6) limited modularity support, or (7) low scalability for larger programs.This thesis presents AHEMS, an architectural support that ensures both spatial and temporal memory safety based on the pointer-basedapproach to overcome the aforementioned drawbacks. AHEMSprovides three novel features that allow for fast, flexible, and secure memory safety checking. First, AHEMS checks memory safety asynchronously to the main processor so that the runtime overhead is very low. Second, AHEMScan be flexibly implemented either in a processor, as a co-processor, or as an external device, depending on the designer's choice. Third, AHEMS providesphysical isolation for the metadata (i.e., base and bounds information) so that the metadata cannot be tampered with by any means.We implement an FPGA prototype for AHEMS that allows us to evaluate its detection coverage, runtime overhead, critical path, hardware overhead, and power consumption. Our experiment shows that AHEMS passes 676 security test cases out of 11 different CWEs (including spatial and temporal memory errors) and only incurs as little as 10.6% runtime overhead with a negligible impact on the critical path (0.06% overhead) and power consumption (0.5% overhead).

【 预 览 】
附件列表
Files Size Format View
Asynchronous hardware-enforced memory safety 1606KB PDF download
  文献评价指标  
  下载次数:8次 浏览次数:11次