Lune

OSDI2020Top-tier venue

SafetyPin: Encrypted Backups with Human-Memorable Secrets

Emma Dauterman, Henry Corrigan-Gibbs, David Mazières

Abstract

We present the design and implementation of Safety-Pin, a system for encrypted mobile-device backups. Like existing cloud-based mobile-backup systems, including those of Apple and Google, SafetyPin requires users to remember only a short PIN and defends against brute-force PIN-guessing attacks using hardware security protections. Unlike today's systems, SafetyPin splits trust over a cluster of hardware security modules (HSMs) in order to provide security guarantees that scale with the number of HSMs. In this way, SafetyPin protects backed-up user data even against an attacker that can adaptively compromise many of the system's constituent HSMs. SafetyPin provides this protection without sacrificing scalability or fault tolerance. Decentralizing trust while respecting the resource limits of today's HSMs requires a synthesis of systems-design principles and cryptographic tools. We evaluate SafetyPin on a cluster of 100 low-cost HSMs and show that a SafetyPin-protected recovery takes 1.01 seconds. To process 1B recoveries a year, we estimate that a SafetyPin deployment would need 3,100 low-cost HSMs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites End-to-Same-End Encryption: Modularly Augmenting an App with an Efficient, Portable, and Blind Cloud Storage
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites How to Recover a Cryptographic Secret From the Cloud
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing cites A2: Analog Malicious Hardware
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX cites Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX cites Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Encrypted Access Logging for Online Accounts: Device Attributions without Device Tracking cites Accountable authentication with privacy protection: The Larch system for universal login
  • Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution cites Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Secret Key Recovery in a Global-Scale End-to-End Encryption SystemGraeme Connell, Vivian Fang, Rolfe Schmidt, Emma Dauterman et al.OSDI 2024 · 19 citations
  2. Accountable authentication with privacy protection: The Larch system for universal loginEmma Dauterman, Danny Lin, Henry Corrigan-Gibbs, David MazièresOSDI 2023 · 2 citations
  3. End-to-Same-End Encryption: Modularly Augmenting an App with an Efficient, Portable, and Blind Cloud StorageLong Chen, Ya-Nan Li, Qiang Tang, Moti YungUSENIX Security 2022
  4. How to Recover a Cryptographic Secret From the CloudDavid Adei, Chris Orsini, Alessandra Scafuro, Tanner VerberCCS 2025
  5. Encrypted Access Logging for Online Accounts: Device Attributions without Device TrackingCarolina Ortega Pérez, Alaa DaffallaUSENIX Security 2025

Builds on16

  1. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin et al.USENIX Security 2018 · 1,175 citations
  2. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim et al.USENIX Security 2017 · 536 citations
  3. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck et al.S&P 2020 · 369 citations
  4. Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved ExecutionJo Van Bulck, Nico Weichbrodt, Rüdiger Kapitza, Frank Piessens et al.USENIX Security 2017 · 316 citations
  5. A2: Analog Malicious HardwareKaiyuan Yang, Matthew Hicks, Qing Dong, Todd M. Austin et al.S&P 2016 · 242 citations

Related papers

  1. Reducing HSM Reliance in Payments through Proxy Re-EncryptionSivanarayana Gaddam, Atul Luykx, Rohit Sinha, Gaven J. WatsonUSENIX Security 2021 · 2 citations
  2. A Formally Verified Configuration for Hardware Security Modules in the CloudRiccardo Focardi, Flaminia L. LuccioCCS 2021 · 6 citations
  3. Security and Privacy Failures in Popular 2FA AppsConor Gilsenan, Fuzail Shakir, Noura Alomar, Serge EgelmanUSENIX Security 2023
  4. Trust Dies in Darkness: Shedding Light on Samsung's TrustZone Keymaster DesignAlon Shakevsky, Eyal Ronen, Avishai WoolUSENIX Security 2022
  5. Avocado: A Secure In-Memory Distributed Storage SystemMaurice Bailleu, Dimitra Giantsidi, Vasilis Gavrielatos, Do Le Quoc et al.USENIX ATC 2021 · 39 citations
Dusk over the sea between two cliffs drawn in fine vertical lines