Next revision | Previous revision |
public:papers:usablect_sp22 [2021-12-03 15:21] – created xjancar | public:papers:usablect_sp22 [2022-05-24 00:43] (current) – [Research artifacts (supplementary material)] xjancar |
---|
| |
<collapse id="bibtex" collapsed="true"> | <collapse id="bibtex" collapsed="true"> |
@InProceedings{2022-sp-jancar, | @InProceedings{2022-sp-jancar, |
author = {Jan Jancar and Marcel Fourné and Daniel De Almeida Braga and Mohamed Sabt and Peter Schwabe and Gilles Barthe and Pierre-Alain Fouque and Yasemin Acar}, | author = {Jan Jancar and Marcel Fourné and Daniel De Almeida Braga and Mohamed Sabt and Peter Schwabe and Gilles Barthe and Pierre-Alain Fouque and Yasemin Acar}, |
address = {San Francisco}, | address = {San Francisco}, |
booktitle = {43rd IEEE Symposium on Security and Privacy}, | booktitle = {43rd IEEE Symposium on Security and Privacy}, |
keywords = {constant-time, cryptoimplementations, usablesec, libraries, side-channel}, | keywords = {constant-time, cryptoimplementations, usablesec, libraries, side-channel}, |
language = {eng}, | language = {eng}, |
location = {San Francisco}, | location = {San Francisco}, |
publisher = {IEEE}, | publisher = {IEEE}, |
title = {“They’re not that hard to mitigate”: What Cryptographic Library Developers Think About Timing Attacks}, | title = {“They’re not that hard to mitigate”: What Cryptographic Library Developers Think About Timing Attacks}, |
year = {2022} | year = {2022} |
} | } |
</collapse> | </collapse> |
| |
<panel type="default" title="Abstract"> | <panel type="default" title="Abstract"> |
| Timing attacks are among the most devastating side-channel attacks, allowing remote attackers to retrieve secret material, including cryptographic keys, with relative ease. In principle, “these attacks are not that hard to mitigate”: the basic intuition, captured by the constant-time criterion, is that control-flow and memory accesses should be independent from secrets.Furthermore, there is a broad range of tools for automatically checking adherence to this intuition. Yet, these attacks still plague popular cryptographic libraries twenty-five years after their discovery, reflecting a dangerous gap between academic research and cryptographic engineering. This gap can potentially undermine the emerging shift towards high-assurance, formally verified cryptographic libraries. However, the causes for this gap remain uninvestigated. |
| |
| To understand the causes of this gap, we conducted a survey with 44 developers of 27 prominent open-source cryptographic libraries. The goal of the survey was to analyze if and how the developers ensure that their code executes in constant time.Our main findings are that developers are aware of timing attacks and of their potentially dramatic consequences and yet often prioritize other issues over the perceived huge investment of time and resources currently needed to make their code resistant to timing attacks. Based on the survey, we identify several shortcomings in existing analysis tools for constant-time,and issue recommendations that can make writing constant-time libraries less difficult. Our recommendations can inform future development of analysis tools, security-aware compilers,and cryptographic libraries, not only for constant-timeness, but in the broader context of side-channel attacks, in particular for micro-architectural side-channel attacks, which are a still young and too recent as focus for this survey. |
</panel> | </panel> |
| |
===== Research artifacts (supplementary material) ===== | ===== Research artifacts (supplementary material) ===== |
| |
| {{ :public:papers:2021_usablect_codebook.pdf |Codebook}} |
| |
| [[https://crocs-muni.github.io/ct-tools/|Page on constant-time verification tools]] |