• DocumentCode
    1762531
  • Title

    SafeStack: Automatically Patching Stack-Based Buffer Overflow Vulnerabilities

  • Author

    Gang Chen ; Hai Jin ; Deqing Zou ; Bing Bing Zhou ; Zhenkai Liang ; Weide Zheng ; Xuanhua Shi

  • Author_Institution
    Cluster & Grid Comput. Lab., Huazhong Univ. of Sci. & Technol., Wuhan, China
  • Volume
    10
  • Issue
    6
  • fYear
    2013
  • fDate
    Nov.-Dec. 2013
  • Firstpage
    368
  • Lastpage
    379
  • Abstract
    Buffer overflow attacks still pose a significant threat to the security and availability of today´s computer systems. Although there are a number of solutions proposed to provide adequate protection against buffer overflow attacks, most of existing solutions terminate the vulnerable program when the buffer overflow occurs, effectively rendering the program unavailable. The impact on availability is a serious problem on service-oriented platforms. This paper presents SafeStack, a system that can automatically diagnose and patch stack-based buffer overflow vulnerabilities. The key technique of our solution is to virtualize memory accesses and move the vulnerable buffer into protected memory regions, which provides a fundamental and effective protection against recurrence of the same attack without stopping normal system execution. We developed a prototype on a Linux system, and conducted extensive experiments to evaluate the effectiveness and performance of the system using a range of applications. Our experimental results showed that SafeStack can quickly generate runtime patches to successfully handle the attack´s recurrence. Furthermore, SafeStack only incurs acceptable overhead for the patched applications.
  • Keywords
    Linux; buffer storage; program diagnostics; security of data; service-oriented architecture; software reliability; Linux system; SafeStack; automatic stack-based buffer overflow vulnerability patching; buffer overflow attacks; computer systems; memory access virtualization; protected memory regions; service-oriented platforms; stack-based buffer overflow vulnerability diagnosis; vulnerable program; Computer security; Computer viruses; Fault diagnosis; Software reliability; Software reliability; attack prevention; buffer overflow vulnerability diagnosis;
  • fLanguage
    English
  • Journal_Title
    Dependable and Secure Computing, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1545-5971
  • Type

    jour

  • DOI
    10.1109/TDSC.2013.25
  • Filename
    6529076