Conference item icon

Conference item

Synthesis of code-reuse attacks from p-code programs

Abstract:
We present a new method for automatically synthesizing code-reuse attacks—for example, using Return Oriented Programming—based on mechanized formal logic. Our method reasons about machine code via abstraction to the p-code intermediate language of Ghidra, a well-established software reverse-engineering framework. This allows it to be applied to binaries of essentially any architecture, and provides certain technical advantages. We define a formal model of a fragment of p-code in propositional logic, enabling analysis by automated reasoning algorithms. We then synthesize code-reuse attacks by identifying selections of gadgets that can emulate a given p-code reference program. This enables our method to scale well, in both reference program and gadget library size, and facilitates integration with external tools. Our method matches or exceeds the success rate of state-of-the-art ROP chain synthesis methods while providing improved runtime performance.
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Files:
Publication website:
https://dl.acm.org/doi/10.5555/3766078.3766099

Authors


More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author
ORCID:
0009-0004-1977-9090


Publisher:
Association for Computing Machinery
Host title:
SEC '25: Proceedings of the 34th USENIX Conference on Security Symposium
Pages:
395 - 411
Publication date:
2025-09-08
Acceptance date:
2025-01-24
Event title:
34th USENIX Security Symposium (USENIX 2025)
Event location:
Seattle, Washington, USA
Event website:
https://www.usenix.org/conference/usenixsecurity25
Event start date:
2025-08-13
Event end date:
2025-08-15
ISBN:
9781939133526


Language:
English
Pubs id:
2080410
Local pid:
pubs:2080410
Deposit date:
2025-01-25

Terms of use



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP