PEM: Representing Binary Program Semantics for Similarity Analysis via a Probabilistic Execution Model

08/29/2023
by   Xiangzhe Xu, et al.
0

Binary similarity analysis determines if two binary executables are from the same source program. Existing techniques leverage static and dynamic program features and may utilize advanced Deep Learning techniques. Although they have demonstrated great potential, the community believes that a more effective representation of program semantics can further improve similarity analysis. In this paper, we propose a new method to represent binary program semantics. It is based on a novel probabilistic execution engine that can effectively sample the input space and the program path space of subject binaries. More importantly, it ensures that the collected samples are comparable across binaries, addressing the substantial variations of input specifications. Our evaluation on 9 real-world projects with 35k functions, and comparison with 6 state-of-the-art techniques show that PEM can achieve a precision of 96 common settings, outperforming the baselines by 10-20

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset