Iowa State University - Thesis & Dissertation
Performance and Leakage: Covert and Side Channels from TrustZone, cache coherence, prefetching, and hugepages
Abstract
dc:description.abstractModern processors incorporate a wide range of performance-oriented microarchitectural features—including TrustZone isolation, cache coherence protocols, speculative prefetchers, translation lookaside buffers (TLBs), and large-page memory mappings. While these mechanisms significantly enhance speed and efficiency, they also introduce unintended covert and side-channel communication paths across privilege domains, cores, and memory regions. This dissertation provides a unified, system-level investigation of how such channels arise, how they can be exploited, and how their leakage can be quantified using both timing-based and PMU-based techniques. The first part of the dissertation examines TrustZone and cache-coherence–driven covert channels, demonstrating how seemingly isolated secure-world and normal-world execution paths can influence shared coherence states. We reverse-engineer coherence transitions and TrustZone memory behaviors to construct robust communication channels that bypass intended hardware isolation. The second part analyzes multi-line prefetch covert channel, showing how instruction/data prefetchers, page-translation structures, and address-mapping properties can be manipulated by an attacker. By combining carefully designed memory-access patterns with unprivileged PMU counters and statistical classification, we show that attackers can infer fine-grained victim behavior even without shared memory or precise timers. The third part introduces a new dimension: the security impact of large pages (2 MB hugepages) in cryptographic workloads. Although large pages dramatically reduce TLB pressure and improve performance, it has been unclear whether they also widen the leakage surface. Through controlled experiments across eight cryptographic algorithms, we the first systematic evidence that hugepages alter translation behavior but do not inherently strengthenTLB-based covert channels. Overall, this dissertation presents a coherent analysis of covert channels spanning TrustZone, cache coherence, prefetching mechanisms, large-page memory layouts, and TLB behavior. The findings deepen our understanding of microarchitectural leakage and provide practical guidance for building systems that balance performance and isolation in modern heterogeneous processors.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- dissertation
- Discipline thesis:degree_discipline
- Engineering
- Department dc:contributor.department
- Department of Electrical and Computer Engineering
- Grantor
- Iowa State University - Thesis & Dissertation
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Xinyao
- Advisor dc:contributor.advisor
-
- Tyagi, Akhilesh
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/106605