Lune

S&P2019顶会

Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler Optimization

Steven H. H. Ding, Benjamin C. M. Fung, Philippe Charland

摘要

Reverse engineering is a manually intensive but necessary technique for understanding the inner workings of new malware, finding vulnerabilities in existing systems, and detecting patent infringements in released software. An assembly clone search engine facilitates the work of reverse engineers by identifying those duplicated or known parts. However, it is challenging to design a robust clone search engine, since there exist various compiler optimization options and code obfuscation techniques that make logically similar assembly functions appear to be very different. A practical clone search engine relies on a robust vector representation of assembly code. However, the existing clone search approaches, which rely on a manual feature engineering process to form a feature vector for an assembly function, fail to consider the relationships between features and identify those unique patterns that can statistically distinguish assembly functions. To address this problem, we propose to jointly learn the lexical semantic relationships and the vector representation of assembly functions based on assembly code. We have developed an assembly code representation learning model Asm2Vec. It only needs assembly code as input and does not require any prior knowledge such as the correct mapping between assembly functions. It can find and incorporate rich semantic relationships among tokens appearing in assembly code. We conduct extensive experiments and benchmark the learning model with state-of-the-art static and dynamic clone search approaches. We show that the learned representation is more robust and significantly outperforms existing methods against changes introduced by obfuscation and optimizations.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 82 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 Scalable Graph-based Bug Search for Firmware Images
  • PalmTree: Learning an Assembly Language Model for Instruction Embedding 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • PalmTree: Learning an Assembly Language Model for Instruction Embedding 引用了 Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs
  • jTrans: jump-aware transformer for binary code similarity detection 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • jTrans: jump-aware transformer for binary code similarity detection 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • jTrans: jump-aware transformer for binary code similarity detection 引用了 Scalable Graph-based Bug Search for Firmware Images
  • jTrans: jump-aware transformer for binary code similarity detection 引用了 Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs
  • Scalable Graph-based Bug Search for Firmware Images 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • Neural reverse engineering of stripped binaries using augmented control flow graphs 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs 引用了 Scalable Graph-based Bug Search for Firmware Images
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper82

  1. Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function PairsFei Zuo, Xiaopeng Li, Patrick Young, Lannan Luo 等NDSS 2019 · 262 次引用
  2. Enhancing State-of-the-art Classifiers with API Semantics to Detect Evolved Android MalwareXiaohan Zhang, Yuan Zhang, Ming Zhong, Daizong Ding 等CCS 2020 · 173 次引用
  3. PalmTree: Learning an Assembly Language Model for Instruction EmbeddingXuezixiang Li, Yu Qu, Heng YinCCS 2021 · 139 次引用
  4. jTrans: jump-aware transformer for binary code similarity detectionHao Wang, Wenjie Qu, Gilad Katz, Wenyu Zhu 等ISSTA 2022 · 139 次引用
  5. Neural reverse engineering of stripped binaries using augmented control flow graphsYaniv David, Uri Alon, Eran YahavOOPSLA 2020 · 83 次引用

它引用的 Paper3

  1. Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin 等CCS 2017 · 682 次引用
  2. Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng 等CCS 2016 · 456 次引用
  3. discovRE: Efficient Cross-Architecture Identification of Bugs in Binary CodeSebastian Eschweiler, Khaled Yakdan, Elmar Gerhards-PadillaNDSS 2016 · 342 次引用

相关 Paper

  1. Prism: Decomposing Program Semantics for Code Clone Detection through CompilationHaoran Li, Siqian Wang, Weihong Quan, Xiaoli Gong 等ICSE 2024 · 5 次引用
  2. CC2Vec: Combining Typed Tokens with Contrastive Learning for Effective Code Clone DetectionShihan Dou, Yueming Wu, Haoxiang Jia, Yuhao Zhou 等FSE 2024 · 9 次引用
  3. Disentangled Code Representation Learning for Multiple Programming LanguagesJingfeng Zhang, Haiwen Hong, Yin Zhang, Yao Wan 等ACL Findings 2021 · 16 次引用
  4. Functional code clone detection with syntax and semantics fusion learningChunrong Fang, Zixi Liu, Yangyang Shi, Jeff Huang 等ISSTA 2020 · 125 次引用
  5. Scalable Program Clone Search through Spectral AnalysisTristan Benoit, Jean-Yves Marion, Sébastien BardinFSE 2023 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