arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.01858cs.CRcs.LG
收藏

DeepCheck:一种基于深度学习的非侵入式控制流完整性检测

DeepCheck: A Non-intrusive Control-flow Integrity Checking based on Deep Learning

College of Computer Science and Electronic Engineering(计算机科学与电子工程学院);Hunan University(湖南大学)

Jiliang Zhang, Wuqiao Chen, Yuqi Niu

摘要:

代码重用攻击(CRA)是一种利用已有代码劫持程序控制流的攻击方法。控制流完整性(CFI)是防止CRA攻击的最常用机制之一.然而,目前的CFI技术很难部署在实际应用中,由于遭受一些问题,如修改二进制文件或编译器,扩展指令集体系结构(ISA)和招致不可接受的运行时开销。为了解决这些问题,我们提出了第一个基于深度学习的CFI技术,名为DeepCheck,其中控制流图(CFG)被拆分为链,用于深度神经网络(DNN)训练。DNN通过学习CFG的完整性特征来检测异常控制流。DeepCheck不会中断应用程序,因此不会产生任何运行时开销。在Adobe Flash Player、Nginx、Proftpd和Firefox上的实验结果表明,DeepCheck的平均检测准确率高达98.9%。此外,使用ROPGadget和Ropper创建的64个ROP漏洞来进一步测试有效性,结果表明检测成功率达到100%。

英文摘要:

Code reuse attack (CRA) is a powerful attack that reuses existing codes to hijack the program control flow. Control flow integrity (CFI) is one of the most popular mechanisms to prevent against CRAs. However, current CFI techniques are difficult to be deployed in real applications due to suffering several issues such as modifying binaries or compiler, extending instruction set architectures (ISA) and incurring unacceptable runtime overhead. To address these issues, we propose the first deep learning-based CFI technique, named DeepCheck, where the control flow graph (CFG) is split into chains for deep neural network (DNN) training. Then the integrity features of CFG can be learned by DNN to detect abnormal control flows. DeepCheck does not interrupt the application and hence incurs zero runtime overhead. Experimental results on Adobe Flash Player, Nginx, Proftpd and Firefox show that the average detection accuracy of DeepCheck is as high as 98.9%. In addition, 64 ROP exploits created by ROPGadget and Ropper are used to further test the effectiveness, which shows that the detection success rate reaches 100%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