Lune

ASPLOS2020Top-tier venue

Game of Threads: Enabling Asynchronous Poisoning Attacks

Jose Rodrigo Sanchez Vicarte, Benjamin Schreiber, Riccardo Paccagnella, Christopher W. Fletcher

Abstract

As data sizes continue to grow at an unprecedented rate, machine learning training is being forced to adopt asynchronous algorithms to maintain performance and scalability. In asynchronous training, many threads share and update model parameters in a racy fashion to avoid costly interthread synchronization.

This paper studies the security implications of these codes by introducing asynchronous poisoning attacks. Our attack influences training outcome-e.g., degrades model accuracy or biases the model towards an adversary-specified labelpurely by scheduling asynchronous training threads in a malicious fashion. Since thread scheduling is outside the protections of modern trusted execution environments (TEEs), e.g., Intel SGX, our attack bypasses these protections even when the training set can be verified as correct. To the best of our knowledge, this represents the first example where a class of applications loses integrity guarantees, despite being protected by enclave-based TEEs such as SGX.

We demonstrate both accuracy degradation and model biasing attacks on the CIFAR-10 image recognition task, trained on Resnet-style DNNs using an asynchronous training code published by Pytorch. We also perform proof-ofconcept experiments to validate our assumptions on an SGXenabled machine. Our accuracy degradation attacks are capable of returning a converged model to pre-trained accuracy or to some accuracy in between. Our model biasing attack can force the model to predict an adversary-specified label

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

  • SmashEx: Smashing SGX Enclaves Using Exceptions cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • SmashEx: Smashing SGX Enclaves Using Exceptions cites Panoply: Low-TCB Linux Applications With SGX Enclaves
  • SmashEx: Smashing SGX Enclaves Using Exceptions cites Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • FLARE: A Fast, Secure, and Memory-Efficient Distributed Analytics Framework (Flavor: Systems) cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • SoK: SGX.Fail: How Stuff Gets eXposed cites Oblivious Multi-Party Machine Learning on Trusted Processors
  • SoK: SGX.Fail: How Stuff Gets eXposed cites SmashEx: Smashing SGX Enclaves Using Exceptions
  • SoK: SGX.Fail: How Stuff Gets eXposed cites Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • Heracles: Chosen Plaintext Attack on AMD SEV-SNP cites SmashEx: Smashing SGX Enclaves Using Exceptions
  • Panoply: Low-TCB Linux Applications With SGX Enclaves cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • A Formal Foundation for Secure Remote Execution of Enclaves cites Oblivious Multi-Party Machine Learning on Trusted Processors
  • A Formal Foundation for Secure Remote Execution of Enclaves cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. SoK: SGX.Fail: How Stuff Gets eXposedStephan van Schaik, Alexander Seto, Thomas Yurek, Adam Batori et al.S&P 2024 · 52 citations
  2. SmashEx: Smashing SGX Enclaves Using ExceptionsJinhua Cui, Jason Zhijingcheng Yu, Shweta Shinde, Prateek Saxena et al.CCS 2021 · 32 citations
  3. FLARE: A Fast, Secure, and Memory-Efficient Distributed Analytics Framework (Flavor: Systems)Xiang Li, Fabing Li, Mingyu GaoVLDB 2023 · 14 citations
  4. Dropout AttacksAndrew Yuan, Alina Oprea, Cheng TanS&P 2024 · 3 citations
  5. Heracles: Chosen Plaintext Attack on AMD SEV-SNPBenedict Schlüter, Christoph Wech, Shweta ShindeCCS 2025 · 1 citation

Builds on6

  1. Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta et al.USENIX Security 2016 · 594 citations
  2. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
  3. Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang et al.CCS 2017 · 403 citations
  4. Panoply: Low-TCB Linux Applications With SGX EnclavesShweta Shinde, Dat Le Tien, Shruti Tople, Prateek SaxenaNDSS 2017 · 274 citations
  5. A Formal Foundation for Secure Remote Execution of EnclavesPramod Subramanyan, Rohit Sinha, Ilia A. Lebedev, Srinivas Devadas et al.CCS 2017 · 146 citations

Related papers

  1. DNN Latency Sequencing: Extracting DNN Architectures from Intel SGX Enclaves with Single-Stepping AttacksMinkyung Park, Zelun Kong, DaveTian, Z. Berkay Celik et al.NDSS 2026
  2. Manipulating SGD with Data Ordering AttacksIlia Shumailov, Zakhar Shumaylov, Dmitry Kazhdan, Yiren Zhao et al.NeurIPS 2021 · 125 citations
  3. Controlled Data Races in Enclaves: Attacks and DetectionSanchuan Chen, Zhiqiang Lin, Yinqian ZhangUSENIX Security 2023
  4. 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
  5. Witches' Brew: Industrial Scale Data Poisoning via Gradient MatchingJonas Geiping, Liam H. Fowl, W. Ronny Huang, Wojciech Czaja et al.ICLR 2021 · 268 citations
Dusk over the sea between two cliffs drawn in fine vertical lines