Decentralized Privacy-Preserving Proximity Tracing

From HandWiki
Short description: Proximity contact tracing protocol
Decentralized Privacy-Preserving Proximity Tracing
DP-3T Logo.jpg
Developed by
IntroducedApril 4, 2020 (2020-04-04)[2]
IndustryDigital contact tracing
Compatible hardwareAndroid & iOS smartphones
Physical range~10 m (33 ft)[3]

Decentralized Privacy-Preserving Proximity Tracing (DP-3T, stylized as dp3t) is an open protocol developed in response to the COVID-19 pandemic to facilitate digital contact tracing of infected participants.[4][5] The protocol, like competing protocol Pan-European Privacy-Preserving Proximity Tracing (PEPP-PT), uses Bluetooth Low Energy to track and log encounters with other users.[6][7] The protocols differ in their reporting mechanism, with PEPP-PT requiring clients to upload contact logs to a central reporting server, whereas with DP-3T, the central reporting server never has access to contact logs nor is it responsible for processing and informing clients of contact.[1] Because contact logs are never transmitted to third parties, it has major privacy benefits over the PEPP-PT approach;[8][9] however, this comes at the cost of requiring more computing power on the client side to process infection reports.[10]

The Apple/Google Exposure Notification project is based on similar principles as the DP-3T protocol, and supports a variant of it since May 2020.[11][12][13] Huawei added a similar implementation of DP-3T to its Huawei Mobile Services APIs known as "Contact Shield" in June 2020.[14]

The DP-3T SDK and calibration apps intend to support the Apple/Google API as soon as it is released to iOS and Android devices.[15][16]

On the 21 April 2020, the Switzerland Federal Office of Public Health announced that the Swiss national coronavirus contact tracing app will be based on DP-3T.[17] On the 22 April 2020, the Austrian Red Cross, leading on the national digital contact tracing app, announced its migration to the approach of DP-3T.[18] Estonia also confirmed that their app would be based on DP-3T.[19] On April 28, 2020, it was announced that Finland was piloting a version of DP-3T called "Ketju".[20] In Germany , a national app is being built upon DP-3T by SAP SE and Deutsche Telekom alongside CISPA, one of the organisations that authored the protocol.[21] As of September 30, 2020, contact tracing apps using DP-3T are available in Austria, Belgium, Croatia, Germany, Ireland, Italy, the Netherlands, Portugal and Switzerland .[22]

Overview

The DP-3T protocol works off the basis of Ephemeral IDs (EphID), semi-random rotating strings that uniquely identify clients.[23] When two clients encounter each other, they exchange EphIDs and store them locally in a contact log.[24] Then, once a user tests positive for infection, a report is sent to a central server. Each client on the network then collects the reports from the server and independently checks their local contact logs for an EphID contained in the report. If a matching EphID is found, then the user has come in close contact with an infected patient, and is warned by the client. Since each device locally verifies contact logs, and thus contact logs are never transmitted to third parties, the central reporting server cannot by itself ascertain the identity or contact log of any client in the network. This is in contrast to competing protocols like PEPP-PT, where the central reporting server receives and processes client contact logs.[25]

Ephemeral ID

A diagram demonstrating how the different components of the Ephemeral ID algorithm feed into each other

Similar to the TCN Protocol and its Temporary Contact Numbers, the DP-3T protocol makes use of 16 byte Ephemeral IDs (EphID) to uniquely identify devices in the proximity of a client. These EphIDs are logged locally on a receiving client's device and are never transmitted to third parties.[1]

To generate an EphID, first a client generates a secret key that rotates daily ([math]\displaystyle{ SK_t }[/math]) by computing [math]\displaystyle{ SK_t = H(SK_{t-1}) }[/math], where [math]\displaystyle{ H() }[/math] is a cryptographic hash function such as SHA-256. [math]\displaystyle{ SK_0 }[/math] is calculated by a standard secret key algorithm such as Ed25519. The client will use [math]\displaystyle{ SK_t }[/math] during day [math]\displaystyle{ t }[/math] to generate a list of EphIDs. At the beginning of the day, a client generates a local list of size [math]\displaystyle{ n=(24*60)/l }[/math] new EphIDs to broadcast throughout the day, where [math]\displaystyle{ l }[/math] is the lifetime of an EphID in minutes. To prevent malicious third parties from establishing patterns of movement by tracing static identifiers over a large area, EphIDs are rotated frequently. Given the secret day key [math]\displaystyle{ SK_t }[/math], each device computes [math]\displaystyle{ S\_EphID(BK) = PRG(PRF(SK_t, BK)) }[/math], where [math]\displaystyle{ BK }[/math] is a global fixed string, [math]\displaystyle{ PRF() }[/math] is a pseudo-random function like HMAC-SHA256, and [math]\displaystyle{ PRG() }[/math] is a stream cipher producing [math]\displaystyle{ n * 16 }[/math] bytes. This stream is then split into 16-byte chunks and randomly sorted to obtain the EphIDs of the day.[1]

