Hong Kong University of Science and Technology
Cache side-channel attacks and defenses in constrained environments
Abstract
dc:description<p>Cache side-channel attacks exploit the shared nature and performance attributes, the timing discrepancies between cache misses and hits, of cache systems to extract sensitive information. Developing these attacks across a broader spectrum of computing systems not only reveals potential vulnerabilities but also provides insights that contribute to the design of more secure processors. However, beyond the extensively studied x86 architectures, the effective cache side-channel attacks on alternative platforms, e.g., ARM processors or GPGPUs, remains underexplored, not to mention the newly introduced Trusted Execution Environments (TEE) scenarios where kernel-privileged attackers must be considered. Undertaking cache side-channel attacks within such constrained environments presents significant challenges. This dissertation enhances the understanding of cache side-channel attacks from three distinct perspectives.</p> <p>Firstly, we investigate the boundary of kernel-privileged attackers by introducing Load-Step, the first precise framework for ARM platforms that periodically interrupts a victim program operating within TrustZone to facilitate powerful cache side-channel attacks. Benchmarking results demonstrate that Load-Step can invoke interrupts with load-instruction-level accuracy. Specifically for the famous sliding window algorithms in RSA decryption, Load-Step can recover the full key by only a single trace in 7.5 seconds. Further, this study proceeds to examine the most recent defenses from the perspective of TEE attackers, identifying the existing vulnerabilities. The possible countermeasures are then presented together with the corresponding overhead.</p> <p>Secondly, this study facilitates the effective cache side-channel attacks between core clusters on ARM processors by unveiling a previously unexplored component, the snoop filter (SF), a directory structure in ARM big.LITTLE processors. Through meticulous reverse engineering, this research exposes the undocumented features and characteristics of the SF, illustrating its capability to initiate cross-core and cross-cluster cache evictions. We outlines a thorough methodology for exploiting the SF side-channel, which includes constructing eviction sets, establishing a covert channel, and conducting attacks on RSA and AES encryption algorithms. Notably, the SF side-channel not only provides competitive performance but also surmounts the principal challenges associated with cache side-channel attacks on ARM big.LITTLE processors.</p> <p>Thirdly, this dissertation establishes practical cache covert channels on General-Purpose Graphics Processing Units (GPGPUs). On one front, this study methodically evaluates and redefines traditional approaches, thereby uncovering an unexpected research gap in the feasibility of cache covert channels on contemporary GPGPUs. On another front, it introduces a pioneering framework for establishing cache covert channels that are not only viable across a broad spectrum of GPGPUs but also demonstrate enhanced performance due to strategic optimizations, achieving a bandwidth of 30.8 Mbps when implemented on an NVIDIA A100.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kou, Zili
- Contributors dc:contributor
-
- Zhang, Wei
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-143828