REVIEW 7 cited by
Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity
read the original abstract
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.
Forward citations
Cited by 7 Pith papers
-
PLC-BinX: A Cross-Platform Binary Code Analysis Framework for PLC Binaries
PLC-BinX is a cross-platform binary code analysis framework achieving 100% toolchain prediction accuracy and 49.18% F1 on functionality prediction across 22 labels on 2431 binaries from CODESYS, GEB, and OpenPLC platforms.
-
Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMs
LLMs achieve strong results on syntax parsing tasks but show limited and variable performance on dynamic reasoning, with a clear performance hierarchy across model scales.
-
Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study
Large-scale study on 60k firmware shows vulnerable function versions, search space, function sizes and compilation toolchains affect BCSD performance; build-aware queries raise MRR from 0.818 to 0.981 and TPL-aware tw...
-
PLC-BinX: A Cross-Platform Binary Code Analysis Framework for PLC Binaries
PLC-BinX recovers function-level semantic representations from heterogeneous PLC binaries across CODESYS, GEB, and OpenPLC platforms and reports 100% accuracy on toolchain prediction plus ~50% on functionality predict...
-
PLC-BinX: A Cross-Platform Binary Code Analysis Framework for PLC Binaries
PLC-BinX performs cross-platform reverse engineering and core-function extraction on PLC binaries to build semantic representations that enable 100% accurate toolchain prediction and ~50% accurate functionality predic...
-
REBENCH: A Procedural, Fair-by-Construction Benchmark for LLMs on Stripped-Binary Types and Names (Extended Version)
REBench is a new benchmark that consolidates existing datasets into a large collection of binaries with knowledge-base-driven ground truth to enable fair LLM evaluation on stripped-binary type and name recovery.
-
RINSER: Accurate API Prediction Using Masked Language Models
RINSER uses a masked-language model trained on API codeprints (assembly context around API calls) to predict Windows API names, reporting 85.77% accuracy on normal and 82.88% on stripped binaries, and finding 65 APIs ...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.