DocumentCode
2867671
Title
Modular Protections against Non-control Data Attacks
Author
Schlesinger, Cole ; Pattabiraman, Karthik ; Swamy, Nikhil ; Walker, David ; Zorn, Benjamin
fYear
2011
fDate
27-29 June 2011
Firstpage
131
Lastpage
145
Abstract
This paper introduces YARRA, a conservative extension to C to protect applications from non-control data attacks. YARRA programmers specify their data integrity requirements by declaring critical data types and ascribing these critical types to important data structures. YARRA guarantees that such critical data is only written through pointers with the given static type. Any attempt to write to critical data through a pointer with an invalid type (perhaps because of a buffer overrun) is detected dynamically. We formalize YARRA´s semantics and prove the soundness of a program logic designed for use with the language. A key contribution is to show that YARRA´s semantics are strong enough to support sound local reasoning and the use of a frame rule, even across calls to unknown, unverified code. We evaluate a prototype implementation of a compiler and runtime system for YARRA by using it to harden four common server applications against known non-control data vulnerabilities. We show that YARRA defends against these attacks with only a negligible impact on their end-to-end performance.
Keywords
C language; data encapsulation; data integrity; formal logic; formal specification; program compilers; programming language semantics; security of data; Yarra programmers; compiler; critical data types; data integrity requirements; data structures; formal specification; language based security; local reasoning; modular protections; non control data attacks; pointers; program logic; runtime system; semantics; Arrays; Cognition; Instruments; Libraries; Security; Semantics; Hoare logic; control-flow integrity; data integrity; data isolation; frame rule; language-based security; non-control data attack;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Security Foundations Symposium (CSF), 2011 IEEE 24th
Conference_Location
Cernay-la-Ville
ISSN
1940-1434
Print_ISBN
978-1-61284-644-6
Type
conf
DOI
10.1109/CSF.2011.16
Filename
5992159
Link To Document