Augmenting Branch Predictor to Secure Program Execution
Authors:
- 1 June 2007
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15300889,p. 10-19
Abstract
Although there are various ways to exploit software vulnerabilities for malicious attacks, the attacks always result in unexpected behavior in program execution, deviating from what the programmer/user intends to do. Program execution blindly follows the execution path specified by control flow transfer instructions with the targets generated at run-time without any validation. An enhancement is therefore proposed to secure program execution by introducing a validation mechanism over control flow transfer instructions at micro-architecture level. The proposed scheme, as a behavior-based protection, treats a triplet of the indirect branch's location, its target address, and the execution path preceding it as a behavior signature of program execution and validates it at run-time. The first two pieces of information can prevent an adversary from overwriting control data and introducing foreign code or impossible targets to redirect an indirect branch. The last one is necessary to defeat the attacks that use a legitimate target but follow an unintended execution path. Interestingly, the branch predictor is found to contain the signature information already and doing a portion of the validation when resolving the branch, thus greatly reducing the validation frequency. An enhancement of branch target buffer (BTB) entry together with a signature table implemented in the form of a Bloom filter in hardware is proposed to incorporate the validation into the processor's pipeline, providing a new defense in the processor architecture to secure program execution.Keywords
This publication has 15 references indexed in Scilit:
- Architectural Support for Run-Time Validation of Control Flow Transfer2006
- Anomalous path detection with hardware support2005
- Secure program execution via dynamic information flow tracking2004
- A sense of self for Unix processes2002
- Mimicry attacks on host-based intrusion detection systems2002
- Intrusion detection via static analysis2002
- A fast automaton-based method for detecting anomalous program behaviors2002
- Automatically characterizing large scale program behavior2002
- CACTI: an enhanced cache access and cycle time modelIEEE Journal of Solid-State Circuits, 1996
- Space/time trade-offs in hash coding with allowable errorsCommunications of the ACM, 1970