Technical specification

Device handshake

In order to find and communicate with clients in proximity of a device, the protocol makes use of both the server and client modes of Bluetooth LE, switching between the two frequently.[26] In server mode the device advertises its EphID to be read by clients, with clients scanning for servers.[27] When a client and server meet, the client reads the EphID and subsequently writes its own EphID to the server. The two devices then store the encounter in their respective contact logs in addition to a coarse timestamp and signal strength. The signal strength is later used as part of the infection reporting process to estimate the distance between an infected patient and the user.[1]

Infection reporting

When reporting infection, there exists a central reporting server controlled by the local health authority. Before a user can submit a report, the health authority must first confirm infection and generate a code authorizing the client to upload the report. The health authority additionally instructs the patient on which day their report should begin (denoted as [math]\displaystyle{ t }[/math]). The client then uploads the pair [math]\displaystyle{ SK_t }[/math] and [math]\displaystyle{ t }[/math] to the central reporting server, which other clients in the network download at a later date. By using the same algorithm used to generate the original EphIDs, clients can reproduce every EphID used for the period past and including [math]\displaystyle{ t }[/math], which they then check against their local contact log to determine whether the user has been in close proximity to an infected patient.[1]

In the entire protocol, the health authority never has access to contact logs, and only serve to test patients and authorize report submissions.[1]:p. 11

Epidemiological analysis

When a user installs a DP-3T app, they are asked if they want to opt in to sharing data with epidemiologists. If the user consents, when they are confirmed to have been within close contact of an infected patient the respective contact log entry containing the encounter is scheduled to be sent to a central statistics server. In order to prevent malicious third parties from discovering potential infections by detecting these uploads, reports are sent at regular intervals, with indistinguishable dummy reports sent when there is no data to transmit.[1]

Health authority cooperation

To facilitate compatibility between DP-3T apps administered by separate health authorities, apps maintain a local list of the regions a user has visited. Regions are large areas directly corresponding to health authority jurisdiction; the exact location is not recorded. The app will later connect these regions to their respective foreign central reporting server, and fetch reports from these servers in addition to its normal home reporting server. Apps will also submit reports to these foreign reporting servers if the user tests positive for infection.[1]

Attacks on DP-3T and criticism

Cryptography and security scholar Serge Vaudenay, analyzing the security of DP-3T[28] argued that:

some privacy protection measurements by DP3T may have the opposite affect [sic] of what they were intended to. Specifically, sick and reported people may be deanonymized, private encounters may be revealed, and people may be coerced to reveal the private data they collect.
—Serge Vaudenay, [28]:p. 1

Vaudenay's work presents several attacks against DP-3T and similar systems. In response, the DP-3T group claim that out of twelve risks Vaudenay presents, eight are also present in centralized systems, three do not work, and one, which involves physical access to the phone, works but can be mitigated.[29] In a subsequent work[30] Vaudenay reviews attacks against both centralized and decentralized tracing systems and referring to identification attacks of diagnosed people concludes that:

By comparing centralized and decentralized architectures, we observe that attacks against decentralized systems are undetectable, can be done at a wide scale, and that the proposed countermeasures are, at best, able to mitigate attacks in a limited number of scenarios. Contrarily, centralized systems offer many countermeasures, by accounting and auditing.
—Serge Vaudenay, [30]:p. 6

In the same work[30] Vaudenay advocates that, since neither the centralized nor the decentralized approaches offer sufficient level of privacy protection, different solutions should be explored, in particular suggesting the ConTra Corona,[31] Epione[32] and Pronto-C2[33] systems as a "third way".

Tang[34] surveys the major digital contact tracing systems and shows that DP-3T is subject to what he calls "targeted identification attacks".

Theoretical attacks on DP-3T have been simulated[35] showing that persistent tracking of users of the first version of the DP-3T system who have voluntarily uploaded their identifiers can be made easy to any 3rd party who can install a large fleet of Bluetooth Low Energy devices. This attack leverages the linkability of a user during a day, and therefore is possible on within a day on all users of some centralized systems such as the system proposed in the United Kingdom,[36] but does not function on 'unlinkable' versions of DP-3T where infected users' identifiers are not transmitted using a compact representation such as a key or seed.[37]

