

浏览全部资源
扫码关注微信
Online First:2022-12,
Published:15 December 2022
移动端阅览
Yuning CHI, Yunfei GUO, Yawen WANG, et al. Software diversity evaluation method based on the properties of ROP/JOP gadgets[J]. Chinese Journal of Network and Information Security, 2022, 8(6): 135-145.
Yuning CHI, Yunfei GUO, Yawen WANG, et al. Software diversity evaluation method based on the properties of ROP/JOP gadgets[J]. Chinese Journal of Network and Information Security, 2022, 8(6): 135-145. DOI: 10.11959/j.issn.2096-109x.2022086.
为应对信息化生活中的网络攻击及威胁,降低网络系统中同质化攻击快速蔓延的风险,增强网络和软件的安全性,软件多样化技术被应用到系统中。软件多样化旨在生成功能等价但内部发生变化的程序变体,从而改变单一的运行环境,缓解同质化攻击。现有的多样化技术的评估指标 ROP(return-oriented programming)gadgets 幸存率难以直接体现安全性影响且评估方法单一,为了更加全面有效地评估软件多样化方法的有效性,提出基于ROP/JOP(jump-oriented programming)gadgets性质的软件多样化评估方法,通过分析常见的代码重用攻击,将抽象的量化转为具象的指标,从空间、时间及质量3个方面评估多样化方法的安全增益及效果。该方法根据gadgets的相似性、损坏度和可用性3个性质探讨软件多样化技术如何影响ROP/JOP攻击。用指令替换、NOP插入、控制流平坦等9种多样化方法对GNU coreutils程序集进行多样化编译生成多样化程序集。对多样化程序集进行基于 gadgets 性质的实验,根据实验结果评估不同多样化方法的有效性及对攻击造成的影响。实验结果表明,该方法能够对软件多样化方法的安全增益进行准确评估,多样化技术会导致 ROP/JOP 攻击所需的攻击链空间增大,构造攻击链的时间变长且攻击成功率降低。不同的多样化方法产生的效果高低不一,对后续研究具有更高安全增益的多样化技术有指导作用。
In order to reduce the risk of rapid spread of homogeneous attacks in network systems
and enhance network and software security
software diversification technologies are applied widely nowadays.Software diversification aims to generate functionally equivalent but internally changed program variants
thereby alter a single operating environment and mitigating homogenization attacks.The existing diversified technical evaluation index ROP gadgets survival rate is difficult to directly reflect the safety impact and the evaluation method is single.In order to evaluate the effectiveness of the diversification method more comprehensively and effectively
a software diversification evaluation method based on the properties of ROP/JOP gadgets is proposed
by analyzing common code reuse attacks
and turns abstract quantification into concrete indicators evaluates the security gain and effect of diversified methods from three aspects of space
time and quality.The method first discusses how diversification techniques affect ROP/JOP attacks according to the three properties of gadgets similarity
damage degree and availability.Nine kinds of diversification methods
such as instruction replacement
NOP insertion
and control flow flattening
are used to diversify the GNU coreutils assembly to generate diversification assembly.Experiments based on the property of gadgets are carried out on the diverse assemblies
and the effectiveness of different diversification methods and the impact on attacks are evaluated according to the experimental results.The experimental results show that this method can accurately evaluate the security gain of software diversification methods
the diversification technology will lead to the increase of the attack chain space required by the ROP/JOP attack
the longer time to construct the attack chain and the lower the attack success rate.The effects of different diversification methods are different
it has a guiding role for the follow-up research on diversified technologies with higher safety gains.
LITCHFIELD D . Buffer Underruns,DEP,ASLR and improving the exploitation prevention mechanisms (XPMs) on the Windows platform [EB ] .
ABADI M , BUDIU M H , ERLINGSSON Ú , et al . Control-flow integrity [C ] // Proceedings of the 12th ACM conference on Computer and Communications Security CCS '05 . 2005 : 340 - 353 .
LIVSHITS V B , LAM M S . Finding security vulnerabilities in Java applications with static analysis [J ] . 14th USENIX Security Symposium , 2005 : 271 - 286 .
姚东 , 张铮 , 张高斐 , 等 . 多变体执行安全防御技术研究综述 [J ] . 信息安全学报 , 2020 , 5 ( 5 ): 77 - 94 .
YAO D , ZHANG Z , ZHANG G F , et al . A survey on multi-variant execution security defense technology [J ] . Journal of Cyber Security , 2020 , 5 ( 5 ): 77 - 94 .
GIUFFRIDA C , KUIJSTEN A , TANENBAUM A S . Enhanced operating system security through efficient and fine-grained address space randomization [C ] // Proceedings of the 21st USENIX Conference on Security symposium . 2012 :40.
HISER J , NGUYEN-TUONG A , CO M , et al . ILR:where'd my gadgets go [C ] // Proceedings of 2012 IEEE Symposium on Security and Privacy . Piscataway:IEEE Press , 2012 : 571 - 585 .
刘镇武 , 隋然 , 张铮 , 等 . 基于信息熵与软件复杂度的软件多样性评估方法 [J ] . 信息工程大学学报 , 2020 , 21 ( 2 ): 207 - 213 .
LIU Z W , SUI R , ZHANG Z , et al . Software diversity evaluation method based on information entropy and software complexity [J ] . Journal of Information Engineering University , 2020 , 21 ( 2 ): 207 - 213 .
HERNANDEZ-CASTRO J , ROSSMAN J . Measuring software diversity,with applications to security [J ] . arXiv:1310.3307 , 2013 .
SHANNON C E . A mathematical theory of communication [J ] . Bell System Technical Journal , 1948 , 27 ( 3 ): 379 - 423 .
COHEN F B . Operating system protection through program evolution [J ] . Computers & Security , 1993 , 12 ( 6 ): 565 - 584 .
COFFMAN J , KELLY D M , WELLONS C C , et al . ROP gadget prevalence and survival under compiler-based binary diversification schemes [C ] // Proceedings of the 2016 ACM Workshop on Software Protection . 2016 : 15 - 26 .
COPPENS B , DE SUTTER B , MAEBE J . Feedback-driven binary code diversification [J ] . ACM Transactions on Architecture and Code Optimization , 2013 , 9 ( 4 ): 1 - 26 .
BRUMLEY D , POOSANKAM P , SONG D , et al . Automatic patch-based exploit generation is possible:techniques and implications [C ] // Proceedings of 2008 IEEE Symposium on Security and Privacy . 2008 : 143 - 157 .
SEBASTIAN B , CHRISTIAN C , VIJAY G , et al . Code obfuscation against symbolic execution attacks [C ] // Proceedings of the 32nd Annual Conference on Computer Security Applications (ACSAC ’16) . 2016 : 189 - 200 .
SEBASTIAN B , CHRISTIAN C , AND ALEXANDER P . Predicting the resilience of obfuscated code against symbolic execution attacks via machine learning [C ] // Proceedings of the 26th USENIX Security Symposium . 2017 : 661 - 678 .
FABIO P , MATTEO D’A , DAVIDE B . Beyond precision and recall:understanding uses (and misuses) of similarity hashes in binary analysis [C ] // Proceedings of the Eighth ACM Conference on Data and Application Security and Privacy (CODASPY ’18) . 2018 : 354 - 365 .
COFFMAN J , CHAKRAVARTY A , RUSSO J A , et al . Quantifying the effectiveness of software diversity using near-duplicate detection algorithms [C ] // Proceedings of the 5th ACM Workshop on Moving Target Defense . 2018 : 1 - 10 .
HOMESCU A , NEISIUS S , LARSEN P , et al . Profile-guided automated software diversity [C ] // Proceedings of the 2013 IEEE/ACM International Symposium on Code Generation and Optimization (CGO) . Piscataway:IEEE Press , 2013 : 1 - 11 .
ROEMER R , BUCHANAN E , SHACHAM H , et al . Return-oriented programming [J ] . ACM Transactions on Information and System Security , 2012 , 15 ( 1 ): 1 - 34 .
BLETSCH T , JIANG X X , FREEH V W , et al . Jump-oriented programming:a new class of code-reuse attack [C ] // Proceedings of the 6th ACM Symposium on Information,Computer and Communications Security - ASIACCS '11 . 2011 : 30 - 40 .
COHEN F B . Operating system protection through program evolution [J ] . Computers & Security , 1993 , 12 ( 6 ): 565 - 584 .
CRANE S , LIEBCHEN C , HOMESCU A , et al . Readactor:practical code randomization resilient to memory disclosure [C ] // Proceedings of 2015 IEEE Symposium on Security and Privacy . Piscataway:IEEE Press , 2015 : 763 - 780 .
JUNOD P , RINALDINI J , WEHRLI J , et al . Obfuscator-LLVM:software protection for the masses [C ] // Proceedings of 2015 IEEE/ACM 1st International Workshop on Software Protection . 2015 : 3 - 9 .
LÁSZLÓ T , KISS Á . Obfuscating C++ programs via control flow flattening [C ] // Processing of Annales Universitatis Scientarum 25 Budapestinensis de Rolando E¨otv¨os Nominatae,Sectio . 2009 .
COLLBERG C , THOMBORSON C , LOW D . Manufacturing cheap,resilient,and stealthy opaque constructs [C ] // Proceedings of the 25th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages - POPL '98 . 1998 : 184 - 196 .
AHMED S , XIAO Y , SNOW K Z , et al . Methodologies for quantifying (re-) randomization security and timing under JIT-ROP [C ] // Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security . 2020 : 1803 - 1820 .
0
Views
394
下载量
0
CSCD
Publicity Resources
Related Articles
Related Author
Related Institution
京公网安备11010802024621