Gadget Weighted Tagging: A Flexible Framework to Protect Against Code Reuse Attacks

Abstract : The code reuse attack (CRA) has become one of the most common attack methods. In this paper, we propose gadget weighted tagging (GWT), a flexible framework to protect against CRAs. In GWT, we firstly find all possible gadgets, which can be used in CRAs. Then, we attach weighted tags to these gadgets based on the lengths and types of the gadgets, and the weighted values are configurable. At last, GWT monitors the weighted tag information at runtime to detect and prevent CRAs. Furthermore, combining with the rule-based CFI, GWT+CFI can precisely confirm the gadget start and greatly reduce the number of possible gadgets, compared to the baseline GWT. We implement a hardware/software co-design framework to support GWT and GWT+CFI. The results show that the performance overheads of GWT and GWT+CFI are 2.31% and 3.55% respectively, and GWT can defeat variants of CRAs, especially those generated by automated tools.
Document type :
Conference papers
Complete list of metadatas

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/hal-01649002
Contributor : Hal Ifip <>
Submitted on : Monday, November 27, 2017 - 10:31:33 AM
Last modification on : Friday, April 12, 2019 - 11:32:01 AM

File

 Restricted access
To satisfy the distribution rights of the publisher, the document is embargoed until : 2020-01-01

Please log in to resquest access to the document

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Liwei Chen, Mengyu Ma, Wenhao Zhang, Gang Shi, Dan Meng. Gadget Weighted Tagging: A Flexible Framework to Protect Against Code Reuse Attacks. 32th IFIP International Conference on ICT Systems Security and Privacy Protection (SEC), May 2017, Rome, Italy. pp.568-584, ⟨10.1007/978-3-319-58469-0_38⟩. ⟨hal-01649002⟩

Share

Metrics

Record views

72