Randomized Instruction Set Emulation to Disrupt Binary Code Injection Attacks

Oct 27, 2003·
Elena G. Barrantes
,
David H. Ackley
,
Stephanie Forrest
,
Trek S. Palmer
,
Darko Stefanovic
,
Dino Dai Zovi
· 0 min read
Abstract
Binary code injection into an executing program is a common form of attack. Most current defenses against this form of attack use a ‘guard all doors’ strategy, trying to block the avenues by which execution can be diverted. We describe a complementary method of protection, which disrupts foreign code execution regardless of how the code is injected. A unique and private machine instruction set for each executing program would make it difficult for an outsider to design binary attack code against that program and impossible to use the same binary attack code against multiple machines. As a proof of concept, we describe a randomized instruction set emulator (RISE), based on the open-source Valgrind x86-to-x86 binary translator. The prototype disrupts binary code injection attacks against a program without requiring its recompilation, linking, or access to source code. The paper describes the RISE implementation and its limitations, gives evidence demonstrating that RISE defeats common attacks, considers how the dense x86 instruction set affects the method, and discusses potential extensions of the idea.
Type
Publication
10th ACM Conference on Computer and Communications Security