Китайская криптография. Анализ проприетарного протокола MMTLS из WeChat

Изображение из документации протокола MMTLS Академическая исследовательская группа Citizen Lab из университета Торонто провела первый публичный анализ протокола шифрования MMTLS на предмет безопасности и конфиденциальности. Это основной протокол приложения WeChat , которым пользуется более 1,2 млрд человек ( 34% мобильного трафика в Китае в 2018 году). Как выяснилось, MMTLS представляет собой модифицированную версию TLS 1.3, причём многие изменения, внесённые разработчиками, привели к появлению слабых мест. Более того, в дополнение к MMTLS используется ешё менее безопасный, тоже проприетарный протокол, содержащий множество уязвимостей, в том числе детерминированные векторы инициализации в AES-GCM и отсутствие прямой секретности. Ниже он упоминается под названием Business-layer encryption.

https://habr.com/ru/companies/globalsign/articles/862300/

#TLS #MMTLS #WeChat #DH #AESGCM #AESCBC #MD5 #HKDF #шифрование #векторы_инициализации

Китайская криптография. Анализ проприетарного протокола MMTLS из WeChat

Изображение из документации протокола MMTLS Академическая исследовательская группа Citizen Lab из университета Торонто провела первый публичный анализ протокола шифрования MMTLS на предмет...

Хабр

I think making the encryption prone to snooping by sophisticated parties was the point

WeChat modified TLS encryption protocol exposes users to security risks | TechSpot
https://www.techspot.com/news/105208-wechat-modified-tls-encryption-protocol-exposes-users-security.html

#encryption #tls #mmtls #wechat #infosec #china #surveillance #cryptography #Privatemessaging

WeChat modified TLS encryption protocol exposes users to security risks

A recent investigation by the University of Toronto's Citizen Lab has uncovered potential security weaknesses in WeChat's custom encryption protocol. These weaknesses arise because the developers of...

TechSpot

Should We Chat, Too? Security Analysis of WeChat’s MMTLS Encryption Protocol - The Citizen Lab

Link📌 Summary: 本報告深入分析了微信使用的主要網絡協議MMTLS的安全性和隱私特性,指出MMTLS對於超過十億用戶的加密標準遠低於TLS 1.3等現行標準,且其架構引入了多種漏洞。此外,報告披露了分析過程、所使用的工具,以及微信的內部加密過程。調查結果顯示,微信在數據傳輸中的加密方式不符合業界最佳做法,可能造成用戶數據的安全風險。

🎯 Key Points:
- MMTLS協儀由微信開發,為TLS 1.3的修改版,采用的不當加密設計增添了漏洞。
- 偵測兩個版本的微信應用(8.0.23和8.0.21),發現內部使用的商業層加密及其驗證方式存在安全缺陷。
- 微信仍依賴不安全的商業層加密,可能導致敏感信息洩露。
- MMTLS及商業層加密的具體運作被詳細描述,展現其潛在的破解機會。
- 提供了文檔和工具以促進未來針對微信的安全研究。

🔖 Keywords: #MMTLS #微信 #安全性 #隱私 #加密

Should We Chat, Too? Security Analysis of WeChat’s MMTLS Encryption Protocol - The Citizen Lab

This report performs the first public analysis of MMTLS, the main network protocol used by WeChat, an app with over one billion users. The report finds that MMTLS is a modified version of TLS, however some of the modifications have introduced cryptographic weaknesses.

The Citizen Lab
Should We Chat, Too? Security Analysis of WeChat’s MMTLS Encryption Protocol - The Citizen Lab

This report performs the first public analysis of MMTLS, the main network protocol used by WeChat, an app with over one billion users. The report finds that MMTLS is a modified version of TLS, however some of the modifications have introduced cryptographic weaknesses.

The Citizen Lab

#CyberSecurity #WeChat #Encryption #MMTLS #Privacy #China: "-We performed the first public analysis of the security and privacy properties of MMTLS, the main network protocol used by WeChat, an app with over one billion monthly active users.

- We found that MMTLS is a modified version of TLS 1.3, with many of the modifications that WeChat developers made to the cryptography introducing weaknesses.

- Further analysis revealed that earlier versions of WeChat used a less secure, custom-designed protocol that contains multiple vulnerabilities, which we describe as “Business-layer encryption”. This layer of encryption is still being used in addition to MMTLS in modern WeChat versions.

- Although we were unable to develop an attack to completely defeat WeChat’s encryption, the implementation is inconsistent with the level of cryptography you would expect in an app used by a billion users, such as its use of deterministic IVs and lack of forward secrecy.

- These findings contribute to a larger body of work that suggests that apps in the Chinese ecosystem fail to adopt cryptographic best practices, opting instead to invent their own, often problematic systems.

- We are releasing technical tools and further documentation of our technical methodologies in an accompanying Github repository. These tools and documents, along with this main report, will assist future researchers to study WeChat’s inner workings."

https://citizenlab.ca/2024/10/should-we-chat-too-security-analysis-of-wechats-mmtls-encryption-protocol/

Should We Chat, Too? Security Analysis of WeChat’s MMTLS Encryption Protocol - The Citizen Lab

This report performs the first public analysis of MMTLS, the main network protocol used by WeChat, an app with over one billion users. The report finds that MMTLS is a modified version of TLS, however some of the modifications have introduced cryptographic weaknesses.

The Citizen Lab