跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2312.06425 (cs)
[提交于 2023年12月11日]

标题:Numeric Truncation Security Predicate

作者:Timofey Mezhuev, Ilay Kobrin, Alexey Vishnyakov, Daniil Kuts
查看论文《Numeric Truncation Security Predicate》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Numeric truncation is a widely spread error in software written in languages with static data typing, such as C/C++ or Java. It occurs when the significant bits of the value with a bigger type size are truncated during value conversion to the smaller type. Utilizing one of the most powerful methods for path exploration and automated bug detection called dynamic symbolic execution (DSE), we propose the symbolic security predicate for numeric truncation error detection, developed on top of DSE tool Sydr. Firstly, we execute the program on the data, which does not lead to any errors. During program execution we update symbolic shadow stack and shadow registers to track symbolic sizes of the symbolic variables to avoid false positives. Then, if we meet the instruction, which truncates the symbolic variable, we build the security predicate, try to solve it with the SMT-solver and in case of success save new input file to reproduce the error. We tested our approach on Juliet Dynamic test suite for CWE-197 and achieved 100% accuracy. We approved the workability of our approach by detecting 12 new errors of numeric truncation in 5 different real-world open source projects within OSS-Sydr-Fuzz project. All of the errors were reported, most of the reports were equipped with appropriate fixes, successfully confirmed and applied by project maintainers.
主题: 密码学与安全 (cs.CR); 软件工程 (cs.SE)
引用方式: arXiv:2312.06425 [cs.CR]
  (或者 arXiv:2312.06425v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2312.06425
期刊参考: 2023 Ivannikov ISPRAS Open Conference (ISPRAS), IEEE, 2023, pp. 84-92
相关 DOI: https://doi.org/10.1109/ISPRAS60948.2023.10508174

提交历史

来自:Ilay Kobrin
[v1] 2023年12月11日 星期一 14:49:26 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-12
切换浏览方式为:
cs
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站