RCR for preventing stack smashing attacks bypass stack canaries

Doaa A. Shehab, O. Batarfi
{"title":"RCR for preventing stack smashing attacks bypass stack canaries","authors":"Doaa A. Shehab, O. Batarfi","doi":"10.1109/SAI.2017.8252186","DOIUrl":null,"url":null,"abstract":"With the fast propagation of computer system, the number and variety of security vulnerabilities in those systems are increasing. Stack-smashing has always been one of the most common techniques for hacking application controls. Different techniques have been proposed for protection from this type of attacks such as Stack Smashing Protector (SSP) technique. The idea of SSP is keeping some secret key information (i.e. canary) needed by attackers to build the exploit. Unfortunately, attackers always find ways to bypass this mechanism. In this paper, we propose Random Canaries Repository (RCR) approach that enhances the SSP technique to make bypassing the value of canary more difficult for attackers. The vulnerable applications can get a random value of canary from the repository with the execution start and in case of detecting some possible attack. RCR can work with existing runtime environment without needing special hardware. The overhead was tested and showed that the overhead is only 3%. RCR is able to prevent buffer overflow and to make the estimation of the right value of canary more difficult for attackers with trivial overhead.","PeriodicalId":210248,"journal":{"name":"2017 Computing Conference","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 Computing Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SAI.2017.8252186","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

With the fast propagation of computer system, the number and variety of security vulnerabilities in those systems are increasing. Stack-smashing has always been one of the most common techniques for hacking application controls. Different techniques have been proposed for protection from this type of attacks such as Stack Smashing Protector (SSP) technique. The idea of SSP is keeping some secret key information (i.e. canary) needed by attackers to build the exploit. Unfortunately, attackers always find ways to bypass this mechanism. In this paper, we propose Random Canaries Repository (RCR) approach that enhances the SSP technique to make bypassing the value of canary more difficult for attackers. The vulnerable applications can get a random value of canary from the repository with the execution start and in case of detecting some possible attack. RCR can work with existing runtime environment without needing special hardware. The overhead was tested and showed that the overhead is only 3%. RCR is able to prevent buffer overflow and to make the estimation of the right value of canary more difficult for attackers with trivial overhead.
防止堆栈粉碎攻击的RCR绕过堆栈金丝雀
随着计算机系统的快速发展,安全漏洞的数量和种类也在不断增加。堆栈粉碎一直是入侵应用程序控制的最常用技术之一。已经提出了不同的技术来防止这种类型的攻击,例如Stack Smashing Protector (SSP)技术。SSP的思想是保留一些秘密的关键信息(如金丝雀),攻击者需要这些信息来构建漏洞。不幸的是,攻击者总能找到绕过这一机制的方法。在本文中,我们提出随机金丝雀存储库(RCR)方法,该方法增强了SSP技术,使攻击者更难以绕过金丝雀的值。易受攻击的应用程序可以在执行开始时从存储库中获得一个随机的金丝雀值,以防检测到一些可能的攻击。RCR可以在现有的运行时环境下工作,而不需要特殊的硬件。对开销进行了测试,表明开销仅为3%。RCR能够防止缓冲区溢出,并使攻击者更难以估计金丝雀的正确值,并且开销很小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书