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

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

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

arXiv:2012.08680 (cs)
[提交于 2020年12月16日 (v1),最后修订于 2021年4月26日 (此版本, v3)]

标题:Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity

作者:Kexin Pei, Zhou Xuan, Junfeng Yang, Suman Jana, Baishakhi Ray
查看论文《Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Detecting semantically similar functions -- a crucial analysis capability with broad real-world security usages including vulnerability detection, malware lineage, and forensics -- requires understanding function behaviors and intentions. This task is challenging as semantically similar functions can be implemented differently, run on different architectures, and compiled with diverse compiler optimizations or obfuscations. Most existing approaches match functions based on syntactic features without understanding the functions' execution semantics. We present Trex, a transfer-learning-based framework, to automate learning execution semantics explicitly from functions' micro-traces and transfer the learned knowledge to match semantically similar functions. Our key insight is that these traces can be used to teach an ML model the execution semantics of different sequences of instructions. We thus train the model to learn execution semantics from the functions' micro-traces, without any manual labeling effort. We then develop a novel neural architecture to learn execution semantics from micro-traces, and we finetune the pretrained model to match semantically similar functions. We evaluate Trex on 1,472,066 function binaries from 13 popular software projects. These functions are from different architectures and compiled with various optimizations and obfuscations. Trex outperforms the state-of-the-art systems by 7.8%, 7.2%, and 14.3% in cross-architecture, optimization, and obfuscation function matching, respectively. Ablation studies show that the pretraining significantly boosts the function matching performance, underscoring the importance of learning execution semantics.
主题: 密码学与安全 (cs.CR); 机器学习 (cs.LG); 软件工程 (cs.SE)
引用方式: arXiv:2012.08680 [cs.CR]
  (或者 arXiv:2012.08680v3 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.08680

提交历史

来自:Kexin Pei
[v1] 2020年12月16日 星期三 00:24:51 UTC
[v2] 2020年12月29日 星期二 04:14:44 UTC
[v3] 2021年4月26日 星期一 22:04:43 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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