Back to search

Iowa State University - Thesis & Dissertation

From manual exploration to automated analysis of microarchitectural threats

Abstract

dc:description.abstract

Microarchitectural 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 × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Dipta, Debopriya Roy. From manual exploration to automated analysis of microarchitectural threats. dissertation thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20261111-45