Optimization to the Rescue: Evading Binary Code Stylometry with Adversarial Use of Code Optimizations
Optimization to the Rescue: Evading Binary Code Stylometry with Adversarial Use of Code Optimizations
Ben Jacobsen,Sazzadur Rahaman,S. Debray
TLDR
A gray-box attack on a state-of-the-art classifier using compiler optimizations is proposed, as well as implications for the field of binary stylometry.
Abstract
Recent work suggests that it may be possible to determine the author of a binary program simply by analyzing stylistic features preserved within it. As this poses a threat to the privacy of programmers who wish to distribute their work anonymously, we consider steps that can be taken to mislead such analysis. We begin by exploring the effect of compiler optimizations on the features used for stylistic analysis. Building on these findings, we propose a gray-box attack on a state-of-the-art classifier using compiler optimizations. Finally, we discuss our results, as well as implications for the field of binary stylometry.
