基于Arm BTI的COTS二进制文件的有效前沿控制流完整性

IF 8 1区 计算机科学 Q1 COMPUTER SCIENCE, THEORY & METHODS
Tai Yue;Kai Lu;Zhenyu Ning;Pengfei Wang;Lei Zhou;Xu Zhou;Yaohua Wang;Fengwei Zhang;Gen Zhang
{"title":"基于Arm BTI的COTS二进制文件的有效前沿控制流完整性","authors":"Tai Yue;Kai Lu;Zhenyu Ning;Pengfei Wang;Lei Zhou;Xu Zhou;Yaohua Wang;Fengwei Zhang;Gen Zhang","doi":"10.1109/TIFS.2025.3580342","DOIUrl":null,"url":null,"abstract":"CONTROL-FLOW Integrity (CFI) has been widely recognized as an effective technique for mitigating control-flow hijacking attacks. However, many binary-level CFI approaches suffer from weaknesses in safeguarding forward edges, particularly for the obfuscated binaries, due to the imprecision in binary analysis or heuristic algorithms. Moreover, these approaches often involve non-negligible overhead and are challenging to deploy, as they instrument plenty of code or employ hardware tracing to enforce the CFI policies. This paper introduces <sc>Mobius</small>, the first complete implementation of security-instruction-based binary-only CFI solution on commercial processors. <sc>Mobius</small> leverages the Branch Target Identification (BTI) technology in Arm v8.5 to safeguard the forward edges of binaries and shared libraries efficiently. It determines the forward-edge targets without false negatives and carefully instruments the <inline-formula> <tex-math>$\\textsf {bti}$ </tex-math></inline-formula> instructions to conduct the CFI checking efficiently. Then, it mounts a runtime monitor to detect potential attacks. We deploy <sc>Mobius</small> on an Alibaba Cloud server with Yitian 710 processors in practice without modifying the kernel or loader. Remarkably, <sc>Mobius</small> successfully provides efficient protection for real-world applications, including obfuscated code, with marginal overhead (5.78% on SPEC2006).","PeriodicalId":13492,"journal":{"name":"IEEE Transactions on Information Forensics and Security","volume":"20 ","pages":"7137-7152"},"PeriodicalIF":8.0000,"publicationDate":"2025-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient Forward-Edge Control-Flow Integrity for COTS Binaries via Arm BTI\",\"authors\":\"Tai Yue;Kai Lu;Zhenyu Ning;Pengfei Wang;Lei Zhou;Xu Zhou;Yaohua Wang;Fengwei Zhang;Gen Zhang\",\"doi\":\"10.1109/TIFS.2025.3580342\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"CONTROL-FLOW Integrity (CFI) has been widely recognized as an effective technique for mitigating control-flow hijacking attacks. However, many binary-level CFI approaches suffer from weaknesses in safeguarding forward edges, particularly for the obfuscated binaries, due to the imprecision in binary analysis or heuristic algorithms. Moreover, these approaches often involve non-negligible overhead and are challenging to deploy, as they instrument plenty of code or employ hardware tracing to enforce the CFI policies. This paper introduces <sc>Mobius</small>, the first complete implementation of security-instruction-based binary-only CFI solution on commercial processors. <sc>Mobius</small> leverages the Branch Target Identification (BTI) technology in Arm v8.5 to safeguard the forward edges of binaries and shared libraries efficiently. It determines the forward-edge targets without false negatives and carefully instruments the <inline-formula> <tex-math>$\\\\textsf {bti}$ </tex-math></inline-formula> instructions to conduct the CFI checking efficiently. Then, it mounts a runtime monitor to detect potential attacks. We deploy <sc>Mobius</small> on an Alibaba Cloud server with Yitian 710 processors in practice without modifying the kernel or loader. Remarkably, <sc>Mobius</small> successfully provides efficient protection for real-world applications, including obfuscated code, with marginal overhead (5.78% on SPEC2006).\",\"PeriodicalId\":13492,\"journal\":{\"name\":\"IEEE Transactions on Information Forensics and Security\",\"volume\":\"20 \",\"pages\":\"7137-7152\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-06-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Information Forensics and Security\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/11037594/\",\"RegionNum\":1,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Information Forensics and Security","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11037594/","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

控制流完整性(CFI)被广泛认为是缓解控制流劫持攻击的有效技术。然而,由于二进制分析或启发式算法的不精确,许多二进制级CFI方法在保护前沿方面存在弱点,特别是对于混淆二进制。此外,这些方法通常涉及不可忽略的开销,并且很难部署,因为它们需要编写大量代码或使用硬件跟踪来执行CFI策略。本文介绍了Mobius,第一个基于安全指令的纯二进制CFI解决方案在商业处理器上的完整实现。Mobius利用Arm v8.5中的分支目标识别(BTI)技术来有效地保护二进制文件和共享库的前沿。它确定无假阴性的前沿目标,并仔细地仪器化$\textsf {bti}$指令,以有效地进行CFI检查。然后,它安装一个运行时监视器来检测潜在的攻击。在实践中,我们将Mobius部署在阿里云服务器上,使用益天710处理器,无需修改内核或加载程序。值得注意的是,Mobius成功地为实际应用程序(包括混淆的代码)提供了有效的保护,开销很小(SPEC2006上为5.78%)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Efficient Forward-Edge Control-Flow Integrity for COTS Binaries via Arm BTI
CONTROL-FLOW Integrity (CFI) has been widely recognized as an effective technique for mitigating control-flow hijacking attacks. However, many binary-level CFI approaches suffer from weaknesses in safeguarding forward edges, particularly for the obfuscated binaries, due to the imprecision in binary analysis or heuristic algorithms. Moreover, these approaches often involve non-negligible overhead and are challenging to deploy, as they instrument plenty of code or employ hardware tracing to enforce the CFI policies. This paper introduces Mobius, the first complete implementation of security-instruction-based binary-only CFI solution on commercial processors. Mobius leverages the Branch Target Identification (BTI) technology in Arm v8.5 to safeguard the forward edges of binaries and shared libraries efficiently. It determines the forward-edge targets without false negatives and carefully instruments the $\textsf {bti}$ instructions to conduct the CFI checking efficiently. Then, it mounts a runtime monitor to detect potential attacks. We deploy Mobius on an Alibaba Cloud server with Yitian 710 processors in practice without modifying the kernel or loader. Remarkably, Mobius successfully provides efficient protection for real-world applications, including obfuscated code, with marginal overhead (5.78% on SPEC2006).
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Transactions on Information Forensics and Security
IEEE Transactions on Information Forensics and Security 工程技术-工程:电子与电气
CiteScore
14.40
自引率
7.40%
发文量
234
审稿时长
6.5 months
期刊介绍: The IEEE Transactions on Information Forensics and Security covers the sciences, technologies, and applications relating to information forensics, information security, biometrics, surveillance and systems applications that incorporate these features
×
引用
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学术官方微信