SIDECAR: Leveraging Debugging Extensions in Commodity Processors to Secure Software

Konstantinos Kleftogiorgos, Patrick Zielinski, Shan Huang, Jun Xu, Georgios Portokalidis

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The increased parallelism in modern processors has sparked interest in offloading security policy enforcement to processes or hardware operating in parallel with the main application. This approach can reduce application latency, enhance security, and improve compatibility. However, existing software solutions often incur high overheads and are susceptible to memory corruption attacks, while hardware solutions tend to be inflexible and require substantial modifications to the processor. In this paper, we present SIDECAR, a novel approach that offloads security checks to run concurrently with applications by leveraging the debugging infrastructure available in commodity processors. Specifically, we utilize software-driven logging (SDL) extensions in Intel and Arm processors to create secure, append-only channels between applications and security monitors. We build and evaluate a prototype of SIDECAR for the x86-64 and Aarch64 architectures. To demonstrate its utility, we adapt well-known security defenses within SIDECAR, providing control-flow integrity (CFI), shadow call stacks (SCS), and memory error checking (ASAN). Our evaluation shows that these extensions perform better on the Intel architecture. In terms of defenses, SIDECAR reduces the latency of CFI in the tested real-world applications by an average of 30%, offers enhanced security with similar overhead for SCS, and is versatile enough to support complex defenses like ASAN. Furthermore, our security monitor for CFI+SCS is 30 times more efficient compared to previous work.

Original languageEnglish
Title of host publicationProceedings - 2024 Annual Computer Security Applications Conference, ACSAC 2024
Pages534-547
Number of pages14
ISBN (Electronic)9798331520885
DOIs
StatePublished - 2024
Event40th Annual Computer Security Applications Conference, ACSAC 2024 - Honolulu, United States
Duration: 9 Dec 202413 Dec 2024

Publication series

NameProceedings - Annual Computer Security Applications Conference, ACSAC
ISSN (Print)1063-9527

Conference

Conference40th Annual Computer Security Applications Conference, ACSAC 2024
Country/TerritoryUnited States
CityHonolulu
Period9/12/2413/12/24

Fingerprint

Dive into the research topics of 'SIDECAR: Leveraging Debugging Extensions in Commodity Processors to Secure Software'. Together they form a unique fingerprint.

Cite this