WeChat devs introduced security flaws when they modded TLS, say researchers

WeChat devs introduced security flaws when they modded TLS, say researchers

October 17, 2024 at 04:41AM

Researchers from the University of Toronto’s Citizen Lab found that WeChat’s modified cryptographic protocol, MMTLS, introduces security weaknesses. Key issues include the business-layer encryption not securing metadata and the potential for network-based attacks. The app lacks end-to-end encryption, allowing Tencent to access user messages, raising privacy concerns.

### Meeting Summary Takeaways:

1. **WeChat Security Concerns**: Research from the University of Toronto’s Citizen Lab indicates that WeChat’s modified cryptographic protocol, MMTLS, has introduced several security weaknesses despite being based on TLS 1.3.

2. **MMTLS Protocol Analysis**:
– MMTLS incorporates two layers of encryption: business-layer encryption and MMTLS, with most issues stemming from the former (AES-CBC-based) encryption.
– The business-layer encryption has shortcomings, including failure to encrypt metadata such as user IDs and request URIs, potentially exposing them to eavesdroppers.

3. **Past Vulnerabilities**: The absence of successful attacks in recent analyses is attributed to MMTLS, which wraps the ciphertext. Previous vulnerabilities included padding oracle attacks on the earlier single-layer encryption before MMTLS was implemented.

4. **Implications for User Privacy**: Although researchers believe WeChat messages are safe from eavesdropping due to the MMTLS wrapping, they highlighted that the app does not use end-to-end encryption, allowing the servers to decrypt and access messages.

5. **Data Compliance**: Tencent, WeChat’s parent company, must comply with data requests from the Chinese Communist Party (CCP), posing additional privacy risks for users.

6. **Trends in Chinese App Development**: Custom cryptographic implementations like MMTLS are becoming common among Chinese apps, often yielding weaker security compared to standard protocols like TLS 1.3 or QUIC.

7. **DNS and Network Security Issues**: Developers in China frequently create custom domain lookup systems to counteract ISP issues, including DNS hijacking, which raises further security concerns.

8. **Codebase Concerns**: Much of WeChat’s functionality derives from Tencent Mars, which lacks adequate transport encryption and poses risks due to poor documentation and reliance on community guidance.

9. **Recommendations**: Citizen Lab has advised Tencent to adopt standard TLS or a combination of QUIC and TLS to enhance the security of their applications.

This summary encapsulates the critical points from the meeting notes, emphasizing WeChat’s security vulnerabilities and areas for improvement in encryption practices.

Full Article