See also

  • BlueTrace
  • TCN Protocol
  • Pan-European Privacy-Preserving Proximity Tracing
  • Google / Apple contact tracing project

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 "DP-3T whitepaper". https://github.com/DP-3T/documents/blob/master/DP3T%20White%20Paper.pdf. 
  2. "Initial commit". 2020-04-04. https://github.com/DP-3T/documents/commit/3b6024918f8980d2be10eeeaf7a43d6d52b64a38. 
  3. Sponås, Jon Gunnar. "Things You Should Know About Bluetooth Range" (in en-gb). https://blog.nordicsemi.com/getconnected/things-you-should-know-about-bluetooth-range. 
  4. "Rift Opens Over European Coronavirus Contact Tracing Apps" (in en-US). The New York Times. Reuters. 2020-04-20. ISSN 0362-4331. https://www.nytimes.com/reuters/2020/04/20/technology/20reuters-health-coronavirus-europe-tech.html. 
  5. Troncoso, Carmela; Bogdanov, Dan; Bugnion, Edouard; Chatel, Sylvain; Cremers, Cas; Gürses, Seda; Hubaux, Jean-Pierre; Jackson, Dennis et al. (2022-08-19). "Deploying decentralized, privacy-preserving proximity tracing". Communications of the ACM 65 (9): 48–57. doi:10.1145/3524107. ISSN 0001-0782. 
  6. Jason Bay, Joel Kek, Alvin Tan, Chai Sheng Hau, Lai Yongquan, Janice Tan, Tang Anh Quy. "BlueTrace: A privacy-preserving protocol for community-driven contact tracing across borders". https://bluetrace.io/static/bluetrace_whitepaper-938063656596c104632def383eb33b3c.pdf. 
  7. "Is Apple and Google's Covid-19 Contact Tracing a Privacy Risk?" (in en). Wired. ISSN 1059-1028. https://www.wired.com/story/apple-google-contact-tracing-strengths-weaknesses/. Retrieved 2020-04-18. 
  8. "Controversy around privacy splits Europe's push to build COVID-19 contact-tracing apps" (in en). https://fortune.com/2020/04/20/coronavirus-contact-tracing-privacy-europe-pepp-pt-dp3t-covid-19-tracking/. 
  9. "Rift opens over European coronavirus contact tracing apps" (in en). Reuters. 2020-04-20. https://uk.reuters.com/article/uk-health-coronavirus-europe-tech-idUKKBN2221U6. 
  10. "DP-3T 3 page brief". https://github.com/DP-3T/documents/blob/master/DP3T%20-%20Simplified%20Three%20Page%20Brief.pdf. 
  11. "Apple and Google update joint coronavirus tracing tech to improve user privacy and developer flexibility". 24 April 2020. https://social.techcrunch.com/2020/04/24/apple-and-google-update-joint-coronavirus-tracing-tech-to-improve-user-privacy-and-developer-flexibility/. 
  12. Farr, Christina (2020-04-28). "How a handful of Apple and Google employees came together to help health officials trace coronavirus". https://www.cnbc.com/2020/04/28/apple-iphone-contact-tracing-how-it-came-together.html. 
  13. "Coronalert: A Distributed Privacy-Friendly Contact Tracing App for Belgium". 5 August 2020. https://www.esat.kuleuven.be/cosic/sites/corona-app/wp-content/uploads/sites/8/2020/08/coronalert_belgium_description_v1_2.pdf. 
  14. "Huawei releases its "Contact Shield" API for COVID-19 contact tracing". 2020-06-08. https://www.xda-developers.com/huawei-hms-core-contact-shield-api-covid-19-contact-tracing/. 
  15. "DP3T-SDK for iOS" (in en). https://github.com/DP-3T/dp3t-sdk-ios#introduction. 
  16. "DP3T-SDK for Android". https://github.com/DP-3T/dp3t-sdk-android#introduction. 
  17. swissinfo.ch, S. W. I.; Corporation, a branch of the Swiss Broadcasting. "Contact tracing app could be launched in Switzerland within weeks" (in en). https://www.swissinfo.ch/eng/sci-tech/digital-solution_contact-tracing-app-could-be-launched-in-switzerland-within-weeks/45706296. 
  18. "Stopp Corona-App: Weiterentwicklung mit Hilfe der Zivilgesellschaft" (in de). https://www.ots.at/presseaussendung/OTS_20200422_OTS0052/stopp-corona-app-weiterentwicklung-mit-hilfe-der-zivilgesellschaft. 
  19. "How do you trace Covid-19 while respecting privacy?" (in en-US). 2020-04-24. https://e-estonia.com/trace-covid-19-while-respecting-privacy/. 
  20. "Vaasa Central Hospital pilots the Ketju application for helping in the identification of coronavirus exposures" (in en-GB). 28 April 2020. https://www.sitra.fi/en/news/vaasan-keskussairaala-pilotoi-koronalle-altistuneiden-tunnistamisessa-auttavaa-ketju-sovellusta/. 
  21. "Corona-Tracking: Helmholtz-Zentrum erwartet Start der Corona-App in den nächsten Wochen" (in de). https://www.handelsblatt.com/technik/forschung-innovation/corona-tracking-helmholtz-zentrum-erwartet-start-der-corona-app-in-den-naechsten-wochen/25788696.html. 
  22. "FAQ - Does Coronalert also work abroad?" (in en-US). https://coronalert.be/en/faq/#faq-17. 
  23. "France's Inria and Germany's Fraunhofer detail their ROBERT contact-tracing protocol" (in en-US). 20 April 2020. https://social.techcrunch.com/2020/04/20/frances-inria-and-germanys-fraunhofer-detail-their-robert-contact-tracing-protocol/. [yes|permanent dead link|dead link}}]
  24. "Protecting Lives & Liberty: How Contact Tracing Can Foil COVID-19 & Big Brother". https://ncase.me/contact-tracing/. 
  25. Liauw, 🇸🇬 Frank (2020-04-09). "TraceTogether: under the hood" (in en). https://medium.com/@frankvolkel/tracetogether-under-the-hood-7d5e509aeb5d. 
  26. "DP-3T/dp3t-sdk-android/dp3t-sdk/sdk/src/main/java/org/dpppt/android/sdk/internal/TracingService.java" (in en). https://github.com/DP-3T/dp3t-sdk-android/blob/develop/dp3t-sdk/sdk/src/main/java/org/dpppt/android/sdk/internal/TracingService.java. 
  27. "What is a client and server in BLE?" (in en). 2 July 2013. https://devzone.nordicsemi.com/f/nordic-q-a/71/what-is-a-client-and-server-in-ble. 
  28. 28.0 28.1 "Analysis of DP3T Between Scylla and Charybdis". https://eprint.iacr.org/eprint-bin/getfile.pl?entry=2020/399&version=20200409:125022&file=399.pdf. 
  29. The DP-3T Project (23 April 2020). "Response to 'Analysis of DP3T: Between Scylla and Charybidis'". https://github.com/DP-3T/documents/blob/master/Security%20analysis/Response%20to%20'Analysis%20of%20DP3T'.pdf. 
  30. 30.0 30.1 30.2 "Centralized or Decentralized? The Contact Tracing Dilemma". https://eprint.iacr.org/eprint-bin/getfile.pl?entry=2020/531&version=20200507:064545&file=531.pdf. 
  31. "ConTra Corona: Contact Tracing against the Coronavirus by Bridging the Centralized Decentralized Divide for Stronger Privacy". http://eprint.iacr.org/2020/505. 
  32. Trieu, Ni; Shehata, Kareem; Saxena, Prateek; Shokri, Reza; Song, Dawn (2020). "Lightweight Contact Tracing with Strong Privacy". arXiv:2004.13293 [cs.CR].
  33. "Towards Defeating Mass Surveillance and SARS-CoV-2: The Pronto-C2 Fully Decentralized Automatic Contact Tracing System". https://eprint.iacr.org/2020/493. 
  34. Tang, Qiang (2020). "Privacy-Preserving Contact Tracing: current solutions and open questions". arXiv:2004.06818 [cs.CR].
  35. "BLE contact tracing sniffer PoC". https://github.com/oseiskar/corona-sniffer. 
  36. "NHS COVID App: Application and system architecture". https://github.com/nhsx/COVID-19-app-Documentation-BETA/blob/master/App%20and%20System%20Architecture.pdf. 
  37. "Privacy and Security Attacks on Digital Proximity Tracing Systems". https://github.com/DP-3T/documents/blob/master/Security%20analysis/Privacy%20and%20Security%20Attacks%20on%20Digital%20Proximity%20Tracing%20Systems.pdf. 

External links