基于GCC插件的堆栈保护技术研究  被引量:3

Research on Stack Protection Technology Based on GCC Plugin

在线阅读下载全文

作  者:王亚刚 曹耀彬 王萌 

机构地区:[1]西安邮电大学计算机学院,陕西西安710121

出  处:《微电子学与计算机》2018年第1期133-136,共4页Microelectronics & Computer

摘  要:缓冲区溢出攻击是计算机中最主要的漏洞之一,在所有的缓冲区溢出中主要攻击的区域是程序的堆栈,为了改进GCC编译器对于基于字节猜测的堆栈溢出防护的不足,在GCC提供的最新插件基础上,提出了一种堆栈保护增强插件,并将其作为GCC编译器后端的一个编译优化过程.实验结果表明,新增的编译优化遍,在一定程度上增加了攻击者对canary暴力破解的难度,有效地缓解了GCC编译器堆栈防护的不足.Buffer overflow attack is one of the main vulnerabilities in the computer. In all areas, the most likely to attack is the program stack. In order to enforce the GCC stack overflow protection, which is not enough to defense the byte guess attack. On the basis of the latest plug-in provided by GCC, a stack protection enhancement plug-in is proposed and used as a compilation optimization process for the back end of the GCC compiler. The final experimental results show that the new compiler optimization pass, to some extent, increasing the difficulty of the attacker to guessing the canary, which using byte for byte brute force attack. And the plugin can effectively alleviate the shortage of the GCC stack smashing protection.

关 键 词:GCC编译器 GCC插件 堆栈溢出 软件安全 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象