Skip to Main content Skip to Navigation
Conference papers

SoK: In Search of Lost Time: A Review of JavaScript Timers in Browsers

Thomas Rokicki 1 Clémentine Maurice 2 Pierre Laperdrix 2 
1 SPICY - Security & PrIvaCY
2 SPIRALS - Self-adaptation for distributed services and large software systems
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : JavaScript-based timing attacks have been greatly explored over the last few years. They rely on subtle timing differences to infer information that should not be available inside of the JavaScript sandbox. In reaction to these attacks, the W3C and browser vendors have implemented several countermeasures, with an important focus on JavaScript timers. However, as these attacks multiplied in the last years, so did the countermeasures, in a cat-and-mouse game fashion. In this paper, we present the evolution and current situation of timing attacks in browsers, as well as statistical tools to characterize available timers. Our goal is to present a clear view of the attack surface and understand: what are the main prerequisites and classes of browser-based timing attacks and what are the main countermeasures. We focus on determining to what extent the changes on timing-based countermeasures impact browser security. In particular, we show that the shift in protecting against transient execution attacks has re-enabled other attacks such as microarchitectural side-channel attacks with a higher bandwidth than what was possible just two years ago.
Document type :
Conference papers
Complete list of metadata
Contributor : Clémentine Maurice Connect in order to contact the contributor
Submitted on : Friday, August 12, 2022 - 10:45:01 AM
Last modification on : Wednesday, September 7, 2022 - 8:14:05 AM


Files produced by the author(s)


  • HAL Id : hal-03215569, version 2


Thomas Rokicki, Clémentine Maurice, Pierre Laperdrix. SoK: In Search of Lost Time: A Review of JavaScript Timers in Browsers. 6th IEEE European Symposium on Security and Privacy (EuroS&P'21), Sep 2021, Vienna, Austria. ⟨hal-03215569v2⟩



Record views


Files downloads