{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/108129"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/108129","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"From manual exploration to automated analysis of microarchitectural threats","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Dipta, Debopriya Roy"],"institution":"Iowa State University - Thesis & Dissertation","degree_name":"Doctor of Philosophy","degree_level":"dissertation","degree_discipline":"Computer engineering","degree_department":null,"school":null,"contributors":[],"advisors":["Gulmezoglu, Berk"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-08","date_published":"2026-08","updated_at":"2026-11-19T04:31:30Z","subjects":["Electrical and computer engineering"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/108129"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/108129","href":"https://dr.lib.iastate.edu/handle/20.500.12876/108129","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/td-20261111-45","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/td-20261111-45","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F108129","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F108129","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Gulmezoglu, Berk"]},{"key":"dc:creator","label":"Author","values":["Dipta, Debopriya Roy"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-31T22:40:08Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-08-31T22:40:08Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-08"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-08-31T22:40:10Z"]},{"key":"dc:type","label":"Dc Type","values":["Text","dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["dissertation"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Iowa State University - Thesis & Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Electrical and computer engineering"]},{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer engineering"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Artificial Intelligence","Hardware Security","Large Language Models (LLMs)","Microarchitectural Security","Multi-Agent Systems","Side-Channel Attacks"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/td-20261111-45"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/108129"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["August2026"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["PDF"]},{"key":"dc:title","label":"Title","values":["From manual exploration to automated analysis of microarchitectural threats"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Gulmezoglu, Berk"],"dc:creator":["Dipta, Debopriya Roy"],"dc:date.accessioned":["2026-08-31T22:40:08Z"],"dc:date.available":["2026-08-31T22:40:08Z"],"dc:date.issued":["2026-08"],"dc:date.updated":["2026-08-31T22:40:10Z"],"dc:description":["August2026"],"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."],"dc:format.mimetype":["PDF"],"dc:identifier.doi":["https://doi.org/10.31274/td-20261111-45"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/108129"],"dc:language.iso":["en_US"],"dc:subject":["Electrical and computer engineering"],"dc:subject.discipline":["Computer engineering"],"dc:subject.keyword":["Artificial Intelligence","Hardware Security","Large Language Models (LLMs)","Microarchitectural Security","Multi-Agent Systems","Side-Channel Attacks"],"dc:title":["From manual exploration to automated analysis of microarchitectural threats"],"dc:type":["Text","dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_discipline":["Computer engineering"],"thesis:degree_level":["dissertation"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["Iowa State University - Thesis & Dissertation"]},"updated_at":"2026-11-19T04:31:30Z"}