Verifiably Correct Lifting of Position-Independent x86-64 Binaries to Symbolized Assembly

dc.contributor.authorVerbeek, Freeken
dc.contributor.authorNaus, Nicoen
dc.contributor.authorRavindran, Binoyen
dc.date.accessioned2025-01-09T17:36:35Zen
dc.date.available2025-01-09T17:36:35Zen
dc.date.issued2024-12-02en
dc.date.updated2025-01-01T08:53:05Zen
dc.description.abstractWe present an approach to lift position-independent x86-64 binaries to symbolized NASM. Symbolization is a decompilation step that enables binary patching: functions can be modified, and instructions can be interspersed. Moreover, it is the first abstraction step in a larger decompilation chain. The produced NASM is recompilable, and we extensively test the recompiled binaries to see if they exhibit the same behavior as the original ones. In addition to testing, the produced NASM is accompanied with a certificate, constructed in such a way that if all theorems in the certificate hold, symbolization has occurred correctly. The original and recompiled binary are lifted again with a third-party decompiler (Ghidra). These representations, as well as the certificate, are loaded into the Isabelle/HOL theorem prover, where proof scripts ensure that correctness can be proven automatically. We have applied symbolization to various stripped binaries from various sources, from various compilers, and ranging over various optimization levels.We show how symbolization enables binary-level patching, by tackling challenges originating from industry.en
dc.description.versionPublished versionen
dc.format.mimetypeapplication/pdfen
dc.identifier.doihttps://doi.org/10.1145/3658644.3690244en
dc.identifier.urihttps://hdl.handle.net/10919/124014en
dc.language.isoenen
dc.publisherACMen
dc.rightsCreative Commons Attribution-NonCommercial 4.0 Internationalen
dc.rights.holderThe author(s)en
dc.rights.urihttp://creativecommons.org/licenses/by-nc/4.0/en
dc.titleVerifiably Correct Lifting of Position-Independent x86-64 Binaries to Symbolized Assemblyen
dc.typeArticle - Refereeden
dc.type.dcmitypeTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
3658644.3690244.pdf
Size:
1.11 MB
Format:
Adobe Portable Document Format
Description:
Published version
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: