Iowa State University - Thesis & Dissertation
From manual exploration to automated analysis of microarchitectural threats
Abstract
dc:description.abstractMicroarchitectural attacks exploit hardware behaviors that arise as side effects of performance optimizations in modern processors. In shared computing environments, these behaviors remain observable by adversaries through Operating System (OS) and software-accessible features even when hardware-enforced isolation is active. These observations, known as side-channels, create a persistent security risk that software boundaries alone cannot fully address. Side-channels raise two security concerns. First, an adversary may be able to infer properties of co-located workloads through software and OS exposed features. Second, dynamic detection mechanisms relying on OS and hardware features designed to counter side-channel attacks are not robust against adversaries who can deliberately manipulate the defender-collected features. This thesis investigates these threats through a progression from manual analysis of attack and defense mechanisms toward the automation of microarchitectural threat evaluation. We first show that CPU frequency variations captured through the Linux cpufreq interface enable adversaries to fingerprint co-located workloads in the same device. The proposed attack identifies visited websites and keystroke sequences on personal devices tested across Intel, AMD, and ARM processors. It further generalizes to secure containerized workloads operating under gVisor, Firecracker, Intel SGX, and AMD SEV environments, demonstrating that information leakage persists across a range of state-of-the-art isolation technologies. The existence of such attacks motivates real-time dynamic detection mechanisms. We propose a fuzzing-based manipulation mechanism to evaluate the adversarial robustness of existing detection tools relying on hardware performance counters (HPCs). The fuzzing framework is designed to evade detection tools that utilize the most common HPCs by inserting cache, branch, and timing-related code blocks, which alters the performance counter values in real time. Without prior knowledge of which specific counters a tool relies on, the framework demonstrates that four representative detection tools can be systematically evaded while the entire secret is still leaked with 100% accuracy. To address the fundamental limitations of HPC-based detection, we present MAD-EN, a framework that leverages system-wide energy consumption traces from the Intel RAPL interface. MADEN employs a two-stage pipeline for anomaly detection and attack classification, covering 16 variants from 11 microarchitectural attack classes with substantially lower overhead than counter-based approaches. Across all of this work, constructing microarchitecture attack proof-of-concept (PoC) codes expects deep understanding of target platforms, programming language, and OS internals with cause-and-effect relationships. Small errors in instruction ordering and timing loops silently nullify an attack, and adapting an implementation to a different victim function or target platform compounds the difficulty. Since the number of experts in microarchitecture field is limited, the pace and coverage of threat evaluation proceeds slowly. We present µGEN, a multi-agent large language model (LLM) framework that addresses this bottleneck through staged knowledge gap profiling, retrieval-augmented document generation, and iterative execution-driven refinement. µGEN enables the generation of attack implementations that target different victim functions and remain portable across deployment environments, supporting more systematic and scalable evaluation of existing threats.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- dissertation
- Discipline thesis:degree_discipline
- Computer engineering
- Grantor
- Iowa State University - Thesis & Dissertation
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dipta, Debopriya Roy
- Advisor dc:contributor.advisor
-
- Gulmezoglu, Berk
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/108129