Multibyte Microarchitectural Data Sampling and its Application to Session Key Extraction Attacks

Citations

WEB OF SCIENCE

1
Citations

SCOPUS

3

초록

Microarchitectural data sampling (MDS) attacks leak secret data from the internal buffers of a processor to the attacker during transient execution. Because of the narrow window of transient execution, previous MDS attacks relied on repetitive sampling to obtain arbitrarily sized data from the buffer. However, as an MDS attacker cannot control the address for data leakage, such an approach significantly degrades the signal-to-noise ratio in the sampled data. In this paper, we propose a novel multibyte microarchitectural data sampling technique for performing MDS attacks. The proposed technique allows several continuous bytes to be captured in one execution without repetition of sampling. The implementation of the technique is quite challenging, because a transient execution window is not sufficiently large to allow multibyte sampling to be completed. We address this problem by leveraging a return stack buffer-based speculation technique, which originally was used for variants of Spectre-type attacks. We repurpose it to enlarge the transient execution window in our attack. Our implementations can capture data of up to 16 bytes in length in one execution from a line-fill buffer. To validate the effectiveness of the multibyte sampling technique, we demonstrate session key extraction attacks against secure network protocols. In particular, our objective is to extract AES-128 and AES-256 keys from TLS and SSH applications. To recover session keys in a postprocessing phase efficiently, we also propose a novel clustering-based search method that assembles the bytes of interest from the noisy sampled data. The experimental results show that our technique can successfully extract AES-128/256 session keys from victim applications with a probability of at least 98% and a reasonable search complexity.

키워드

Transient analysisMicroarchitectureTimingProtocolsOut of orderOptimizationEncodingMicroarchitectural data samplingtransient execution attacksession key extraction attackSIDE-CHANNEL ATTACKSTIME DETECTIONCACHE
제목
Multibyte Microarchitectural Data Sampling and its Application to Session Key Extraction Attacks
저자
Shin, Youngjoo
DOI
10.1109/ACCESS.2021.3085395
발행일
2021
유형
Article
저널명
IEEE Access
9
페이지
80806 ~ 80820