{"id":{"repo_id":"texas","oai_identifier":"oai:repositories.lib.utexas.edu:2152/129491"},"canonical_url":"https://search.ndltd.org/etd/texas/oai:repositories.lib.utexas.edu:2152/129491","repository":{"repo_id":"texas","name":"University of Texas","base_url":"https://repositories.lib.utexas.edu/server/oai/request"},"display":{"title":"Modern hardware challenges for constant-time programming","abstract":"Software execution relies on a transformation hierarchy consisting of abstraction layers: algorithm, compiler, ISA, microarchitecture, transistors, and electrons. From bottom to top, each layer abstracts away details, so the top layers must make assumptions about those below. These assumptions are valid for most applications, but security policies require them to be held whenever secret data is involved. The constant-time principle is a crucial security principle defending against timing side-channel attacks, a serious threat that compromises systems by exploiting the timing signals produced by target operations. The principle asserts that software is free from timing attacks if its execution time is independent of any secret. Over the years, researchers have developed constant-time programming, which has become the prevailing programming model for software that processes secret data. This dissertation demonstrates the incorrect hardware assumptions made by constant-time programming for both general-purpose processors and emerging accelerators. Firstly, constant-time programming assumes that microarchitecture does not execute secret-dependent memory access unless explicitly instructed by the software. By introducing GPU.zip and Gofetch, we reveal that modern microarchitecture features exotic data-dependent optimizations that violate this assumption, as the hardware is not aware of secret data types managed solely by the software. This violation highlights the challenge of communicating software security policies to increasingly complex state-of-the-art microarchitecture. Secondly, constant-time programming assumes that power leakages, despite being a powerful attack vector, cannot be captured via timing. By introducing Hertzbleed, we illustrate that modern transistor layer technology couples power and frequency, effectively transforming power side-channel attacks into remote timing attacks. This violation demonstrates that the prevailing constant-time programming is insufficient to guarantee constant-time execution. We provide a comprehensive analysis of these vulnerabilities and their implications for future secure system design.","abstract_html":"Software execution relies on a transformation hierarchy consisting of abstraction layers: algorithm, compiler, ISA, microarchitecture, transistors, and electrons. From bottom to top, each layer abstracts away details, so the top layers must make assumptions about those below. These assumptions are valid for most applications, but security policies require them to be held whenever secret data is involved. The constant-time principle is a crucial security principle defending against timing side-channel attacks, a serious threat that compromises systems by exploiting the timing signals produced by target operations. The principle asserts that software is free from timing attacks if its execution time is independent of any secret. Over the years, researchers have developed constant-time programming, which has become the prevailing programming model for software that processes secret data. This dissertation demonstrates the incorrect hardware assumptions made by constant-time programming for both general-purpose processors and emerging accelerators. Firstly, constant-time programming assumes that microarchitecture does not execute secret-dependent memory access unless explicitly instructed by the software. By introducing GPU.zip and Gofetch, we reveal that modern microarchitecture features exotic data-dependent optimizations that violate this assumption, as the hardware is not aware of secret data types managed solely by the software. This violation highlights the challenge of communicating software security policies to increasingly complex state-of-the-art microarchitecture. Secondly, constant-time programming assumes that power leakages, despite being a powerful attack vector, cannot be captured via timing. By introducing Hertzbleed, we illustrate that modern transistor layer technology couples power and frequency, effectively transforming power side-channel attacks into remote timing attacks. This violation demonstrates that the prevailing constant-time programming is insufficient to guarantee constant-time execution. We provide a comprehensive analysis of these vulnerabilities and their implications for future secure system design.","abstract_has_math":false,"creators":["Wang, Yingchen, Ph. D."],"institution":"The University of Texas at Austin","degree_name":"Doctor of Philosophy","degree_level":null,"degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Shacham, Hovav"],"committee_chairs":[],"committee_members":["Witchel, Emmett"],"year":2024,"date_issued":"2024-08","date_published":"2024-08","updated_at":"2026-11-20T22:04:21Z","subjects":["Computer security","Applied cryptography","Computer architecture"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/129491"],"render_values":[{"text":"https://hdl.handle.net/2152/129491","href":"https://hdl.handle.net/2152/129491","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.26153/tsw/55994","outbound_label":"DOI","outbound_source":"dc:identifier.uri","record_url":"https://doi.org/10.26153/tsw/55994","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.uri","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%3Atexas%3Aoai%3Arepositories.lib.utexas.edu%3A2152%2F129491","prefix":"oai_dc"},"source_record":{"url":"https://repositories.lib.utexas.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepositories.lib.utexas.edu%3A2152%2F129491","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Shacham, Hovav"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Witchel, Emmett"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Wang, Yingchen, Ph. D."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-11-16T00:25:32Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-11-16T00:25:32Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-08"]},{"key":"dc:date.issued","label":"Date","values":["2024-08"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2024"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2024-11-16T00:25:32Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["Natural Sciences"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Texas at Austin"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer security","Applied cryptography","Computer architecture"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/129491","https://doi.org/10.26153/tsw/55994"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Software execution relies on a transformation hierarchy consisting of abstraction layers: algorithm, compiler, ISA, microarchitecture, transistors, and electrons. From bottom to top, each layer abstracts away details, so the top layers must make assumptions about those below. These assumptions are valid for most applications, but security policies require them to be held whenever secret data is involved. The constant-time principle is a crucial security principle defending against timing side-channel attacks, a serious threat that compromises systems by exploiting the timing signals produced by target operations. The principle asserts that software is free from timing attacks if its execution time is independent of any secret. Over the years, researchers have developed constant-time programming, which has become the prevailing programming model for software that processes secret data. This dissertation demonstrates the incorrect hardware assumptions made by constant-time programming for both general-purpose processors and emerging accelerators. Firstly, constant-time programming assumes that microarchitecture does not execute secret-dependent memory access unless explicitly instructed by the software. By introducing GPU.zip and Gofetch, we reveal that modern microarchitecture features exotic data-dependent optimizations that violate this assumption, as the hardware is not aware of secret data types managed solely by the software. This violation highlights the challenge of communicating software security policies to increasingly complex state-of-the-art microarchitecture. Secondly, constant-time programming assumes that power leakages, despite being a powerful attack vector, cannot be captured via timing. By introducing Hertzbleed, we illustrate that modern transistor layer technology couples power and frequency, effectively transforming power side-channel attacks into remote timing attacks. This violation demonstrates that the prevailing constant-time programming is insufficient to guarantee constant-time execution. We provide a comprehensive analysis of these vulnerabilities and their implications for future secure system design."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Modern hardware challenges for constant-time programming"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Shacham, Hovav"],"dc:contributor.committeemember":["Witchel, Emmett"],"dc:contributor.department":["Computer Science"],"dc:creator":["Wang, Yingchen, Ph. D."],"dc:date.accessioned":["2024-11-16T00:25:32Z"],"dc:date.available":["2024-11-16T00:25:32Z"],"dc:date.created":["2024-08"],"dc:date.issued":["2024-08"],"dc:date.submitted":["August 2024"],"dc:date.updated":["2024-11-16T00:25:32Z"],"dc:description.abstract":["Software execution relies on a transformation hierarchy consisting of abstraction layers: algorithm, compiler, ISA, microarchitecture, transistors, and electrons. From bottom to top, each layer abstracts away details, so the top layers must make assumptions about those below. These assumptions are valid for most applications, but security policies require them to be held whenever secret data is involved. The constant-time principle is a crucial security principle defending against timing side-channel attacks, a serious threat that compromises systems by exploiting the timing signals produced by target operations. The principle asserts that software is free from timing attacks if its execution time is independent of any secret. Over the years, researchers have developed constant-time programming, which has become the prevailing programming model for software that processes secret data. This dissertation demonstrates the incorrect hardware assumptions made by constant-time programming for both general-purpose processors and emerging accelerators. Firstly, constant-time programming assumes that microarchitecture does not execute secret-dependent memory access unless explicitly instructed by the software. By introducing GPU.zip and Gofetch, we reveal that modern microarchitecture features exotic data-dependent optimizations that violate this assumption, as the hardware is not aware of secret data types managed solely by the software. This violation highlights the challenge of communicating software security policies to increasingly complex state-of-the-art microarchitecture. Secondly, constant-time programming assumes that power leakages, despite being a powerful attack vector, cannot be captured via timing. By introducing Hertzbleed, we illustrate that modern transistor layer technology couples power and frequency, effectively transforming power side-channel attacks into remote timing attacks. This violation demonstrates that the prevailing constant-time programming is insufficient to guarantee constant-time execution. We provide a comprehensive analysis of these vulnerabilities and their implications for future secure system design."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/2152/129491","https://doi.org/10.26153/tsw/55994"],"dc:subject":["Computer security","Applied cryptography","Computer architecture"],"dc:title":["Modern hardware challenges for constant-time programming"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_college":["Natural Sciences"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["The University of Texas at Austin"]},"updated_at":"2026-11-20T22:04:21Z"}