Cargando…
Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor
Recent works on Control-Flow Integrity (CFI) have mainly focused on Context-Sensitive CFI policies to provide higher security guarantees. They utilize a debugging hardware feature in modern Intel CPUs, Processor Trace (PT), to efficiently collect runtime contextual information. These PT-based CFI me...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7338176/ http://dx.doi.org/10.1007/978-3-030-52683-2_13 |
_version_ | 1783554627118039040 |
---|---|
author | Canakci, Sadullah Delshadtehrani, Leila Zhou, Boyou Joshi, Ajay Egele, Manuel |
author_facet | Canakci, Sadullah Delshadtehrani, Leila Zhou, Boyou Joshi, Ajay Egele, Manuel |
author_sort | Canakci, Sadullah |
collection | PubMed |
description | Recent works on Control-Flow Integrity (CFI) have mainly focused on Context-Sensitive CFI policies to provide higher security guarantees. They utilize a debugging hardware feature in modern Intel CPUs, Processor Trace (PT), to efficiently collect runtime contextual information. These PT-based CFI mechanisms offload the processing of the collected PT trace and CFI enforcement onto idle cores. However, a processor does not always have idle cores due to the commonly-used multi-threaded applications such as web browsers. In fact, dedicating one or more cores for CFI enforcement reduces the number of available cores for running user programs. Our evaluation with a state-of-the-art CFI mechanism ([Formula: see text]CFI) shows that the performance overhead of a CFI mechanism can substantially increase (up to 652% on a single-core processor) when there is no idle core for CFI enforcement. To improve the performance of [Formula: see text]CFI, we propose to leverage a hardware monitor that unlike PT does not incur trace processing overhead. We show that the hardware monitor can be used to efficiently collect program traces (<1% overhead) in their original forms and apply [Formula: see text]CFI. We prototype the hardware-monitor based [Formula: see text]CFI on a single-core RISC-V processor. Our analysis show that hardware-monitor based [Formula: see text]CFI incurs, on average, 43% (up to 277%) performance overhead. |
format | Online Article Text |
id | pubmed-7338176 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-73381762020-07-07 Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor Canakci, Sadullah Delshadtehrani, Leila Zhou, Boyou Joshi, Ajay Egele, Manuel Detection of Intrusions and Malware, and Vulnerability Assessment Article Recent works on Control-Flow Integrity (CFI) have mainly focused on Context-Sensitive CFI policies to provide higher security guarantees. They utilize a debugging hardware feature in modern Intel CPUs, Processor Trace (PT), to efficiently collect runtime contextual information. These PT-based CFI mechanisms offload the processing of the collected PT trace and CFI enforcement onto idle cores. However, a processor does not always have idle cores due to the commonly-used multi-threaded applications such as web browsers. In fact, dedicating one or more cores for CFI enforcement reduces the number of available cores for running user programs. Our evaluation with a state-of-the-art CFI mechanism ([Formula: see text]CFI) shows that the performance overhead of a CFI mechanism can substantially increase (up to 652% on a single-core processor) when there is no idle core for CFI enforcement. To improve the performance of [Formula: see text]CFI, we propose to leverage a hardware monitor that unlike PT does not incur trace processing overhead. We show that the hardware monitor can be used to efficiently collect program traces (<1% overhead) in their original forms and apply [Formula: see text]CFI. We prototype the hardware-monitor based [Formula: see text]CFI on a single-core RISC-V processor. Our analysis show that hardware-monitor based [Formula: see text]CFI incurs, on average, 43% (up to 277%) performance overhead. 2020-06-11 /pmc/articles/PMC7338176/ http://dx.doi.org/10.1007/978-3-030-52683-2_13 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Canakci, Sadullah Delshadtehrani, Leila Zhou, Boyou Joshi, Ajay Egele, Manuel Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title | Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title_full | Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title_fullStr | Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title_full_unstemmed | Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title_short | Efficient Context-Sensitive CFI Enforcement Through a Hardware Monitor |
title_sort | efficient context-sensitive cfi enforcement through a hardware monitor |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7338176/ http://dx.doi.org/10.1007/978-3-030-52683-2_13 |
work_keys_str_mv | AT canakcisadullah efficientcontextsensitivecfienforcementthroughahardwaremonitor AT delshadtehranileila efficientcontextsensitivecfienforcementthroughahardwaremonitor AT zhouboyou efficientcontextsensitivecfienforcementthroughahardwaremonitor AT joshiajay efficientcontextsensitivecfienforcementthroughahardwaremonitor AT egelemanuel efficientcontextsensitivecfienforcementthroughahardwaremonitor |