Software:Threema

From HandWiki
Short description: Instant messaging smartphone service
Threema
Developer(s)Threema GmbH
Initial releaseMay 2013; 10 years ago (2013-05)
Operating systemWindows, Linux, [[Software:MacOS|macOS]], Android, iOS, Web
Service nameInstant messaging
Websitethreema.ch

Threema is a paid cross-platform encrypted instant messaging app developed by Threema GmbH in Switzerland and launched in 2012. The service operates on a decentralized architecture and offers end-to-end encryption. Users can make voice and video calls, send photos, files, and voice notes, share locations, and make groups. Unlike many other popular secure messaging apps, Threema does not require phone numbers or email address for registration, only a one-time purchase.

Threema is available on iOS and Android and has clients for Windows, macOS, Linux, and can be accessed via web browser but requires a mobile app to function.[1]

Features

The service claims to be based on the privacy by design principles by not requiring a phone number or other personally identifiable information. This helps anonymize the users to a degree.[2][3][4]

Threema uses a user ID, created after the initial app launch by a random generator, instead of requiring a linked email address or phone number to send messages. It is possible to find other users by phone number or email address if the user allows the app to synchronize their address book.[5] Linking a phone number or email address to a Threema ID is optional. Hence, the service can be used anonymously. Users can verify the identity of their Threema contacts by scanning their QR code when they meet physically. The QR code contains the public key of the user, which is cryptographically tied to the ID and will not change during the lifetime of the identity.[6] Using this strong authentication feature, users can make sure they have the correct public key from their chat partners, which provides additional security against a Man-in-the-middle attack. Threema knows three levels of authentication (trust levels of the contact's identity). The verification level of each contact is displayed in the Threema application as dots next to the corresponding contact.

In addition to text messaging, users can make voice and video calls, send multimedia, locations, voice messages, and files.[7] A web app version, Threema Web, can be used on desktop devices,[8] but only as long as the phone with the Threema installation of the user is online. There is a beta for iOS users, where it is possible to take the phone offline and still use the desktop app.[9]

In addition to one-on-one chats, Threema offers group chats up to 256 people. Users can make voice and video calls, send text and voice messages, multimedia, locations, and files of any type (up to 50 MB per file).[7][10] It is also possible to create polls in personal or group chats.[11]

Software

Threema is developed by the Swiss company Threema GmbH.[12][13] The servers are in Switzerland and the development is based in Pfäffikon SZ. As of May 2021, Threema had 10 million users[14] and the business version, Threema Work, was used by 2 million users across 5,000 companies and organizations.[15]

At the end of July, 2021 Threema introduced the ability for companies to host the messenger on their own server, primarily intended for companies with significantly high privacy concerns.[16]

Clients

Threema (clients)
App icon
App icon
Developer(s)Threema GmbH
Initial releaseDecember 2012 (2012-12)[17]
Written inObjective-C (iOS), Java (Android), C, .NET (Windows Phone)
Operating systemiOS, Android, Windows Phone
Available inEnglish, German, French, Spanish, Italian, Russian, Brazilian Portuguese, Polish, Rumantsch Grischun
TypeEncrypted instant messaging & voice calling
LicenseAndroid client: AGPL-3.0-only
iOS client: AGPL-3.0-only
Web client: AGPL-3.0-or-later[18]
Protocol: MIT[19]
Server: Proprietary
Websitethreema.ch

With Threema Web, a client for web browsers, Threema can be used from other devices like desktop computers, though only as long as the original device is online.

Threema optionally supports Android Wear smartwatch and Android Auto.[20] Threema launched support for end-to-end encrypted video calls on August 10, 2020. The calls are person-to-person with group calls unavailable.[21]

The application does not allow the self-deletion of messages after a period defined by the interlocutors. The application does prevent screenshots in conversations when configured to do so.

Architecture

The entire communication via Threema is end-to-end encrypted. During the initial setup, the application generates a key pair and sends the public key to the server while keeping the private key on the user's device.[22] The application then encrypts all messages and files that are sent to other Threema users with their respective public keys.[23][24] Once a message is delivered successfully, it is immediately deleted from the servers.[25]

The encryption process used by Threema is based on the open-source library NaCl library. Threema uses asymmetric ECC-based encryption, with 256-bit strength. Threema offers a "Validation Logging" feature that makes it possible to confirm that messages are end-to-end encrypted using the NaCl Networking and Cryptography library.[26] In August 2015, Threema was subjected to an external security audit.[27] Researchers from cnlab confirmed that Threema allows secure end-to-end encryption, and claimed that they were unable to identify any weaknesses in the implementation. Cnlab researchers also confirmed that Threema provides anonymity to its users and handles contacts and other user data as advertised.[28][29]

History

Threema was founded in December 2012 by Manuel Kasper.[30] The company was initially called Kasper Systems GmbH.[31] Martin Blatter and Silvan Engeler were later recruited to develop an Android application that was released in early 2013.[32]

In Summer 2013, the Snowden leaks helped create an interest in Threema, boosting the user numbers to the hundreds of thousands.[33] When Facebook took over WhatsApp in February 2014, Threema got 200,000 new users, doubling its userbase in 24 hours.[34] Around 80% percent of those new users came from Germany. By March 2014 Threema had 1.2 million users.[32]

In Spring 2014, operations were transferred to the newly created Threema GmbH.[31][35]

In December 2014, Apple listed Threema as the most-sold app of 2014 at the German App Store.[36]

In 2020, Threema expanded with video calls,[21] plans to open-source its client-side apps and introduce reproducible builds of them,[37] as well as introduce Threema Education, a variation of Threema intended for education institutions.

During the second week of 2021, Threema saw a quadrupling of daily downloads spurred on by controversial privacy changes in the WhatsApp messaging service. A spokesperson for the company also confirmed that Threema had risen to the top of the charts for paid applications in Germany, Switzerland, and Austria.[38] This trend continued into the third week of the year, with the head of Marketing & Sales confirming that downloads had increased to ten times the regular amount, leading to "hundreds of thousands of new users each day".[39]

In October 2022, researchers from ETH Zurich reported multiple vulnerabilities affecting Threema's security against network, server and client-based attacks. A new release fixing these issues was released in November 2022 and the vulnerabilities were announced publicly in January 2023.[40]

Related products

Threema Work: On May 25, 2016, Threema Work, a corporate version of Threema, was released. Threema Work offers extended administration and deployment capabilities.[41] Threema Work is based on a yearly subscription model.[42]

Threema Gateway: On March 20, 2015, Threema released a gateway for companies. Similar to an SMS gateway, businesses can use it to send messages to their users who have Threema installed.[43] The code for the Threema Gateway SDK is open for developers and available on GitHub.[44]

Threema Broadcast: On August 9, 2018, Threema released Threema Broadcast, a tool for top-down communication. Similar to emails in electronic newsletters, Threema messages can be sent to any number of feed subscribers, and the Threema Broadcast allows to create chatbots.[45]

Threema Education: On September 10, 2020, Threema released Threema Education, a version of its messenger designed for education institutions. The app integrates Threema Broadcast and requires a one-time payment for each device used. It's intended for use by teachers, students, and parents.[46]

Threema OnPrem: On July 27, 2021, Threema released Threema OnPrem, a version of the messenger which could be hosted on a company's own servers for maximum security purposes.[47]

Privacy

Since Threema's servers are in Switzerland, they are subject to the Swiss federal law on data protection. The data center is ISO/IEC 27001-certified.[48] Linking a phone number and/or email address to a Threema ID is optional; when doing so, only checksum values (SHA-256 HMAC with a static key) of the email address and/or phone number are sent to the server.[49] Due to the small number of possible digit combinations of a telephone number, the phone number associated with a checksum could be determined by brute force. The transmitted data is TLS-secured. The address book data is kept only in the volatile memory of the server and is deleted immediately after synchronizing contacts.[50] If a user chooses to link a phone number or email address with their Threema ID, they can remove the phone number or email address at any time.[51] Should a user ever lose their device (and their private key), they can revoke their Threema ID if a revocation password for that ID has been set.[52]

Groups are solely managed on users’ devices and group messages are sent to each recipient as an individual message, encrypted with the respective public key. Thus, group compositions are not directly exposed to the server.[53]

Data (including media files) stored on the users’ devices is encrypted with AES 256. On Android, it can be additionally protected by a passphrase.[54]

Since 2016, Threema GmbH publishes a transparency report where public authority inquiries are disclosed.[55]

On March 9, 2017, Threema was listed in the "Register of organizers of information dissemination in the Internet" operated by the Federal Service for Supervision of Communications, Information Technology and Mass Media of the Russian Federation.[56]

In a response, a Threema spokesperson publicly stated: "We operate under Swiss law and are neither allowed nor willing to provide any information about our users to foreign authorities."[57]

On April 29, 2021, Threema won a significant case at the Federal Supreme Court of Switzerland against the Swiss Federal Department of Police and Justice, who wished to classify the company as a telecommunications provider. Had they lost the case, Threema would have had a legal requirement to identify users and send information about their users to law enforcement.[58]

Starting January 2022, Swiss Armed Forces suggested that the troops should use Threema instead of WhatsApp, Telegram and Signal, citing Threema being Swiss-based without servers in the United States and thus not subject to the CLOUD Act, also promising that soldiers would be reimbursed for the cost.[59]

Reception

In February 2014, German consumer organisation Stiftung Warentest evaluated several data-protection aspects of Threema, WhatsApp, Telegram, BlackBerry Messenger and Line. It considered the security of the data transmission between clients, the services' terms of use, the transparency of the service providers, the availability of the source code, and the apps' overall availability. Threema was the only app rated as 'non-critical' (unkritisch) in relation to data and privacy protection, but lost marks due to its closed-source nature, though this has changed for its frontend clients since the end of 2020.[60]

Along with Cryptocat and Surespot, Threema was ranked first in a study evaluating the security and usability of instant messaging encryption software, conducted by the German PSW Group in June 2014.[61]

(As of November 2015), Threema had a score of 6 out of 7 points on the – now withdrawn and outdated – Electronic Frontier Foundation's "Secure Messaging Scorecard". It received points for having communications encrypted in transit, having communications encrypted with keys the provider doesn't have access to (i.e. having end-to-end encryption), making it possible for users to independently verify their correspondent's identities, having past communications secure if the keys are stolen (i.e. implementing forward secrecy), having its security design well-documented and having completed an independent security audit. It lost a point because its source code was not open to independent review (i.e. it was not open-source, though in late 2020 its frontend apps were open-sourced, leaving only its server component proprietary).[62]

See also

References

  1. Happich, Julien (September 23, 2014). "Privacy gains traction with secure messaging apps". http://www.electronics-eetimes.com/en/privacy-gains-traction-with-secure-messaging-apps.html?cmp_id=7&news_id=222922448&vID=13&page=1. 
  2. "Cryptography Whitepaper". https://threema.ch/press-files/cryptography_whitepaper.pdf. 
  3. "FAQ – Privacy Protection". https://threema.ch/en/faq/privacy_protection. 
  4. "What is a Threema ID?". https://threema.ch/en/faq/threema_id. 
  5. "Will my address book data be sent to your servers?". https://threema.ch/en/faq/addressbook_data. [third-party source needed]
  6. "What is a Threema ID? – Threema". https://threema.ch/en/faq/threema_id. 
  7. 7.0 7.1 "What features does Threema offer?". https://threema.ch/en/faq/features. 
  8. "Threema Web". https://threema.ch/en/threema-web. 
  9. "Threema FAQ". https://threema.ch/de/faq/md_overview. 
  10. "How can I send a file?". https://threema.ch/en/faq/file_message. 
  11. Bordel, Stefan (January 12, 2015). "Threema integriert Umfrage-Funktion" (in de). http://www.com-magazin.de/news/smartphone/threema-integriert-umfrage-funktion-871882.html. 
  12. "Threema". https://play.google.com/store/apps/details?id=ch.threema.app. 
  13. Swiss Confederation. "Swiss company registry entry for Threema GmbH". http://sz.powernet.ch/webservices/inet/HRG/HRG.asmx/getHRGHTML?chnr=1304020462&amt=130&toBeModified=0&validOnly=0&lang=4&sort=0. 
  14. Jungfer, Martin (28 May 2021). "Number of Threema users climbed to over 10 million". https://www.digitec.ch/en/page/number-of-threema-users-climbed-to-over-10-million-20061. 
  15. "Threema's Success Story: From the Company's Founding to Today". https://threema.ch/press-files/1_press_info/press_threema_story_en.pdf. 
  16. "Messenger for companies and authorities: Threema offers an on-premise version". 27 Jul 2021. https://marketresearchtelecast.com/messenger-for-companies-and-authorities-threema-offers-an-on-premise-version-2/113628/. 
  17. Schurter, Daniel (December 13, 2012). "Die Schweizer Antwort auf WhatsApp" (in de). http://www.20min.ch/digital/news/story/15907974. 
  18. "Threema Source Code on GitHub". https://github.com/threema-ch. 
  19. "App Remote Protocol on GitHub". May 8, 2021. https://github.com/threema-ch/app-remote-protocol. 
  20. "Big Update for Android". https://threema.ch/en/blog/posts/big-update-for-android-and-ios-20. 
  21. 21.0 21.1 Cimpanu, Catalin (August 11, 2020). "Threema joins the ranks of E2EE chat apps that support encrypted video calls" (in en). https://www.zdnet.com/article/threema-joins-the-ranks-of-e2ee-chat-apps-that-support-encrypted-video-calls/. 
  22. "Could you decrypt my messages?". https://threema.ch/en/faq.html#crypto_authorities. [third-party source needed]
  23. "Threema Cryptography Whitepaper". September 14, 2017. https://threema.ch/press-files/cryptography_whitepaper.pdf. 
  24. Zorz, Mirko (September 17, 2014). "Secure mobile messaging with Threema". http://www.net-security.org/review.php?id=333. 
  25. "How long do messages stay in queue for delivery?". https://threema.ch/en/faq/message_storage. 
  26. "Threema Validation". https://threema.ch/validation/. 
  27. "External Audit". https://threema.ch/en/faq/code_audit/. 
  28. "Security Review Threema: Security Statement". November 2, 2015. https://threema.ch/press-files/2_documentation/external_audit_security_statement.pdf. 
  29. Schirrmacher, Dennis (November 3, 2015). "Threema-Audit abgeschlossen: "Ende-zu-Ende-Verschlüsselung ohne Schwächen"" (in de). http://www.heise.de/security/meldung/Threema-Audit-abgeschlossen-Ende-zu-Ende-Verschluesselung-ohne-Schwaechen-2868866.html. 
  30. Metzler, Marco (June 28, 2015). "Kryptografie-App Threema: Schweizer sorgen für Privatsphäre" (in de). Neue Zürcher Zeitung. http://www.nzz.ch/nzzas/nzz-am-sonntag/threema-schweizer-startup-privatshaere-kryptografie-ld.815. 
  31. 31.0 31.1 "Im Interview: Threema" (in de). July 23, 2014. http://www.mailify.de/2014/07/im-interview-threema/. 
  32. 32.0 32.1 Tanriverdi, Hakan. "Der Schlossherr" (in de). Der Freitag. ISSN 0945-2095. https://www.freitag.de/autoren/der-freitag/der-schlossherr. 
  33. Price, Rob (June 18, 2015). "Germany's most popular paid app is a secure messenger loved by millions — now it's taking on the US". http://uk.businessinsider.com/threema-encryption-messaging-app-america-launch-isis-2015-6. 
  34. Dillet, Romain (February 21, 2014). "Bye Bye, WhatsApp: Germans Switch To Threema For Privacy Reasons". https://techcrunch.com/2014/02/21/bye-bye-whatsapp-germans-switch-to-threema-for-privacy-reasons/. 
  35. "Threema GmbH, Pfäffikon SZ". https://www.shabex.ch/co/threema_gmbh_CH-130.4.020.462-0.htm. 
  36. "iOS-Highlights: Die besten Apps des Jahres" (in de). December 9, 2014. http://www.focus.de/digital/handy/iphone/telekommunikation-ios-highlights-die-besten-apps-des-jahres_id_4330110.html. 
  37. Cimpanu, Catalin (September 4, 2020). "Threema E2EE chat app to go 'fully open source' within months" (in en). https://www.zdnet.com/article/threema-e2ee-chat-app-to-go-fully-open-source-within-months/. 
  38. "WhatsApp-Konkurrenten verzeichnen starken Nutzeranstieg" (in German). Die Zeit. January 13, 2021. https://www.zeit.de/digital/datenschutz/2021-01/messengerdienste-whatsapp-konkurrenz-starker-nutzeranstieg-threema-telegram-signal-datenschutz. 
  39. Pladson, Kristie (January 18, 2021). "WhatsApp controversy highlights growing fears about data privacy". DW. https://www.dw.com/en/whatsapp-controversy-highlights-growing-fears-about-data-privacy/a-56266093. 
  40. "Three Lessons from Threema: Analysis of a Secure Messenger". https://breakingthe3ma.app/. 
  41. "The messenger for organizations". https://work.threema.ch/en. 
  42. "Pricing Threema Work". https://work.threema.ch/en/offer. 
  43. Iseli, Marc (September 28, 2015). "US-Feldzug von Threema gerät ins Stocken" (in de). Handelszeitung. ISSN 1422-8971. http://www.handelszeitung.ch/unternehmen/us-feldzug-von-threema-geraet-ins-stocken-869170. 
  44. "Threema GmbH". https://github.com/threema-ch. 
  45. "Broadcast Blog-Post". https://threema.ch/en/blog/posts/threema-broadcast-en. 
  46. "Threema Education: Framework Contract with educa.ch". September 10, 2020. https://threema.ch/en/blog/posts/educach-en. 
  47. "Threema OnPrem". https://threema.ch/en/onprem. 
  48. "Reference Sheet Privacy and Security". p. 2. https://work.threema.ch/docs/threema_privacy-security_en.pdf. 
  49. "Threema Cryptography Whitepaper". p. 11. https://threema.ch/press-files/cryptography_whitepaper.pdf. 
  50. "Will my address book data be sent to your servers?". https://threema.ch/en/faq/addressbook_data. 
  51. "How can I unlink my Threema ID from an email address or phone number?". https://threema.ch/en/faq/unlink. 
  52. "Revoke your ID". https://myid.threema.ch/revoke. 
  53. "Threema Cryptography Whitepaper". p. 5. https://threema.ch/press-files/cryptography_whitepaper.pdf. 
  54. "Are messages encrypted when they are stored on my device?". https://threema.ch/en/faq/crypto_local. 
  55. "Transparency Report". https://threema.ch/en/transparencyreport. 
  56. "Threema GmbH" (in ru). rublacklist.net (ru). https://reestr.rublacklist.net/distributor/108945. 
  57. "Russia adds international messenger Threema to official registry". March 16, 2017. http://www.ewdn.com/2017/03/16/russia-adds-intrernational-messenger-threema-to-official-registry-with-a-view-to-control-users-communications/. 
  58. Bannister, Adam (28 May 2021). "Threema, the European rival to Signal, wins pivotal privacy battle in Swiss Court". The Daily Swig. https://portswigger.net/daily-swig/threema-the-european-rival-to-signal-wins-pivotal-privacy-battle-in-swiss-court. 
  59. "Swiss army backs home-grown IM service amid privacy concerns" (in en). 2022-01-05. https://apnews.com/article/technology-business-europe-army-instant-messaging-d3c7c8fd54a78e8cc17fe930014d92d2. 
  60. "WhatsApp und Alternativen: Datenschutz im Test" (in de). February 26, 2014. https://www.test.de/WhatsApp-und-Alternativen-Datenschutz-im-Test-4675013-0/. 
  61. Heutger, Christian (June 13, 2014). "Die Ergebnisse unseres großen Messenger-Tests" (in de). http://www.psw-group.de/blog/die-ergebnisse-unseres-grossen-messenger-tests/1297#more-1297. 
  62. "Secure Messaging Scorecard. Which apps and tools actually keep your messages safe?". November 3, 2015. https://www.eff.org/secure-messaging-scorecard. 

External links