Back to search

The Ohio State University

Exploring Features in Commodity CPU for Side-Channel Attacks and Defenses

Abstract

dc:description

Many hardware features are integrated into the commodity central processing unit (CPU), providing a variety of functionalities. For instance, the secure virtual machine (SEV) in AMD processors and the software guard extension (SGX) in Intel processors, which are designed upon the trusted computing base (TCB) and have been widely used in cloud computing environments, can provide security protection functionality for users. The hardware performance counters (HPCs) and the power reporting interface are two features in Intel and AMD processors to monitor different features in the CPU, such as architecture and micro-architecture events, voltage, frequency, energy consumption, and so on. The Intel Processor Trace (PT) is designed to log the system or program execution traces with very low-performance overhead on run-time.These hardware features can provide information to the system manager for optimization purposes. These features can also provide information to be used as side-channel information for security purposes. For instance, the program execution trace information outputted by Intel PT can be used to infer the input of the program. The micro-architecture information provided by HPCs can monitor attacks, such as Prime + Probe, Flush + Reload, Spectre, and so on. The power reporting interface monitors the power-related features in the CPU, and these features could be used by adversaries to differentiate CPU-intensive operations.In this dissertation, we propose to use hardware features for security purposes. Examples of these security purposes include detecting side-channel vulnerabilities in program binaries, detecting side-channel attacks in systems, and stealing confidential data from a protected environment.First, we demonstrate a framework to automate the detection of side-channel vulnerabilities in enclave binaries using Intel PT, considering both order and time information. Particularly, it leverages the concolic execution and fuzzing techniques to generate input sets for an arbitrary enclave program, construct the extended dynamic control-flow graphs using Intel PT, and automatically analyze and identify both order and time-based side-channel vulnerabilities through graph analysis.Second, we present a framework to uncover speculative execution side-channel vulnerabilities. We depend on HPCs and Intel PT to perform lightweight monitoring on production applications, and then use machine learning techniques to identify the speculative execution side-channel vulnerabilities through offline forensics analysis. To evaluate the framework, we model all the known types of speculative execution side-channel vulnerabilities, and automatically generate thousands of attack variants. Experiment results have demonstrated superior detection accuracy and reasonable performance overhead.AMD’s SEV is a technology designed to securely isolate different virtual machines (VMs) with memory encryption. AMD introduced the SEV Secure Nested Paging (SEV-SNP) to add memory integrity protection and defend against several side-channel attacks, such as Spectre-v2. It focuses on protecting the confidentiality and integrity of the guest VM data. However, since the CPU energy consumption is related to the program under execution. We believe that the hardware power reporting interface's capability to externally reveal sensitive information in a SEV VM could be underestimated. Therefore, we systematically studied the hardware power reporting interface, and explored how it could allow an attacker to infer sensitive information from outside the guest SEV VM.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Wubing
Advisors dc:contributor.advisor
  • Lin, Zhiqiang
  • Zhang, Yinqian

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Wang, Wubing. Exploring Features in Commodity CPU for Side-Channel Attacks and Defenses. doctoral thesis, The Ohio State University, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=osu1629711819016598